From owner-freebsd-current@FreeBSD.ORG Fri Jun 24 04:10:53 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 9143116A41C for ; Fri, 24 Jun 2005 04:10:53 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 514C143D55 for ; Fri, 24 Jun 2005 04:10:53 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 6BA4C507892; Fri, 24 Jun 2005 12:10:51 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 69E35507692; Fri, 24 Jun 2005 12:10:51 +0800 (CST) Date: Fri, 24 Jun 2005 12:10:51 +0800 (CST) From: Tai-hwa Liang To: Wilko Bulte In-Reply-To: <20050623214717.GA65438@freebie.xs4all.nl> Message-ID: <0506241058502.41439@www.mmlab.cse.yzu.edu.tw> References: <20050621205048.GA61951@freebie.xs4all.nl> <050622074135F.25017@www.mmlab.cse.yzu.edu.tw> <20050623202416.GA64730@freebie.xs4all.nl> <20050623204325.GA72574@teardrop.org> <20050623211620.GA65274@freebie.xs4all.nl> <20050623213139.GA73882@teardrop.org> <20050623214717.GA65438@freebie.xs4all.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, James Snow Subject: Re: Getting WPA to work on ath(4) 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, 24 Jun 2005 04:10:53 -0000 On Thu, 23 Jun 2005, Wilko Bulte wrote: > On Thu, Jun 23, 2005 at 05:31:39PM -0400, James Snow wrote.. >> On Thu, Jun 23, 2005 at 11:16:20PM +0200, Wilko Bulte wrote: >>> >>> How do you disable WME? [ I feel stranded in a maze of acronyms, all >>> different :-) ] >> >> ifconfig -wme >> >> I think it's in the ifconfig man page, but I reserve the right to be >> wrong. If it's not, it clearly should be. > > It is indeed in the ifconfig man page. > >> My understanding is that we do something wrong with WME right now, and >> this in turn makes APs unhappy with us. > > Smells like WME should default to 'off'? It is. See src/sys/net80211/ieee80211.c:1.16. AFAIK, the problem is that there are some interoperability problems when you have both WME + WPA enabled. Disable one of them should be a possible workaround. I believe that Sam has some fixes in his queue; however, those fixes were not yet ready for the forthcoming 6-RELEASE. >>> I noticed today that wpa_supplicant renegotiated multiple times even with >>> SSID broadcasting enabled. So it was most definitely not the full >>> fix to enable broadcasting. That's what I observed around here: sometimes it takes wpa_supplicant looping multiple times before negotiated to the AP(w/ or w/o hidden SSID). >> Well, we also shouldn't have to enable broadcasting to get >> wpa_supplicant to work. I exchanging emails with Sam Leffler about this, >> but he's on vacation this week. > > OK Apart from multiple regotiation sometimes, scan_ssid=1 works for me. Have you tried to set the IP manually(no dhclient) after ath0 was associated with the AP? -- Cheers, Tai-hwa Liang