Date: Fri, 21 Aug 2009 20:38:06 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net> To: Vladimir Botka <vbotka@gmail.com> Cc: sam@freebsd.org, current@freebsd.org Subject: Re: [regression] iwi0 with WPA on 8.0 - FIXED, pilot error Message-ID: <20090821183806.GG91417@acme.spoerlein.net> In-Reply-To: <20090821103139.66925eb3@vlado.suse.cz> References: <20090821074506.GT70474@acme.spoerlein.net> <20090821103139.66925eb3@vlado.suse.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21.08.2009 at 10:31:39 +0200, Vladimir Botka wrote: > It seems that there is no problem with WPA. The wpa_supplicant > associates. You can see the message. > > wpa_supplicant[481]: Associated with 00:21:27:f3:37:37 > > Run the wpa_supplicant with more debug info to get more information why > the wpa_supplicant disconnects later. > > wpa_supplicant[481]: CTRL-EVENT-DISCONNECTED - Disconnect It is a combination of setting the MAC address that makes wpa_supplicant barf. These settings in rc.conf result in broken wpa_supplicant during boot: ifconfig_bfe0="up" ifconfig_iwi0="up" wlans_iwi0="wlan0" ifconfig_wlan0="WPA ether 00:0f:1f:1d:a3:76 ssid COYOTE" cloned_interfaces="lagg0" ifconfig_lagg0="DHCP up laggproto failover laggport bfe0 laggport wlan0" Result iwi0: timeout waiting for (null) firmware initialization to complete iwi0: could not load boot firmware (null) iwi0: timeout waiting for (null) firmware initialization to complete iwi0: could not load boot firmware (null) wlan0: Ethernet address: 00:15:00:22:26:61 iwi0: need multicast update callback iwi0: need multicast update callback iwi0: need multicast update callback wlan0: link state changed to DOWN wlan0: link state changed to UP wlan0: link state changed to DOWN wlan0: link state changed to UP wlan0: link state changed to DOWN wlan0: link state changed to UP wlan0: link state changed to DOWN As you can see, wlan0 is created with the wrong MAC address and wpa_supplicant does not like different MACs on the wlanX dev and the real hardware. These settings now work. Everything is well ifconfig_bfe0="up" ifconfig_iwi0="ether 00:0f:1f:1d:a3:76 up" wlans_iwi0="wlan0" ifconfig_wlan0="WPA ssid COYOTE" cloned_interfaces="lagg0" ifconfig_lagg0="DHCP up laggproto failover laggport bfe0 laggport wlan0" Regards, Uli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090821183806.GG91417>