From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 9 22:59:23 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 22A2F106567C for ; Mon, 9 Feb 2009 22:59:23 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 076868FC16 for ; Mon, 9 Feb 2009 22:59:22 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail1.rawbw.com (mail1.rawbw.com [198.144.192.43]) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n19MagfL072747; Mon, 9 Feb 2009 14:36:42 -0800 (PST) Received: from c-67-188-87-159.hsd1.ca.comcast.net (c-67-188-87-159.hsd1.ca.comcast.net [67.188.87.159]) by webmail.rawbw.com (Horde Framework) with HTTP; Mon, 09 Feb 2009 14:36:42 -0800 Message-ID: <20090209143642.168421bp9jjvs7i8@webmail.rawbw.com> Date: Mon, 09 Feb 2009 14:36:42 -0800 From: Yuri To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.2.1-RC1) Subject: 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: Mon, 09 Feb 2009 22:59:24 -0000 I have a several wireless networks without password that my linux box easily connects to. 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 use 71-PRERELEASE Yuri