From owner-freebsd-net@FreeBSD.ORG Wed Mar 9 07:01:21 2011 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 B699C106564A for ; Wed, 9 Mar 2011 07:01:21 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5359D8FC1C for ; Wed, 9 Mar 2011 07:01:20 +0000 (UTC) Received: by fxm19 with SMTP id 19so230416fxm.13 for ; Tue, 08 Mar 2011 23:01:20 -0800 (PST) Received: by 10.223.149.70 with SMTP id s6mr4180534fav.66.1299654063452; Tue, 08 Mar 2011 23:01:03 -0800 (PST) Received: from jessie.localnet (p5B2ECD16.dip0.t-ipconnect.de [91.46.205.22]) by mx.google.com with ESMTPS id n3sm710972fax.7.2011.03.08.23.01.01 (version=SSLv3 cipher=OTHER); Tue, 08 Mar 2011 23:01:01 -0800 (PST) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Michael Date: Wed, 9 Mar 2011 08:00:39 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32-28-generic; KDE/4.4.5; i686; ; ) References: <4D76D138.9010103@gmail.com> In-Reply-To: <4D76D138.9010103@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201103090800.40211.bschmidt@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: dhclient (possibly all networking) not working with some routers and WPA X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 07:01:21 -0000 On Wednesday, March 09, 2011 02:00:40 Michael wrote: > Hi, > > I'm running FreeBSD 8.1-Release with ath0 card. For some unknown reason > this laptop is not able to get IP address from my access point (DHCP) if > WPA encryption is enabled. > > The tricky part is that it says it is associated but has IP of 0.0.0.0. > So it looks like encryption part is working and then other communication > fails. > > Everything works fine if I switch the encryption off. > The same station works fine with other access points. Other operating > systems works fine on the same station with the same access point. And > the same access point works fine with other stations. > In short - it's only FreeBSD that is having problems in this setup. > > What I have tried and it didn't help: > - using FreeBSD 8.0-R and 8.1-R > - using isc-dhcp41-client and isc-dhcp31-client from ports > - turning on/off different QoS settings on the access point > - adding my station to static IP table on the access point > - configuring ip address, netmask and routing table manually on my > station with DHCP server both enabled and disabled > - using different access points - two out of four are not working, all > different makes and models > > [..] > > I'm quite desperate to get it fixed so any ideas/suggestions appreciated. Do I get that right? You've tried setting a fixed IP? Can you also run tcpdump on a remote side? How does your wpa_supplicant.conf look like? Do you have any other device available? an USB wlan stick or something to rule out the Atheros hardware. -- Bernhard