From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 10 14:42:11 2009 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94B6D1065672 for ; Tue, 10 Feb 2009 14:42:11 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6B98FC16 for ; Tue, 10 Feb 2009 14:42:11 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n1AEg9Ac039535; Tue, 10 Feb 2009 08:42:09 -0600 (CST) (envelope-from scf@FreeBSD.org) Date: Tue, 10 Feb 2009 08:42:09 -0600 (CST) From: "Sean C. Farley" To: Yuri In-Reply-To: <20090209143642.168421bp9jjvs7i8@webmail.rawbw.com> Message-ID: References: <20090209143642.168421bp9jjvs7i8@webmail.rawbw.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-hackers@FreeBSD.org Subject: Re: How to troubleshoot why ath0 can't connect to a passwordless wireless network? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 14:42:11 -0000 On Mon, 9 Feb 2009, Yuri wrote: > I have a several wireless networks without password that my linux box > easily connects to. What version of wpa_supplicant does the Linux box run? > On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0 > ssid up' brings interface to 'associated' state. But > dhclient fails to set it up. > > I have another device on the same system: ral0. It sometimes connects > to these networks ok, sometimes has the same problem. > > What can I do to understand what may be a problem with ath0 in my > case? > > I tried to use tcpdump. It shows outbound DHCP packets and nothing is > inbound. > > I asked similar question here before, somebody asked me to downgrade > atheros driver to one particular lower version. But this didn't help. > > Relevant dmesg lines are: > ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5216, RF5111, RF5112, RF2413, > RF5413, RF2133) > ath0: mem 0xcffe0000-0xcffeffff irq 16 at device 5.0 on pci0 > ath0: mac 7.8 phy 4.5 radio 5.6 I had a lot of trouble with ath(4) and my work's wireless network (Aruba Networks based). After patching wpa_supplicant from 0.5.10 to 0.5.11, everything has worked well. Before, it would associate, yet DHCP would not work. Sam Leffler (sam@) has since committed it to CURRENT. I still have the original patch to RELENG_7[1] that the CURRENT patch was based upon. It is a bit old, yet I think it may still apply at least for the most part. Sean 1. http://people.freebsd.org/~scf/wpa_supplicant-0.5.11-RELENG_7.patch -- scf@FreeBSD.org