From owner-freebsd-questions@FreeBSD.ORG Sat Jul 30 18:17:04 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6957E16A41F for ; Sat, 30 Jul 2005 18:17:04 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from rwcrmhc12.comcast.net (rwcrmhc14.comcast.net [216.148.227.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E8FD43D45 for ; Sat, 30 Jul 2005 18:17:03 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.218] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (rwcrmhc14) with ESMTP id <2005073018170201400h1lose>; Sat, 30 Jul 2005 18:17:03 +0000 Message-ID: <42EBC41E.4070102@computer.org> Date: Sat, 30 Jul 2005 13:17:02 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050721) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Leffler , FreeBSD Questions References: <42EAD325.60707@errno.com> <42EAD80C.9060707@errno.com> In-Reply-To: <42EAD80C.9060707@errno.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: dhclient and wpa_supplicant X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 18:17:04 -0000 Sam Leffler wrote: > Sam Leffler wrote: > >> Brooks fixed a bunch of bugs in dhclient and I just committed an >> important fix to wpa_supplicant to work right when wireless cards are >> ejected (previously it would loop). >> >> I also tested that dhclient does the right thing for roaming between >> ap's--switching causes dhclient to immediately collect a new lease. >> >> I just ran tests with wpa_supplicant and found that it does appear to >> handle open ap's properly. >> >> Everything except the wpa_supplicant changes have been MFC'd to >> RELENG_6 for the 6.0RC2 build that's going to happen soon (I'm hoping >> to get re to approve the wpa_supplicant changes). > > > FWIW I just MFC'd the wpa_supplicant fix. > >> >> So the question is what are the outstanding issues with dhclient and >> wpa_supplicant? I'm mostly concerned with wireless devices but feel >> free to talk about wired interfaces too. If something doesn't work >> right please try to give steps to reproduce the problem. Otherwise >> please provide detailed info include ifconfig output. Remember that >> dhclient logs info to /var/log/messages and you should also see link >> state change msgs there too. > > > s/6.0RC2/6.0BETA2/. > > Sam > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > Hello, I am very interested in getting wpa_supplicant & dhclient to work. Presently it does not work for me the way I would hope it would. I would think that if it were setup properly on my machine I could turn the machine on at home, and have it associate with my AP and then acquire a lease. Then I could shut it down... go to the office... turn it on and then have it associate with the AP there and acquire a lease. However it does not seem to do this. It seems to only want to associate with the last AP it ever associated with. I then have to down the interface and manually ifconfig it. I am fairly sure I do not have things setup properly, since others have had much better results. Can you please point me to the most current docs or a "How To" to push me in the right direction. I have RELENG_6 as of last night. I have appended some conf files to the bottom for your review. Thanks, rc.conf contains =========================== network_interfaces="lo0 bfe0 ath0" ifconfig_ath0="WPA DHCP" ifconfig_bfe0="DHCP" dhclient.conf contains =========================== interface "ath0" { #send option host-name "myhost"; #send option domain-name "nxdomain.org"; send dhcp-client-identifier "myhost"; media ### Home "ssid mode 11b channel 11 wepmode on weptxkey 1 wepkey 0x", ### Office "ssid "; request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name; } wpa_supplicant.conf ============================= ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel # Home Network network={ ssid="" scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0="" } # Office Network network={ ssid="" scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0="" } -- Regards, Eric