Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2011 22:03:49 -0400
From:      "Martes G Wigglesworth" <mailinglistmember@mgwigglesworth.net>
To:        freebsd-net@freebsd.org
Cc:        freebsd-wireless@freebsd.org
Subject:   [Solved] Re:Commands for AR5212 cause system to hang using 8.2-STABLE
Message-ID:  <4E5EE805.5010905@mgwigglesworth.net>
References:  <4E5D5422.9040609@mgwigglesworth.net> <CAJ-Vmon_OazA8CBVcexD39uy5d7oXz5FrtGsoffRc%2BhSceJL=g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/30/2011 09:47 PM, Adrian Chadd wrote:
> Can you please try 8.0-RELEASE and see if it works for you? I'd like
> to see where things broke along the FreeBSD-7 ->  FreeBSD-8.2 path.

I finished another upgrade from source, and after the restart the 
ifconfig commands worked immediately.
I guess whatever I did last Spring, was only a partial install.
Results were as follows:
<code>
|router0>ifconfig
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
         ether 00:1b:2f:37:02:46
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
         status: running
lagg0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether 00:00:00:00:00:00
         media: Ethernet autoselect
         status: no carrier
         laggproto failover
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether 00:1b:2f:37:02:46
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
         status: running
         ssid wrouter0 channel 1 (2412 MHz 11g) bssid 00:1b:2f:37:02:46
         country US ecm authmode OPEN privacy OFF txpower 23 scanvalid 60
         protmode CTS wme burst dtimperiod 1 -dfs |
</code>

I am able to get the wlan0 device to associate, and to scan, as listed 
below:
<code>
router0> ifconfig wlan0 scan
                 SSID/MESH ID    BSSID              CHAN RATE   S:N     
INT CAPS
                 CZXQ2           00:26:b8:46:70:8d    1   54M -85:-96  
100 EPS  WME HTCAP ATH
                 4EK81           00:26:b8:1f:ba:41    1   54M -92:-96  
100 EPS  WME HTCAP ATH
                 virgicom-wi...  00:18:e7:0d:16:1a    2   54M   0:0    
100 EPS  WPA
                 Belkin.306C     94:44:52:a3:f0:6c    1   54M -86:-96  
100 EP   MESHCONF MESHCONF WPS HTCAP WPA RSN WME
                 88VC7           00:1f:90:ed:8d:b9    1   54M -88:-96  
100 EPS  WME ATH
                 ALLEN           00:24:b2:d6:57:2c    2   54M   0:0    
100 EPS  WME HTCAP ATH WPS
</code>

However, the current issue may be something that is a simple "staleness" 
issue with a faulty kernel install, and hostapd.
When attempting to get hostapd running, I get the following:

<code>
router0>/etc/rc.d/hostapd start
kldload: can't load wlan_xauth: No such file or directory
               /etc/rc.d/hostapd: WARNING: Unable to load kernel module 
wlan_xauth
               /etc/rc.d/hostapd: WARNING: failed precmd routine for hostapd
</code>

Here is the currently installed version, which is asking for the 
seemingly depricated kernel module wlan_xauth.
<code>
router0> hostapd -v
                 hostapd v0.7.3
                 User space daemon for IEEE 802.11 AP management,
                 IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
                 Copyright (c) 2002-2010, Jouni Malinen <j@w1.fi> and 
contributors
</code>

I have found that I am actually missing the required wlan_xauth.ko 
wlan_xauth.symbols entries in /boot/kernel so I must have a messy 
install of the 8.2-STABLE kernel.

I am considering this issue resolved, since I can fully utilize the 
wlan0 mechanism now.

Thanks again.

-- 
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5EE805.5010905>