hostap woes...

paul paul at subsignal.org
Tue Aug 24 14:20:41 EDT 2004


Hi folks,

I've been playing with hostap for a few days know and although I learned
a lot, I haven't been able to get things running. The card is a Netgear
MA311 pci and it runs fine as supplicant to a Linksys WRT54g with 104
WEP keys.

The ultimate goal is to have the card running with hostap as AP and one
ore more Linksys as supplicants. I configured hostap for what I think is
WPA-PSK:

##### IEEE 802.11 related configuration
#######################################
ssid=fries43
macaddr_acl=0
auth_algs=3

##### IEEE 802.1X (and IEEE 802.1aa/D4) related configuration
#################
# Require IEEE 802.1X authorization
ieee8021x=0
minimal_eap=0
eap_message=hello
eapol_key_index_workaround=1

#### WPA/IEEE 802.11i configuration ####
wpa=3
wpa_passphrase=xxxxxxxxx
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
wpa_group_rekey=3600
wpa_gmk_rekey=86400

The Linksys has for WPA-PSK two settings (TKIP, AES) which I think refer
to TKIP/CCMP respectively. Unfortunately the connection fails:

dmesg output:
hostap_pci: 0.2.4 - 2004-07-17 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x2
prism2_hw_init: initialized in 195 ms
wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.7.4
wifi0: Intersil Prism2.5 PCI: mem=0xfa000000, irq=11
wifi0: registered netdevice wlan0
hostap_crypt: registered algorithm 'WEP'
hostap_crypt: registered algorithm 'TKIP'
hostap_crypt: registered algorithm 'CCMP'
wifi0: enabling hostapd mode
wifi0: registered netdevice wlan0ap
wifi0: Could not find STA 00:0f:66:90:47:ee for this TX error (@1282796492)
wifi0: Could not find STA 00:0f:66:90:47:ee for this TX error (@1282796500)
wifi0: key setting failed
CCMP: received packet without ExtIV flag from 00:0f:66:90:47:ec
wifi0: decryption failed (SA=00:0f:66:90:47:ec) res=-2
wifi0: Could not find STA 00:0f:66:90:47:ee for this TX error (@1282940628)
wifi0: Could not find STA 00:0f:66:90:47:ee for this TX error (@1282940637)
wifi0: Could not find STA 00:0f:66:90:47:ec for this TX error (@1282943456)
wifi0: Could not find STA 00:0f:66:90:47:ec for this TX error (@1282943464)
wifi0: disabling hostapd mode
wifi0: disassociation: 00:e0:7d:a6:d8:ce len=2, reason_code=8
wifi0: disassociation from 00:e0:7d:a6:d8:ce, reason_code=8, but STA not
authenticated

output when hostapd is started

nil wlan # hostapd -ddd /etc/hostapd/wpa.conf
Configuration file: /etc/hostapd/wpa.conf
Opening raw packet socket for ifindex 219
Using interface wlan0ap with hwaddr 00:09:5b:91:8e:c0 and ssid 'fries43'
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 2c 81 b6 19 f5 5b 29 3c 8a b5 02 19 12 fe df 76 
0b cc 08 29 01 fe 45 38 bf d0 fa 85 72 1d e5 df
GTK - hexdump(len=32): fa a1 b9 ed 24 d6 a8 2f ba e5 65 c7 fd db d3 4d 
69 5a b6 df bd 67 f0 21 5d a5 35 08 6a e8 a7 e0
WPA: group state machine entering state SETKEYSDONE
Flushing old station entries
Deauthenticate all stations


Here are the relevant snipplets from hostapd -ddd output (I think):
(notice the two MAC's trying to establish the connection 
00:0f:66:90:47:ee and 00:0f:66:90:47:ec they are both added to the 
bridge the linksys uses).

case1: client is set to WPA-PSK, TKIP

Wireless event: cmd=0x8c04 len=20
Received 38 bytes management frame
RX frame - hexdump(len=38): b0 00 3a 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ee 00 09 5b 91 8e c0 d0 01 00 00 01 00 00 00 dd 06 00 10 18 01 00 00
MGMT
mgmt::auth
authentication: STA=00:0f:66:90:47:ee auth_alg=0 auth_transaction=1 
status_code=0 wep=0
   New STA
