Re: ath and problems with wlan scanning

Paul Dokas <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization OIT Security & Assurance, University of Minnesota
Message-ID <[email protected]>
On Fri, 9 Jun 2006 14:22:24 -0500
Paul Dokas <[email protected]> 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."

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.