hostapd doesn't work with rtl8192cu module

Robert Milasan rmilasan at suse.com
Mon Nov 24 08:01:28 EST 2014


I've setup hostapd using rtl8192cu which seems to work, but when trying
to authenticate I get:

WPA: Assign ANonce - hexdump(len=32): 44 9a 6a 0a d9 ab 08 94 22 5e db 48 41 f1 2a 0f 4b aa 0e fb 46 ea 03 4e 01 1c ba 01 82 54 36 57
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state INITPSK
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state PTKSTART
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
WPA: Use EAPOL-Key timeout of 100 ms (retry counter 1)
nl80211: Event message available
nl80211: New station f8:a9:d0:4f:34:aa
mgmt::action cb
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state PTKSTART
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 2)
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state PTKSTART
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 3)
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state PTKSTART
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 4)
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state PTKSTART
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA f8:a9:d0:4f:34:aa reason 2
wpa_driver_nl80211_set_key: ifindex=26 alg=0 addr=0x91c4cc0 key_idx=0 set_tx=1 seq_len=0 key_len=0
   addr=f8:a9:d0:4f:34:aa
WPA: wpa_sm_step() called recursively
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state DISCONNECTED
WPA: f8:a9:d0:4f:34:aa WPA_PTK entering state INITIALIZE
wpa_driver_nl80211_set_key: ifindex=26 alg=0 addr=0x91c4cc0 key_idx=0 set_tx=1 seq_len=0 key_len=0
   addr=f8:a9:d0:4f:34:aa
mgmt::deauth cb

Here is the hostapd config:
logger_syslog_level=0
logger_stdout=1
logger_stdout_level=0
interface=wlan0
ctrl_interface=/var/run/hostap-wlan0
driver=nl80211
country_code=CZ
ssid=my_ssid
wpa_passphrase=XXXXX at YYYYY
hw_mode=g
channel=11
wpa=3
auth_algs=1
macaddr_acl=0
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
# wpa_pairwise=TKIP
# rsn_pairwise=CCMP
ignore_broadcast_ssid=0
ieee80211n=1
ieee80211d=1
ieee8021x=0
preamble=0
disassoc_low_ack=1
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40][DSSS_CCK-40][MAX-AMSDU-7935]
beacon_int=100
max_num_sta=8
wpa_group_rekey=86400
eap_server=0
eapol_key_index_workaround=0
wmm_enabled=1

Can anyone tell me why I can't authenticate or why it doesn't work?

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


More information about the HostAP mailing list