wlan0: STA 00:0f:66:90:47:ee IEEE 802.11: authentication OK (open system)
wlan0: STA 00:0f:66:90:47:ee WPA: event 0 notification
authentication reply: STA=00:0f:66:90:47:ee auth_alg=0 
auth_transaction=2 resp=0
Received 30 bytes management frame
RX frame - hexdump(len=30): b2 00 02 01 00 0f 66 90 47 ee 00 09 5b 91 8e 
c0 00 09 5b 91 8e c0 80 15 00 00 02 00 00 00
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:0f:66:90:47:ee IEEE 802.11: authenticated
Received 75 bytes management frame
RX frame - hexdump(len=75): 00 00 3a 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ee 00 09 5b 91 8e c0 e0 01 11 00 0a 00 00 07 66 72 69 65 73 34 33 01 04 
82 84 0b 16 dd 06 00 10 18 01 00 00 dd 16 00 50 f2 01 01 00 00 50 f2 02 
01 00 00 50 f2 02 01 00 00 50 f2 02
MGMT
mgmt::assoc_req
association request: STA=00:0f:66:90:47:ee capab_info=0x11 
listen_interval=10
IEEE 802.11 element parse ignored unknown generic element (id=221 elen=6 
OUI:type=00-10-18:1)
   new AID 2
