AR928X Atheros in Master Mode under Karmic
Tom Jaster
futur3.tom
Sun Oct 18 04:57:39 PDT 2009
Hi i hope you guys can give me a hand :),
a week ago i bought a nano ITX Board with a AR928X chip integrated, i want
to build a Wlan AP / Router / Mediaserver etc with it.
I installed Ubunut 9.10 on it and tried to make an AP with hostapd (9.2 in
ubuntu repository),
My Problem is that after some time i lost connection and cant reconnect, if
i turn wlan down before connection lost and try to reconnect it wont work
too :(.
I also tried to compile the newest Version of hostapd (yesterday), and still
got the same problems, mayby you can help me with this. I really need this
wlan AP :( .
Please help me, mayby there's a hack or a working version :-/
this is my configuration file:
interface=wlan0
driver=nl80211
ssid=TomsWLan
hw_mode=g
channel=11
auth_algs=1 #1
ieee80211n=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
macaddr_acl=0
wpa=2 #2
wpa_passphrase=imbapass
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wme_enabled=0
This is a log from startup:
Oct 17 13:00:01 tom-desktop avahi-daemon[882]: Joining mDNS multicast group
on interface wlan0.IPv4 with address 192.168.0.1.
Oct 17 13:00:01 tom-desktop avahi-daemon[882]: New relevant interface
wlan0.IPv4 for mDNS.
Oct 17 13:00:01 tom-desktop avahi-daemon[882]: Registering new address
record for 192.168.0.1 on wlan0.IPv4.
Oct 17 13:00:01 tom-desktop NetworkManager: SCPlugin-Ifupdown: devices
added (path:
/sys/devices/pci0000:00/0000:00:15.0/0000:04:00.0/net/mon.wlan0, iface:
mon.wlan0)
Oct 17 13:00:01 tom-desktop NetworkManager: SCPlugin-Ifupdown: device
added (path:
/sys/devices/pci0000:00/0000:00:15.0/0000:04:00.0/net/mon.wlan0, iface:
mon.wlan0): no ifupdown configuration found.
Oct 17 13:00:03 tom-desktop avahi-daemon[882]: Registering new address
record for fe80::224:23ff:fe08:f8ae on wlan0.*.
Oct 17 13:00:04 tom-desktop wpa_supplicant[1230]: CTRL-EVENT-SCAN-RESULTS
Oct 17 13:00:04 tom-desktop wpa_supplicant[1230]: WPS-AP-AVAILABLE
with console:
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 00:24:23:08:f8:ae and ssid 'TomsWLan'
wlan0: STA 00:22:43:46:8d:d0 IEEE 802.11: authenticated
wlan0: STA 00:22:43:46:8d:d0 IEEE 802.11: associated (aid 1)
wlan0: STA 00:22:43:46:8d:d0 RADIUS: starting accounting session
4AD9A3B4-00000000
wlan0: STA 00:22:43:46:8d:d0 WPA: pairwise key handshake completed (RSN)
This is a log from first connection:
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 IEEE 802.11: authentication OK (open
system)
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 MLME:
MLME-AUTHENTICATE.indication(00:22:43:46:8d:d0, OPEN_SYSTEM)
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 IEEE 802.11: authenticated
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 IEEE 802.11: association OK (aid 1)
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 IEEE 802.11: associated (aid 1)
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 MLME:
MLME-ASSOCIATE.indication(00:22:43:46:8d:d0)
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 WPA: event 1 notification
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 WPA: start authentication
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:00:42 : STA 00:22:43:46:8d:d0 WPA: sending 1/4 msg of 4-Way
Handshake
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 WPA: EAPOL-Key timeout
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 WPA: sending 1/4 msg of 4-Way
Handshake
Oct 17 13:00:43 tom-desktop wpa_supplicant[1230]: WPA: No Ack bit in
key_info
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 WPA: received EAPOL-Key frame (2/4
Pairwise)
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 WPA: sending 3/4 msg of 4-Way
Handshake
Oct 17 13:00:43 tom-desktop wpa_supplicant[1230]: WPA: No Ack bit in
key_info
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 WPA: received EAPOL-Key frame (4/4
Pairwise)
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 IEEE 802.1X: authorizing port
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 RADIUS: starting accounting session
4AD9A3B4-00000000
Oct 17 13:00:43 : STA 00:22:43:46:8d:d0 WPA: pairwise key handshake
completed (RSN)
Everythings working, i got internet!^^
now disconnecting from AP:
Could not set station 00:22:43:46:8d:d0 flags for kernel driver (errno=22).
wlan0: STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Could not set station 00:22:43:46:8d:d0 flags for kernel driver (errno=22).
Station 00:22:43:46:8d:d0 trying to deauthenticate, but it is not
authenticated.
Station 00:22:43:46:8d:d0 trying to deauthenticate, but it is not
authenticated.
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 2 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DISASSOCIATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 2 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DISASSOCIATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 2 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DISASSOCIATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 2 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DISASSOCIATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 2 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DISASSOCIATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 2 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DISASSOCIATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 2 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: disassociated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DISASSOCIATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 WPA: event 3 notification
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: deauthenticated
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DEAUTHENTICATE.indication(00:22:43:46:8d:d0, 8)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:18 : STA 00:22:43:46:8d:d0 IEEE 802.11: handle_action - unknown
action category 3 or invalid frame
Oct 17 13:05:22 tom-desktop wpa_supplicant[1230]: Failed to initiate AP
scan.
now connecting:
wlan0: STA 00:22:43:46:8d:d0 IEEE 802.11: authenticated
wlan0: STA 00:22:43:46:8d:d0 IEEE 802.11: associated (aid 1)
wlan0: STA 00:22:43:46:8d:d0 RADIUS: starting accounting session
4AD9A3B4-00000001
wlan0: STA 00:22:43:46:8d:d0 WPA: pairwise key handshake completed (RSN)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 IEEE 802.11: authentication OK (open
system)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 MLME:
MLME-AUTHENTICATE.indication(00:22:43:46:8d:d0, OPEN_SYSTEM)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 IEEE 802.11: authenticated
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 IEEE 802.11: association OK (aid 1)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 IEEE 802.11: associated (aid 1)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 MLME:
MLME-ASSOCIATE.indication(00:22:43:46:8d:d0)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: event 1 notification
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: start authentication
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 IEEE 802.1X: unauthorizing port
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: sending 1/4 msg of 4-Way
Handshake
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: EAPOL-Key timeout
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: sending 1/4 msg of 4-Way
Handshake
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: received EAPOL-Key frame (2/4
Pairwise)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: sending 3/4 msg of 4-Way
Handshake
Oct 17 13:05:26 tom-desktop wpa_supplicant[1230]: WPA: No Ack bit in
key_info
Oct 17 13:05:26 tom-desktop wpa_supplicant[1230]: WPA: No Ack bit in
key_info
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: received EAPOL-Key frame (4/4
Pairwise)
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 IEEE 802.1X: authorizing port
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 RADIUS: starting accounting session
4AD9A3B4-00000001
Oct 17 13:05:26 : STA 00:22:43:46:8d:d0 WPA: pairwise key handshake
completed (RSN)
So far there seems to be no error but the client cant connect it just gives
it up
IF i just wait unitl i lost connection i get:
wlan0: STA 00:22:43:46:8d:d0 IEEE 802.11: deauthenticated due to local
deauth request
if i try to reconnect i get a lot of messages like this
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 IEEE 802.11: authentication OK (open
system)
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 MLME:
MLME-AUTHENTICATE.indication(00:22:43:46:8d:d0, OPEN_SYSTEM)
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 IEEE 802.11: authenticated
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 IEEE 802.11: association OK (aid 1)
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 IEEE 802.11: associated (aid 1)
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 MLME:
MLME-ASSOCIATE.indication(00:22:43:46:8d:d0)
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 MLME:
MLME-DELETEKEYS.request(00:22:43:46:8d:d0)
Oct 17 11:45:12 : STA 00:22:43:46:8d:d0 WPA: event 1 notification
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20091018/d98069a7/attachment-0001.htm
More information about the Hostap
mailing list