Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wireless ath0 configuration on 8.0-RELEASE

10 views
Skip to first unread message

Mark Bennett

unread,
Feb 2, 2010, 7:46:53 PM2/2/10
to freebsd...@freebsd.org
Hi,

I've been beating my brains out off and on for several days trying to
get a wireless card with an Atheros chip to work on 8.0. Maybe somebody
can help, but the on-line documentation seems to be stuck on version 7.2
and I've Googled till I'm blue in the face trying to find just one
simple, straight-forward how-to for this version.

I'm not wanting anything fancy. I just want this laptop with an Atheros
card to associate to my access point with WPA2. I've tried two
different cards, same results.


Here are pertinent facts about my configuration:
====================================
Output of uname -v

FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
ro...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
------------------------------------
Entire content of /boot/loader.conf

if_ath_load="YES"
wlan_ccmp_load="YES"

------------------------------------
Edited content of /etc/rc.conf

pccard_enable="YES"
vaps_ath0="wlan0"
# wlans_ath0="wlan0"
# ifconfig_wlan0="WPA DHCP"
defaultrouter="192.168.5.100"

------------------------------------
Edited content of /etc/rc.conf

network={
ssid="CLARITY"
psk="MYWPAKEY"
}
======================================

When I issue the command:
ifconfig wlan0 create wlandev ath0

It echoes the following:
wlan0: Ethernet address: 00:20:e0:37:8a:ca

At this point, everything seems to be OK.

When I issue the command:
wpa_supplicant -i wlan0 -dd -s -c /etc/wpa_supplicant.conf

It echoes the following:
ssid - hexdump_ascii(len=7):
43 4c 41 52 49 54 59 CLARITY
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]

It hangs at this point, with the power/activity lights on the NIC
alternately flashing. Breaking this command echoes this:

^Cioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
Feb 2 19:28:38 pierce wpa_supplicant[1274]: Failed to disable WPA in the
driver.
ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
ELOOP: remaining socket: sock=5 eloop_data=0x28406140
user_data=0x2840d040 handler=0x8069f40

==========================================

ifconfig for both ath0 and wlan0 show "status: no carrier"

The issue seems to be the "Failed to disable WPA in the driver" error,
but I don't know at what point this failure happens, or what to do
differently to fix it.

Any and all help is appreciated.


--
++
Mark Bennett
Clarity Software Systems
(417) 864-4404

The perfect name for a band: "Fruitless Googling"
I want credit for this.

Rui Paulo

unread,
Feb 3, 2010, 5:22:32 AM2/3/10
to Mark Bennett, freebsd...@freebsd.org

On 3 Feb 2010, at 00:46, Mark Bennett wrote:

> Hi,
>
> I've been beating my brains out off and on for several days trying to get a wireless card with an Atheros chip to work on 8.0. Maybe somebody can help, but the on-line documentation seems to be stuck on version 7.2 and I've Googled till I'm blue in the face trying to find just one simple, straight-forward how-to for this version.
>
> I'm not wanting anything fancy. I just want this laptop with an Atheros card to associate to my access point with WPA2. I've tried two different cards, same results.
>
>
> Here are pertinent facts about my configuration:
> ====================================
> Output of uname -v
>
> FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 ro...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
> ------------------------------------
> Entire content of /boot/loader.conf
>
> if_ath_load="YES"
> wlan_ccmp_load="YES"
>
> ------------------------------------
> Edited content of /etc/rc.conf
>
> pccard_enable="YES"
> vaps_ath0="wlan0"

This is wrong.

> # wlans_ath0="wlan0"

This is the correct version.

> # ifconfig_wlan0="WPA DHCP"
> defaultrouter="192.168.5.100"
>
> ------------------------------------
> Edited content of /etc/rc.conf
>
> network={
> ssid="CLARITY"
> psk="MYWPAKEY"
> }
> ======================================

This should be in /etc/wpa_supplicant.conf, not /etc/rc.conf.

>
> When I issue the command:
> ifconfig wlan0 create wlandev ath0
>
> It echoes the following:
> wlan0: Ethernet address: 00:20:e0:37:8a:ca
>
> At this point, everything seems to be OK.
>
> When I issue the command:
> wpa_supplicant -i wlan0 -dd -s -c /etc/wpa_supplicant.conf
>
> It echoes the following:
> ssid - hexdump_ascii(len=7):
> 43 4c 41 52 49 54 59 CLARITY
> PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
> PSK (from passphrase) - hexdump(len=32): [REMOVED]
>
> It hangs at this point, with the power/activity lights on the NIC alternately flashing. Breaking this command echoes this:

I don't think wpa_supplicant is trying to associate.

>
> ^Cioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
> Feb 2 19:28:38 pierce wpa_supplicant[1274]: Failed to disable WPA in the driver.
> ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
> ELOOP: remaining socket: sock=5 eloop_data=0x28406140 user_data=0x2840d040 handler=0x8069f40
>
> ==========================================
>
> ifconfig for both ath0 and wlan0 show "status: no carrier"
>
> The issue seems to be the "Failed to disable WPA in the driver" error, but I don't know at what point this failure happens, or what to do differently to fix it.
>
> Any and all help is appreciated.
>
>
> --
> ++
> Mark Bennett
> Clarity Software Systems
> (417) 864-4404
>
> The perfect name for a band: "Fruitless Googling"
> I want credit for this.
>

> _______________________________________________
> freebsd...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobil...@freebsd.org"

--
Rui Paulo

0 new messages