wlan0: STA 00:0f:66:90:47:ee IEEE 802.11: association OK (aid 2)
Received 36 bytes management frame
RX frame - hexdump(len=36): 12 00 02 01 00 0f 66 90 47 ee 00 09 5b 91 8e 
c0 00 09 5b 91 8e c0 90 15 11 00 00 00 02 c0 01 04 82 84 0b 16
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:0f:66:90:47:ee IEEE 802.11: associated (aid 2)
wlan0: STA 00:0f:66:90:47:ee WPA: event 1 notification
wlan0: STA 00:0f:66:90:47:ee WPA: start authentication
WPA: 00:0f:66:90:47:ee WPA_PTK entering state INITIALIZE
wlan0: STA 00:0f:66:90:47:ee IEEE 802.1X: unauthorizing port
WPA: 00:0f:66:90:47:ee WPA_PTK_GROUP entering state IDLE
WPA: 00:0f:66:90:47:ee WPA_PTK entering state AUTHENTICATION
WPA: 00:0f:66:90:47:ee WPA_PTK entering state AUTHENTICATION2
WPA: 00:0f:66:90:47:ee WPA_PTK entering state INITPSK
WPA: 00:0f:66:90:47:ee WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ee WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 0a 02 02 01 00 0f 66 90 47 ee 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 a0 15 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
89 00 20 00 00 00 00 00 00 00 01 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e4 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) ACK
IEEE 802.1X: 00:0f:66:90:47:ee TX status - version=1 type=3 length=95 - 
ack=1
Wireless event: cmd=0x8c03 len=20
Received 24 bytes management frame
RX frame - hexdump(len=24): 48 01 02 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ec 00 09 5b 91 8e c0 00 02
DATA
Data frame from not associated STA 00:0f:66:90:47:ec
Received 26 bytes management frame
RX frame - hexdump(len=26): a0 00 3a 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ec 00 09 5b 91 8e c0 10 02 08 00
MGMT
mgmt::disassoc
disassocation: STA=00:0f:66:90:47:ec reason_code=8
Station 00:0f:66:90:47:ec trying to disassociate, but it is not associated.
Received 38 bytes management frame
RX frame - hexdump(len=38): b0 00 3a 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ec 00 09 5b 91 8e c0 e0 03 00 00 01 00 00 00 dd 06 00 10 18 01 00 00
MGMT
mgmt::auth
authentication: STA=00:0f:66:90:47:ec auth_alg=0 auth_transaction=1 
status_code=0 wep=0
   New STA
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: authentication OK (open system)
wlan0: STA 00:0f:66:90:47:ec WPA: event 0 notification
authentication reply: STA=00:0f:66:90:47:ec auth_alg=0 
auth_transaction=2 resp=0
Received 30 bytes management frame
RX frame - hexdump(len=30): b2 00 02 01 00 0f 66 90 47 ec 00 09 5b 91 8e 
c0 00 09 5b 91 8e c0 80 16 00 00 02 00 00 00
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: authenticated
Received 75 bytes management frame
RX frame - hexdump(len=75): 00 00 3a 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ec 00 09 5b 91 8e c0 f0 03 11 00 0a 00 00 07 66 72 69 65 73 34 33 01 04 
82 84 0b 16 dd 06 00 10 18 01 00 00 dd 16 00 50 f2 01 01 00 00 50 f2 02 
01 00 00 50 f2 02 01 00 00 50 f2 02
MGMT
mgmt::assoc_req
association request: STA=00:0f:66:90:47:ec capab_info=0x11 
listen_interval=10
IEEE 802.11 element parse ignored unknown generic element (id=221 elen=6 
OUI:type=00-10-18:1)
   new AID 3
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: association OK (aid 3)
Received 36 bytes management frame
RX frame - hexdump(len=36): 12 00 02 01 00 0f 66 90 47 ec 00 09 5b 91 8e 
c0 00 09 5b 91 8e c0 90 16 11 00 00 00 03 c0 01 04 82 84 0b 16
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: associated (aid 3)
wlan0: STA 00:0f:66:90:47:ec WPA: event 1 notification
wlan0: STA 00:0f:66:90:47:ec WPA: start authentication
WPA: 00:0f:66:90:47:ec WPA_PTK entering state INITIALIZE
wlan0: STA 00:0f:66:90:47:ec IEEE 802.1X: unauthorizing port
WPA: 00:0f:66:90:47:ec WPA_PTK_GROUP entering state IDLE
WPA: 00:0f:66:90:47:ec WPA_PTK entering state AUTHENTICATION
WPA: 00:0f:66:90:47:ec WPA_PTK entering state AUTHENTICATION2
WPA: 00:0f:66:90:47:ec WPA_PTK entering state INITPSK
WPA: 00:0f:66:90:47:ec WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ec WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 0a 02 02 01 00 0f 66 90 47 ec 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 a0 16 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
89 00 20 00 00 00 00 00 00 00 01 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e5 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) ACK
IEEE 802.1X: 00:0f:66:90:47:ec TX status - version=1 type=3 length=95 - 
ack=1
Wireless event: cmd=0x8c03 len=20
wlan0: STA 00:0f:66:90:47:ee WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ee WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ee WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 09 0a 02 01 00 0f 66 90 47 ee 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 d0 16 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
89 00 20 00 00 00 00 00 00 00 02 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e4 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) fail
IEEE 802.1X: 00:0f:66:90:47:ee TX status - version=1 type=3 length=95 - 
ack=0
wlan0: STA 00:0f:66:90:47:ee IEEE 802.1X: did not Ack EAPOL-Key frame 
(broadcast index=30)
Wireless event: cmd=0x8c00 len=20
wlan0: STA 00:0f:66:90:47:ec WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ec WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ec WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 0a 02 02 01 00 0f 66 90 47 ec 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 50 17 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
89 00 20 00 00 00 00 00 00 00 02 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e5 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) ACK
IEEE 802.1X: 00:0f:66:90:47:ec TX status - version=1 type=3 length=95 - 
ack=1
wlan0: STA 00:0f:66:90:47:ee WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ee WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ee WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 09 0a 02 01 00 0f 66 90 47 ee 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 90 17 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
89 00 20 00 00 00 00 00 00 00 03 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e4 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) fail
IEEE 802.1X: 00:0f:66:90:47:ee TX status - version=1 type=3 length=95 - 
ack=0
wlan0: STA 00:0f:66:90:47:ee IEEE 802.1X: did not Ack EAPOL-Key frame 
(broadcast index=30)
Wireless event: cmd=0x8c00 len=20
Received 26 bytes management frame
RX frame - hexdump(len=26): a0 00 3a 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ec 00 09 5b 91 8e c0 10 04 08 00
MGMT
mgmt::disassoc
disassocation: STA=00:0f:66:90:47:ec reason_code=8
wlan0: STA 00:0f:66:90:47:ec WPA: event 2 notification
WPA: 00:0f:66:90:47:ec WPA_PTK entering state DISCONNECTED
WPA: 00:0f:66:90:47:ec WPA_PTK entering state INITIALIZE
wlan0: STA 00:0f:66:90:47:ec IEEE 802.1X: unauthorizing port
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: disassociated
Wireless event: cmd=0x8c04 len=20
wlan0: STA 00:0f:66:90:47:ee WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ee WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ee WPA: sending 1/4 msg of 4-Way Handshake
WPA: 00:0f:66:90:47:ee WPA_PTK entering state DISCONNECT
WPA: 00:0f:66:90:47:ee WPA_PTK entering state DISCONNECTED
WPA: 00:0f:66:90:47:ee WPA_PTK entering state INITIALIZE
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
wlan0: STA 00:0f:66:90:47:ee IEEE 802.1X: unauthorizing port
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
wlan0: STA 00:0f:66:90:47:ee IEEE 802.11: deauthenticated due to local 
deauth request
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not remove station from kernel driver.
Wireless event: cmd=0x8c04 len=20
Received 131 bytes management frame
RX frame - hexdump(len=131): 09 0a 02 01 00 0f 66 90 47 ee 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 50 18 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
89 00 20 00 00 00 00 00 00 00 04 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e4 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) fail
Wireless event: cmd=0x8c00 len=20
Wireless event: cmd=0x8c00 len=20

