From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 08:12:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5909F37B404 for ; Mon, 4 Aug 2003 08:12:55 -0700 (PDT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF1A43FAF for ; Mon, 4 Aug 2003 08:12:53 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from lerlaptop-red.iadfw.net (lerlaptop-red.iadfw.net [207.136.3.72]) (authenticated bits=0)h74FCnGB026649; Mon, 4 Aug 2003 10:12:50 -0500 (CDT) Date: Mon, 04 Aug 2003 10:12:49 -0500 From: Larry Rosenman To: Martin Blapp , freebsd-current@freebsd.org Message-ID: <8090000.1060009969@lerlaptop-red.iadfw.net> In-Reply-To: <4000000.1060009773@lerlaptop-red.iadfw.net> References: <20030804163850.B31668@cvs.imp.ch> <4000000.1060009773@lerlaptop-red.iadfw.net> X-Mailer: Mulberry/3.1.0b5 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: Re: dhclient/dhclient.conf change in -CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 15:12:55 -0000 --On Monday, August 04, 2003 10:09:34 -0500 Larry Rosenman wrote: > > > --On Monday, August 04, 2003 16:42:08 +0200 Martin Blapp > 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? re-sent with file inline, since freebsd.org has gotten so anal about attachments: 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 mtu 1500 options=8 ether 00:e0:00:7e:d0:45 media: Ethernet autoselect (10baseT/UTP) status: no carrier fwe0: flags=8802 mtu 1500 ether 02:00:0e:70:a8:72 ch 1 dma -1 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 wi0: flags=8843 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 mtu 1500 options=8 ether 00:e0:00:7e:d0:45 media: Ethernet autoselect (10baseT/UTP) status: no carrier fwe0: flags=8802 mtu 1500 ether 02:00:0e:70:a8:72 ch 1 dma -1 lo0: flags=8049 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 mtu 1500 options=8 ether 00:e0:00:7e:d0:45 media: Ethernet autoselect (10baseT/UTP) status: no carrier fwe0: flags=8802 mtu 1500 ether 02:00:0e:70:a8:72 ch 1 dma -1 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 wi0: flags=8802 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, >> ------------------------------------------------------------------ >> ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH >> Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 >> PGP: >> 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: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749