From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 9 19:58:51 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3412016A418 for ; Fri, 9 Jun 2006 19:58:51 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id D70A743D72 for ; Fri, 9 Jun 2006 19:58:50 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k59JwnLF086757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jun 2006 12:58:50 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4489D2F9.3080602@errno.com> Date: Fri, 09 Jun 2006 12:58:49 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.2 (X11/20060508) MIME-Version: 1.0 To: Paul Dokas References: <200606091328.k59DSThD012167@nic-naa.net> <4489836D.6020302@centtech.com> <20060609101508.40307089.dokas@oitsec.umn.edu> <4489B6BF.1090301@errno.com> <20060609142224.4b79ca93.dokas@oitsec.umn.edu> In-Reply-To: <20060609142224.4b79ca93.dokas@oitsec.umn.edu> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ath and problems with wlan scanning 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: Fri, 09 Jun 2006 19:58:51 -0000 Paul Dokas wrote: > On Fri, 09 Jun 2006 10:58:23 -0700 Sam Leffler wrote: >> This is an issue with iwi not ath. iwi does scanning in firmware so it >> is totally different. If you have a scanning issue please post your >> problem under a different subject. > > Sure thing. Here's a quick summary of the problem that I'm seeing. > > + I've got one of these atheros based A/B/G cards: > http://www.netgate.com/product_info.php?products_id=130 > > It works great in a co-workers laptop running 6.1 > > + Setting up ath0 to config via DHCP results in ath0 never getting an > IP address. Furthermore, while scanning, it appears to associate > for only a brief moment and then moves on to other channels. > > + Manually doing `ifconfig ath0 up` results in it associating just fine. > > I've tried booting with ACPI disabled and obtained the same results. > > The attached files are the output from dmesg and annotated snippets from the console > logs after turning on wlan debugging with this: `sysctl net.wlan.0.debug=0x00200000` > I've marked the places in the logs where I typed various commands. > > I'd be happy to gather more data if that would help. The logging showns nothing useful. Use wlandebug from src/tools/tools/net80211 to do: wlandebug scan and provide the log from the very beginning; not a snippet. If you see responses from the ap then check that probe request packets are going out; this can be done by adding something like wlandebug +debug It might also be useful to see what the channel config/setup is for the card; use ifconfig ath0 list chan to see it. Feel free to send stuff directly to me or provide urls so the list doesn't get spammed. Sam