--On Monday, August 04, 2003 10:09:34 -0500 Larry Rosenman <[EMAIL PROTECTED]> wrote:
re-sent with file inline, since freebsd.org has gotten so anal about attachments:
--On Monday, August 04, 2003 16:42:08 +0200 Martin Blapp <[EMAIL PROTECTED]> wrote:
Hi,
I have the following dhclient.conf file that USED TO WORK to find the right SSID depending on where I am. It now doesn't.
Yes, there have been some changes. The most important was the interface polling addition, but that should not make any difference here.
Can you start dhclient with -d -v and see what it's doing ? And can you try the same with a old dhclient and see if the behaviour is different ? It could also help to compile dhclient with -DDEBUG and see if you get more information.I'll have to get more information. I stopped/restarted dhclient with the -d -v, and it didn't echo the medium lines on the reinsert/restart.
It did echo the right medium line on the plain restart. script attached.
I'll have to check it when I switch locations tonite.
What else can I get meantime?
Script started on Mon Aug 4 10:04:35 2003 lerlaptop-red# dhclient
?[Klerlaptop-red# ps ax|grep dhc
716 ?? Ss 0:00.19 dhclient wi0 1374 v0 S+ 0:00.01 script dhclient.script lerlaptop-red# kill 716
lerlaptop-red# dhclient -d -v wi0
Internet Software Consortium DHCP Client V3.0.1rc11 Copyright 1995-2002 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP
Listening on BPF/wi0/00:06:25:18:1a:37
Sending on BPF/wi0/00:06:25:18:1a:37
Sending on Socket/fallback
Trying medium "wepmode off ssid 'rednet' wepkey 1:- wepkey 2:- wepkey 3:- wepkey 4:- " 1
DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 207.136.3.254
DHCPREQUEST on wi0 to 255.255.255.255 port 67
DHCPACK from 207.136.3.254
bound to 207.136.3.72 -- renewal in 7726 seconds.
^C
lerlaptop-red# ifconfig
rl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:e0:00:7e:d0:45 media: Ethernet autoselect (10baseT/UTP) status: no carrier fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 02:00:0e:70:a8:72 ch 1 dma -1 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::206:25ff:fe18:1a37%wi0 prefixlen 64 scopeid 0x4 inet 207.136.3.72 netmask 0xffffff00 broadcast 207.136.3.255 ether 00:06:25:18:1a:37 media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) status: associated ssid rednet 1:rednet stationname "FreeBSD WaveLAN/IEEE node" channel 9 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 lerlaptop-red# if]]??[K??[K??[K??[Kkillall dhclient
No matching processes were found lerlaptop-red# if
if: Too few arguments. lerlaptop-red# ifcofig??[K??[K??[Kni??[Kfig
rl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:e0:00:7e:d0:45 media: Ethernet autoselect (10baseT/UTP) status: no carrier fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 02:00:0e:70:a8:72 ch 1 dma -1 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 lerlaptop-red# ifconfig
rl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:e0:00:7e:d0:45 media: Ethernet autoselect (10baseT/UTP) status: no carrier fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 02:00:0e:70:a8:72 ch 1 dma -1 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 wi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:06:25:18:1a:37 media: IEEE 802.11 Wireless Ethernet autoselect (none) ssid "" stationname "FreeBSD WaveLAN/IEEE node" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 lerlaptop-red# dhclient -d -v wi0
Internet Software Consortium DHCP Client V3.0.1rc11 Copyright 1995-2002 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP
Listening on BPF/wi0/00:06:25:18:1a:37 Sending on BPF/wi0/00:06:25:18:1a:37 Sending on Socket/fallback DHCPREQUEST on wi0 to 255.255.255.255 port 67 DHCPACK from 207.136.3.254 bound to 207.136.3.72 -- renewal in 7348 seconds. ^Z Suspended lerlaptop-red# bg
[1] dhclient -d -v wi0 & lerlaptop-red# ^D??exit
Script done on Mon Aug 4 10:06:26 2003
Martin
Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: <finger -l [EMAIL PROTECTED]> PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"