From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 15 00:31:00 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 F316616A47B for ; Thu, 15 Jun 2006 00:31:00 +0000 (UTC) (envelope-from dokas@oitsec.umn.edu) Received: from mtaout-m.tc.umn.edu (mtaout-m.tc.umn.edu [160.94.23.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F94943D48 for ; Thu, 15 Jun 2006 00:31:00 +0000 (GMT) (envelope-from dokas@oitsec.umn.edu) Received: from cdward.oitsec.umn.edu (c-24-118-176-19.hsd1.mn.comcast.net [24.118.176.19]) by mtaout-m.tc.umn.edu with ESMTP for freebsd-mobile@freebsd.org; Wed, 14 Jun 2006 19:30:57 -0500 (CDT) X-Umn-Remote-Mta: [N] c-24-118-176-19.hsd1.mn.comcast.net [24.118.176.19] #+TS+AU+HN Date: Wed, 14 Jun 2006 19:30:53 -0500 From: Paul Dokas To: freebsd-mobile@freebsd.org Message-Id: <20060614193053.dfd9e2c2.dokas@oitsec.umn.edu> In-Reply-To: <20060609142224.4b79ca93.dokas@oitsec.umn.edu> 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> Organization: OIT Security & Assurance, University of Minnesota X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.19; i386-portbld-freebsd6.1) X-Discordia: fnord Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ath and problems with wlan scanning X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dokas@oitsec.umn.edu List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 00:31:01 -0000 On Fri, 9 Jun 2006 14:22:24 -0500 Paul Dokas wrote: > 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. Just a quick update. With some very appreciated help from Sam Leffler, I've now got my Atheros card working just fine with FreeBSD 6.1. The part that I was missing was to use wpa_supplicant to get the card to associate. I set the following in my /etc/rc.conf: ifconfig_ath0="WPA DHCP" and created an /etc/wpa_supplicant.conf that looks something like this: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel ap_scan=1 # network={ ssid="OpenAP" scan_ssid=1 key_mgmt=NONE } # network={ ssid="PrivateAP" scan_ssid=1 key_mgmt=NONE auth_alg=SHARED group=WEP104 wep_tx_keyidx=0 wep_key0=0123456789ABCDEF0123456789 } Obviously, I roam between a place that has an open AP and one that uses WEP. Paul -- Paul Dokas dokas at umn.edu ====================================================================== Don Juan Matus: "an enigma wrapped in mystery wrapped in a tortilla."