From owner-freebsd-current@FreeBSD.ORG Fri Oct 29 08:03:31 2010 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 6DDE5106566C for ; Fri, 29 Oct 2010 08:03:31 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id EF4E38FC14 for ; Fri, 29 Oct 2010 08:03:30 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PBjvs-0004gP-Ds; Fri, 29 Oct 2010 10:03:28 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o9T83Uun002432; Fri, 29 Oct 2010 10:03:30 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o9T83UrA002431; Fri, 29 Oct 2010 10:03:30 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 29 Oct 2010 10:03:30 +0200 From: Matthias Apitz To: Paul B Mahol Message-ID: <20101029080330.GA2384@current.Sisis.de> References: <20101028063255.GA17624@current.Sisis.de> <20101029055958.GA2513@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: Scot Hetzel , current@freebsd.org Subject: Re: Broadcom BCM4310 USB Controller (Wifi) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 08:03:31 -0000 El día Friday, October 29, 2010 a las 07:07:18AM +0000, Paul B Mahol escribió: > On Fri, Oct 29, 2010 at 6:34 AM, Scot Hetzel wrote: > > On Fri, Oct 29, 2010 at 12:59 AM, Matthias Apitz wrote: > >> I booted the 8-CURRENT this morning, loaded the module with kldload(8) and > >> wlan0 came up by its own (I did not realized this yesterday). I have in > >> rc.conf: > >> > >> wlans_ndis0="wlan0" > >> ifconfig_wlan0="WPA DHCP" > >> > >> wpa_supplicant(8) started after kldload, and associated the > >> interface with my AP; had to do the DHCP by hand, don't know why? > >> > > The problem is that the Broadcom NDIS driver is generating connection > > events, but nothing is relaying that information to the wpa_supplicant > > daemon.  Since the wpa_supplicant daemon doesn't see a connection > > event, it retries connecting > > > > I had created a patch in PR 113915 which solves this problem: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=113915 > > > > Give it a try, if it solves your problem submit a followup to the PR. > > Hmm, ndis_events are required if you use -Dndis and wpa/rsn and need > to get event of PMKIDs. > For other uses it is of no use. The wpa_supplicant(8) which comes up after loading the NDIS kmod with kldload(8) is launched with -Dndis; I checked this this morning; will try the patch proposed by Scott; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/