From owner-freebsd-current@FreeBSD.ORG Fri Jun 24 18:59:35 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 2DD1216A41C for ; Fri, 24 Jun 2005 18:59:35 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1A6D43D48 for ; Fri, 24 Jun 2005 18:59:34 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr14.xs4all.nl (8.13.3/8.13.3) with ESMTP id j5OIxXtG032613; Fri, 24 Jun 2005 20:59:33 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.3/8.13.3) with ESMTP id j5OIxW1W071071; Fri, 24 Jun 2005 20:59:32 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.3/8.13.1/Submit) id j5OIxWMw071070; Fri, 24 Jun 2005 20:59:32 +0200 (CEST) (envelope-from wb) Date: Fri, 24 Jun 2005 20:59:32 +0200 From: Wilko Bulte To: Tai-hwa Liang Message-ID: <20050624185932.GB70929@freebie.xs4all.nl> 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> <0506241058502.41439@www.mmlab.cse.yzu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0506241058502.41439@www.mmlab.cse.yzu.edu.tw> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i X-Virus-Scanned: by XS4ALL Virus Scanner 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 18:59:35 -0000 On Fri, Jun 24, 2005 at 12:10:51PM +0800, Tai-hwa Liang wrote.. > 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. Hm, that would make James' suggestion to ifconfig -wme a no-op. > 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. OK. > >>>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). And sometimes it appears not to get things sorted at all (at least not before I get impatient ;), kill wpa_supplicant and remove/re-insert my ath(4) card. > 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? Yes, I tried a couple of times. It did not make a whole lot of difference, in the sense I did not think it worked better with a manual set IP address. Interesting exercise, this :) -- Wilko Bulte wilko@FreeBSD.org