From owner-freebsd-current@FreeBSD.ORG Tue Jul 24 02:49:02 2007 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 40DBC16A417 for ; Tue, 24 Jul 2007 02:49:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id C336613C45B for ; Tue, 24 Jul 2007 02:49:01 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 5065D1CC58; Tue, 24 Jul 2007 14:49:00 +1200 (NZST) Date: Tue, 24 Jul 2007 14:49:00 +1200 From: Andrew Thompson To: Craig Boston Message-ID: <20070724024900.GB12291@heff.fud.org.nz> References: <20070619011908.GA53748@heff.fud.org.nz> <20070620042023.GA17424@nowhere> <4678B1E4.7080909@errno.com> <467ED084.4000002@petri.cc> <46A484CA.8030805@petri.cc> <20070723114821.GA6575@heff.fud.org.nz> <20070724024242.GA69061@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070724024242.GA69061@nowhere> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: FreeBSD Current Subject: Re: wireless 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: Tue, 24 Jul 2007 02:49:02 -0000 On Mon, Jul 23, 2007 at 09:42:43PM -0500, Craig Boston wrote: > On Mon, Jul 23, 2007 at 11:48:21PM +1200, Andrew Thompson wrote: > > You can test this WIP. > > Hi, > > This patch definitely is a big step in the right direction. > > The first time I booted with the patch, there were so many debug > messages spamming the console it made the machine completely unusable > (VESA raster console couldn't keep up, heh). > > After setting debug.ipw=0 things seem to be working much better. I can > manually associate with an open AP just fine. Don't have any in range > with WEP to try at the moment. I diffed it straight from my dev box and forgot that I had bumped up the debugging quite high. You can change ipw_debug near the top of the file back to zero. > The big news however, which I've been holding my breath about since > skimming the patch this morning but didn't want to be too hopeful until > I actually tried it, is WPA (TKIP) works! That's something that ipw > hasn't supported at all until now, so I'm quite excited about it. > > The first time when I ran wpa_supplicant by hand it seemed to work for a > minute, but lost connectivity while dhclient was requesting a lease. It > worked long enough to get a NAK response for an old address, but never > saw any response to discover requests after that. Manually setting an > address didn't help either. ifconfig still showed Associated but no > packets were being received. There was an "ipw0: scan suck" message on > the console right about this time but nothing else to indicate a > problem. > > After rebooting and letting it happen automatically with the rc scripts > it seems to be stable now. I'm not 100% sure how often TKIP changes the > key, but I'm certain this has been up and running long enough for it to > have rotate a few times at least. > > Will have to do some more testing to see if the stuck scan was a fluke > or if I can reproduce it. Thanks for the report. The reason I hadnt sent it out until now was that I am also bumping into these problems on my test system. I have been sorting out some ndis issues lately but will get back to testing ipw this week. cheers, Andrew