ath5k master (AP) mode
Hello,
i pulled wireless-testing kernel today and installed hostapd-0.6.7, but it still does not work.
iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
hostapd v0.6.7
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2009, Jouni Malinen <[email protected]> and contributors
hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf ctrl_interface_group=0
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=5 eloop_data=0x95f39e8 user_data=(nil) handler=0x8075908
The card is Atheros Communications Inc. AR2413 802.11bg NIC (rev 01).
Regards,
Norman
On Wed, Feb 11, 2009 at 1:47 PM, Norman Rie=DF <[email protected]> w= rote:
Quoted 3 lines
Hello,
i pulled wireless-testing kernel today and installed hostapd-0.6.7, =
but
Quoted 6 lines
it still does not work.
iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
Did you apply this patch from upthread?
--- wireless-testing/drivers/net/wireless/ath5k/base.c 2009-02-10
06:11:43.186470883 +0100
+++ wireless-testing/drivers/net/wireless/ath5k/base.c.old
2008-11-14 09:36:40.000000000 +0100
@@ -522,6 +501,7 @@
hw->wiphy->interface_modes =3D
BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_ADHOC) |
+ BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_MESH_POINT);
hw->extra_tx_headroom =3D 2;--=20
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Bob Copeland
On Wed, Feb 11, 2009 at 1:47 PM, Norman Rie=DF <[email protected]>=
Quoted 3 lines · wrote:
Quoted 3 lines
Hello,
i pulled wireless-testing kernel today and installed hostapd-0.6.7, =
but
Quoted 9 lines
Quoted 6 lines
it still does not work.
iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.=20
Did you apply this patch from upthread?
=20
I can confirm Norman's wireless card's behavior (and have an associate = with
the same problem). This is with the upthread patch applied to compat-w= ireless
pulled from git.
ath5k 0000:0a:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 ath5k 0000:0a:05.0: registered as 'phy5'
phy5: Selected rate control algorithm 'pid'
ath5k phy5: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43) ath5k phy5: RF5112B multiband radio found (0x36)
If I remove the entry from hostapd.conf to set the channel, and force a=
channel
with iwconfig, hostapd will start, but nothing can associate, and netst= umbler
on an XP machine with an atheros card in it does not detect the SSID as=
being=20
an access point.
Pat Erley
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Bob Copeland
On Wed, Feb 11, 2009 at 1:47 PM, Norman Rie=DF <[email protected]>=
Quoted 4 lines · wrote:
=20
Quoted 3 lines
Hello,
i pulled wireless-testing kernel today and installed hostapd-0.6.7, =
but
Quoted 11 lines
Quoted 7 lines
it still does not work.
iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
=20Did you apply this patch from upthread?
---
wireless-testing/drivers/net/wireless/ath5k/base.c2009-02-1=
0
Quoted 12 lines
06:11:43.186470883 +0100
+++ wireless-testing/drivers/net/wireless/ath5k/base.c.old2008-11-14 09:36:40.000000000 +0100(quoted diff) +1
-0@@ -522,6 +501,7 @@ hw->wiphy->interface_modes =3D BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_ADHOC) | + BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_MESH_POINT); hw->extra_tx_headroom =3D 2;
Quoted 1 line
=20
Arrrrg,
as i understood it, the newest pull did change that line, so i did not. With that line added hostapd starts, and at first look, a bg2200 sees the accesspoint with wpa2 capability.
Sorry for that.
Thanks
Norman
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html