case2: client is set to WPA-PSK, AES

mgmt::auth
authentication: STA=00:0f:66:90:47:ec auth_alg=0 auth_transaction=1 
status_code=0 wep=0
   New STA
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: authentication OK (open system)
wlan0: STA 00:0f:66:90:47:ec WPA: event 0 notification
authentication reply: STA=00:0f:66:90:47:ec auth_alg=0 
auth_transaction=2 resp=0
Received 30 bytes management frame
RX frame - hexdump(len=30): b2 00 02 01 00 0f 66 90 47 ec 00 09 5b 91 8e 
c0 00 09 5b 91 8e c0 00 76 00 00 02 00 00 00
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: authenticated
Received 75 bytes management frame
RX frame - hexdump(len=75): 00 00 3a 01 00 09 5b 91 8e c0 00 0f 66 90 47 
ec 00 09 5b 91 8e c0 f0 05 11 00 0a 00 00 07 66 72 69 65 73 34 33 01 04 
82 84 0b 16 dd 06 00 10 18 01 00 00 dd 16 00 50 f2 01 01 00 00 50 f2 02 
01 00 00 50 f2 04 01 00 00 50 f2 02
MGMT
mgmt::assoc_req
association request: STA=00:0f:66:90:47:ec capab_info=0x11 
listen_interval=10
IEEE 802.11 element parse ignored unknown generic element (id=221 elen=6 
OUI:type=00-10-18:1)
   new AID 3
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: association OK (aid 3)
Received 36 bytes management frame
RX frame - hexdump(len=36): 12 00 02 01 00 0f 66 90 47 ec 00 09 5b 91 8e 
c0 00 09 5b 91 8e c0 10 76 11 00 00 00 03 c0 01 04 82 84 0b 16
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: associated (aid 3)
wlan0: STA 00:0f:66:90:47:ec WPA: event 1 notification
wlan0: STA 00:0f:66:90:47:ec WPA: start authentication
WPA: 00:0f:66:90:47:ec WPA_PTK entering state INITIALIZE
wlan0: STA 00:0f:66:90:47:ec IEEE 802.1X: unauthorizing port
WPA: 00:0f:66:90:47:ec WPA_PTK_GROUP entering state IDLE
WPA: 00:0f:66:90:47:ec WPA_PTK entering state AUTHENTICATION
WPA: 00:0f:66:90:47:ec WPA_PTK entering state AUTHENTICATION2
WPA: 00:0f:66:90:47:ec WPA_PTK entering state INITPSK
WPA: 00:0f:66:90:47:ec WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ec WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 0a 02 02 01 00 0f 66 90 47 ec 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 20 76 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
8a 00 10 00 00 00 00 00 00 00 01 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e9 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) ACK
IEEE 802.1X: 00:0f:66:90:47:ec TX status - version=1 type=3 length=95 - 
ack=1
Wireless event: cmd=0x8c03 len=20
wlan0: STA 00:0f:66:90:47:ee WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ee WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ee WPA: sending 1/4 msg of 4-Way Handshake
WPA: 00:0f:66:90:47:ee WPA_PTK entering state DISCONNECT
WPA: 00:0f:66:90:47:ee WPA_PTK entering state DISCONNECTED
WPA: 00:0f:66:90:47:ee WPA_PTK entering state INITIALIZE
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
wlan0: STA 00:0f:66:90:47:ee IEEE 802.1X: unauthorizing port
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
wlan0: STA 00:0f:66:90:47:ee IEEE 802.11: deauthenticated due to local 
deauth request
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not remove station from kernel driver.
Wireless event: cmd=0x8c04 len=20
Received 131 bytes management frame
RX frame - hexdump(len=131): 09 0a 02 01 00 0f 66 90 47 ee 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 40 76 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
8a 00 10 00 00 00 00 00 00 00 04 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e7 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) fail
Wireless event: cmd=0x8c00 len=20
Wireless event: cmd=0x8c00 len=20
wlan0: STA 00:0f:66:90:47:ec WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ec WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ec WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 0a 0a 02 01 00 0f 66 90 47 ec 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 e0 76 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
8a 00 10 00 00 00 00 00 00 00 02 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e9 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) ACK
IEEE 802.1X: 00:0f:66:90:47:ec TX status - version=1 type=3 length=95 - 
ack=1
wlan0: STA 00:0f:66:90:47:ec WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ec WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ec WPA: sending 1/4 msg of 4-Way Handshake
Received 131 bytes management frame
RX frame - hexdump(len=131): 0a 02 02 01 00 0f 66 90 47 ec 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 90 77 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
8a 00 10 00 00 00 00 00 00 00 03 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e9 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) ACK
IEEE 802.1X: 00:0f:66:90:47:ec TX status - version=1 type=3 length=95 - 
ack=1
wlan0: STA 00:0f:66:90:47:ec WPA: EAPOL-Key timeout
WPA: 00:0f:66:90:47:ec WPA_PTK entering state PTKSTART
wlan0: STA 00:0f:66:90:47:ec WPA: sending 1/4 msg of 4-Way Handshake
WPA: 00:0f:66:90:47:ec WPA_PTK entering state DISCONNECT
WPA: 00:0f:66:90:47:ec WPA_PTK entering state DISCONNECTED
WPA: 00:0f:66:90:47:ec WPA_PTK entering state INITIALIZE
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
wlan0: STA 00:0f:66:90:47:ec IEEE 802.1X: unauthorizing port
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
wlan0: STA 00:0f:66:90:47:ec IEEE 802.11: deauthenticated due to local 
deauth request
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not remove station from kernel driver.
Wireless event: cmd=0x8c04 len=20
Received 131 bytes management frame
RX frame - hexdump(len=131): 09 0a 02 01 00 0f 66 90 47 ec 00 09 5b 91 
8e c0 00 09 5b 91 8e c0 40 78 aa aa 03 00 00 00 88 8e 01 03 00 5f fe 00 
8a 00 10 00 00 00 00 00 00 00 04 31 48 e0 ae 6a 51 13 b4 36 89 b0 a7 56 
bb 1e 0f 0f 66 99 5e 74 6f b9 d0 81 32 26 f8 fb e3 ba e9 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DATA (TX callback) fail
Wireless event: cmd=0x8c00 len=20
Wireless event: cmd=0x8c00 len=20
Signal 2 received - terminating
Removing station 00:00:86:31:8b:13
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not remove station from kernel driver.
Flushing old station entries
Deauthenticate all stations

thanks
  Paul


As a sidenote. I haven't had much knowledge about all the gory details 
about WEP, WEP+dynamic keys, WPA-PSK, WPA-EAP, WDS etc... so I'd love to 
have a few sample configs tailored for specific scenarios for 
educational purposes ;)



More information about the HostAP mailing list