From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 16 04:17:20 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E2ED16A400 for ; Mon, 16 Jul 2007 04:17:20 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.freebsd.org (Postfix) with ESMTP id 25B4B13C4A6 for ; Mon, 16 Jul 2007 04:17:20 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from phantom.kitchenlab.org (phantom.kitchenlab.org [64.142.31.109]) (authenticated bits=0) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l6G4FwHl019735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Jul 2007 21:15:59 -0700 Message-ID: <469AF0FE.1060400@freebsd.org> Date: Sun, 15 Jul 2007 21:15:58 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Sam Leffler References: <20070713202015.GA1718@phantom.kitchenlab.org> <46994990.1070505@errno.com> In-Reply-To: <46994990.1070505@errno.com> X-Enigmail-Version: 0.95.2 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig80B090C1F371C7ADC001DF4D" Cc: freebsd-mobile@freebsd.org Subject: Re: ath(4), wpa_supplicant, WPA2, Netgear WG302 problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 04:17:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig80B090C1F371C7ADC001DF4D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, Sam Leffler wrote: > Bruce A. Mah wrote: >> The OS is FreeBSD HEAD as of yesterday, GENERIC kernel. Note that >> this has the recent HAL import, as well as wpa_supplicant v0.5.8: >> >> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5= 413) >=20 > not sure what "the recent hal import" is My bad. I somehow thought there was a HAL import associated with the background scanning update you did recently. [snip] > It appears wpa_supplicant is timing out waiting for an initial EAPOL > frame from the ap. I'd verify traffic is getting through; possibly wit= h > tcpdump. This means I should be running tcpdump on a different machine with a wireless interface in monitor mode, right? The AP's log file shows that the card is authenticating and deauthenticating immediately (so the AP at least knows of the card's existence). I haven't compared this with the logs of a successful assocation yet. Also I tried this experiment with a WG511T from my wife's laptop and got the same results. > BTW I'd expect more verbose debug output from wpa_supplicant > with -dd. That was just the first iteration of attempting to associate, but subsequent iterations (except for finding different APs in the AP scan) looked identical to me. I've gotten the card to associate a few times, but generally after many tens of minutes. Once I get an association, the card can pass traffic without any particular problem. (And I did get a *lot* more verbose output from wpa_supplicant the one time that I had invoked it manually with -dd, unfortunately I wasn't saving this at the time.) I've also noticed occasional "interrupt storm" messages for the irq where the cardbus bridge is. I tried upping the limit from 1000 to 5000, but this didn't always get rid of the errors. I'm not sure if this is significant or not. This irq was shared with the firewire controller on a GENERIC kernel; I removed the firewire driver from the kernel hoping this would help and ended up with fxp0 sharing the irq. Not sure if this is a productive line of investigation. I'll continue to play with this in my Copious Spare Time (TM)... Thanks for your advice! Bruce. --------------enig80B090C1F371C7ADC001DF4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGmvD+2MoxcVugUsMRAgABAKCCQeKDvWTpFgH07W3gV8DKiMG4iQCeM9vj pB1hIZd7vClK3OsnUp8CCKg= =LIb8 -----END PGP SIGNATURE----- --------------enig80B090C1F371C7ADC001DF4D--