<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,<br><br>I'm trying to setup a WPA2 access point with hostapd and madwifi. When my station tries to associate with the access point, I get this error message "Failed to parse WPA/RSN IE from ..." before it tries to exchange keys, so WPA2 mode is not working for me. WPA1 is working for me. Another error I noticed is this "<span style="color: rgb(0, 0, 0);">ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument". I don't know what caused those errors, and can't seem to get any useful information from the internet. Does anyone know how to fix it? Any help greatly appreciated.</span><br><br>Here's my hostapd.conf
file:<br>bridge=br0<br>interface=ath0<br>driver=madwifi<br>logger_syslog=-1<br>logger_syslog_level=3<br>logger_stdout=-1<br>logger_stdout_level=3<br>debug=0<br>ctrl_interface_group=0<br>macaddr_acl=0<br>deny_mac_file=/etc/hostapd.deny<br>auth_algs=3<br>eapol_key_index_workaround=0<br>eap_server=0<br>dump_file=/tmp/hostapd.dump<br>ssid=myTestAP<br>wpa=2<br>wpa_passphrase=A_Secret_Password<br>wpa_key_mgmt=WPA-PSK<br>wpa_pairwise=TKIP CCMP<br><br>Here's a log from hostapd:<br>Configuration file: /etc/hostapd.conf<br>ctrl_interface_group=0<br>Configure bridge br0 for EAPOL traffic.<br>madwifi_set_iface_flags: dev_up=0<br>madwifi_set_privacy: enabled=0<br>BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)<br>SIOCGIWRANGE: WE(compiled)=19 WE(source)=13 enc_capa=0xf<br>Flushing old station entries<br>madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3<br>Deauthenticate all stations<br>madwifi_set_privacy: enabled=0<br>madwifi_del_key:
addr=00:00:00:00:00:00 key_idx=0<br>madwifi_del_key: addr=00:00:00:00:00:00 key_idx=1<br>madwifi_del_key: addr=00:00:00:00:00:00 key_idx=2<br>madwifi_del_key: addr=00:00:00:00:00:00 key_idx=3<br>Using interface ath0 with hwaddr 00:80:48:4e:97:70 and ssid 'myTestAP'<br>SSID - hexdump_ascii(len=8): ... (deleted the real SSID)<br>PSK (ASCII
passphrase) - hexdump_ascii(len=23): ... (deleted the real passphrase)<br>PSK (from passphrase) - hexdump(len=32): ...<br>madwifi_configure_wpa: group key cipher=1<br>madwifi_configure_wpa: pairwise key ciphers=0xa<br>madwifi_configure_wpa: key management algorithms=0x3<br>madwifi_configure_wpa: rsn capabilities=0x0<br>madwifi_configure_wpa: enable WPA=0x2<br>WPA: group state machine entering state GTK_INIT (VLAN-ID 0)<br>GMK - hexdump(len=32): [REMOVED]<br>GTK - hexdump(len=32): [REMOVED]<br>WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)<br>madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1<br>madwifi_set_privacy: enabled=1<br>madwifi_set_iface_flags: dev_up=1<br>ath0: Setup of interface done.<br>l2_packet_receive - recvfrom: Network is down<br>ath0: STA 00:04:e2:81:23:f5 IEEE 802.11: associated<br> New STA<br><span style="color: rgb(255, 0, 0);">Failed to parse WPA/RSN IE from 00:04:e2:81:23:f5 (res=-2)</span><br>WPA/RSN
IE - hexdump(len=138): 7d 88 c3 6b 7d 7c c0 03 90 58 c0 03 8e fc c3 6b
7d b4 c3 6b 7d 8c c0 03 7c f0 c0 03 90 50 80 00 00 13 00 00 00 40 20 00
00 13 c3 57 90 00 c3 6b 7e a8 c3 7e 70 00 c3 c2 d7 80 c3 6b 7d cc c3 6b
7d b8 c0 03 7d 48 c0 03 7c a4 00 00 00 00 00 00 00 00 c3 6b 7e 84 c3 6b
7d d0 c0 13 0a a8 c0 13 01 14 c3 c2 d7 80 c3 6b 7d f8 c3 6b 7d e4 c0 03
7d 48 c0 03 7c a4 00 00 00 00 00 00 00 00 c3 6b 7e b0 c3 6b 7d fc c0 13
0a a8<br>WPA/RSN information element rejected? (res 1)<br>Data frame from not associated STA 00:04:e2:81:23:f5<br>Custom wireless event: 'STA-TRAFFIC-STAT<br>mac=00:04:e2:81:23:f5<br>rx_packets=1<br>rx_bytes=19<br>tx_packets=0<br>tx_bytes=0<br>'<br>ath0: STA 00:04:e2:81:23:f5 IEEE 802.11: disassociated<br>madwifi_del_key: addr=00:04:e2:81:23:f5 key_idx=0<br><span style="color: rgb(255, 0, 0);">ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument</span><br>madwifi_del_key: Failed to delete key (addr 00:04:e2:81:23:f5 key_idx 0)<br>WPA: 00:04:e2:81:23:f5 WPA_PTK entering state DISCONNECTED<br>WPA: WPA_PTK::DISCONNECTED -
did not decrease GNoStations (STA 00:04:e2:81:23:f5)<br>WPA: 00:04:e2:81:23:f5 WPA_PTK entering state INITIALIZE<br>madwifi_del_key: addr=00:04:e2:81:23:f5 key_idx=0<br><span style="color: rgb(255, 0, 0);">ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument</span><br>madwifi_del_key: Failed to delete key (addr 00:04:e2:81:23:f5 key_idx 0)<br><br><br></div></div><br>
<hr size=1>
Get the name you always wanted with the <a href="http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other" target=_blank>new y7mail email address</a>.
</body></html>