Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 19:30:53 -0500
From:      Paul Dokas <dokas@oitsec.umn.edu>
To:        freebsd-mobile@freebsd.org
Subject:   Re: ath and problems with wlan scanning
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Jun 2006 14:22:24 -0500
Paul Dokas <dokas@oitsec.umn.edu> 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."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060614193053.dfd9e2c2.dokas>