From owner-freebsd-current@FreeBSD.ORG Fri Aug 21 18:38:08 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 656071065690; Fri, 21 Aug 2009 18:38:08 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id D13A78FC18; Fri, 21 Aug 2009 18:38:07 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [127.0.0.1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id n7LIc61O015720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 20:38:06 +0200 (CEST) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1250879886; bh=nU+8HegUWpoz5tQGsDR124y9aozONNtFVoS/suyM6wE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=DmrOA9CmK4NciXRGzSMnJuIWY7daHv02xW7KUqiXsVODHtAQYlUDsTB1v8hcyXb42 jMLb98qRJI/ydcgvmNyLMs0TNQPEFKAG9LGdq6v1LuXFllXQlKDPJWlqHedvibC6rN 7c9rDvtkvBqXz8eX1cFpkWcYAWswWDQyXpmNIu0Q= Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id n7LIc6uO015719; Fri, 21 Aug 2009 20:38:06 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Fri, 21 Aug 2009 20:38:06 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Vladimir Botka Message-ID: <20090821183806.GG91417@acme.spoerlein.net> Mail-Followup-To: Vladimir Botka , current@freebsd.org, sam@freebsd.org References: <20090821074506.GT70474@acme.spoerlein.net> <20090821103139.66925eb3@vlado.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090821103139.66925eb3@vlado.suse.cz> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: sam@freebsd.org, current@freebsd.org Subject: Re: [regression] iwi0 with WPA on 8.0 - FIXED, pilot error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 21 Aug 2009 18:38:08 -0000 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