From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 18:56:26 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 854D11065670 for ; Tue, 17 Mar 2009 18:56:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 36CBE8FC23 for ; Tue, 17 Mar 2009 18:56:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2HIuOYw081173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Mar 2009 11:56:25 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49BFF258.4020207@freebsd.org> Date: Tue, 17 Mar 2009 11:56:24 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: "Sean C. Farley" References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: Matthias Apitz , freebsd-net@freebsd.org, Matthias Apitz , bug-followup@freebsd.org, Bruce Simpson Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 18:56:26 -0000 Sean C. Farley wrote: > On Tue, 17 Mar 2009, Matthias Apitz wrote: > >> El día Tuesday, March 17, 2009 a las 10:39:32AM +0000, Bruce Simpson >> escribió: >> >>> Matthias Apitz wrote: >>>> as requested the output of dmesg(1) and the ath0 related part of >>>> 'pciconf -lv'; pls note also that the Wifi works fine in general, >>>> i.e. with the AP in my office (WPA) and in my home (WEP); >>>> >>> >>> Is this an ASUS Eee PC? If so, which model is it? It looks like a 901. >> >> It is an Asus EeePC 900, not the 901. >> >>> I tested OK with the 701. Sam said that there may be models of >>> ath(4) requiring further changes to be back-ported from -CURRENT, >>> this could well be one of them. >> >> as I said the Wifi works in all places, but not with this special AP >> (while a Nokia cellphone can associate and DHCP without problems); >> >> let me know if you need more info; > > Is the AP made by Aruba Networks? > > On RELENG_7, I needed a newer version (v0.5.11 instead of v0.5.10) of > wpa_supplicant for it to associate correctly. With v0.5.10, I could > see DHCP requests from my laptop but no responses. This is the patch > I am using currently: > http://people.freebsd.org/~scf/wpa_supplicant-0.5.11-RELENG_7.patch > > Note: sam@ updated HEAD to v0.5.11 then to the v0.6.x series. His setup is static key wep; not wpa so I don't think wpa_supplicant is the issue. Matthias, your tcpdump of the dhclient packets isn't usable; please try: tcpdump -i ath0 -n -y IEEE802_11_RADIO I reviewed the driver to the code in HEAD and the only difference in the crypto area should not matter in this case. It's possible wme is somehow enabled and causing problems but the ifconfig output doesn't indicate that. If you can find out the model of ap that might be helpful. Unfortunately the best thing to try is HEAD. Sam