Hi.
after getting my Fritz!WLAN USB stick recognized by my system, i am having difficulties getting the connection to work properly.
The access point (which is not mine and hence i have no control over) uses WPA2 encryption with a preshared key. hence wpa_supplicant is configured for RSN.
i run wpa_supplicant as root. the result is an endlessly looping attempt to connect to the AP. It detects the access point, but then states that "skip - no WPA/RSN IE" and "no suitable access point detected". I have tried using wireless extensions, ndis (windows driver) and native driver. The native driver I use is provided by the manufacturer, AVM, so I guess it actually should support WPA2. The network functions without further problems under windows, so i guess i have a configuration error somewhere.
The config is:
Code:
#
# wpa_supplicant configuration file
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
# IEEE 802.1x eapol. wpa_supplicant was compiled for 2, some AP
# however seem to simply drop eapol2 frames for some reason...
# set to 2 if AP supports it
eapol_version=2
ap_scan=1
fast_reauth=1
network={
disabled=0 # network can be used
ssid="Hive"
scan_ssid=1 # do scan ssid (when ssid broadcast is not
# support or multiple ssid's exist)
priority=1 # desired network
mode=0 # managed
proto=RSN # WPA2 IEEE 802.1i
# key_mgmt=WPA-PSK #only needed for WPA IEEE 802.1i/D3.0
auth_alg=SHARED # WPA2 requires shared algorithm
psk="asecretpassphrase"
}
network={
scan_ssid=1
priority=0
psk="asecretpassphrase"
}
In detail, the wext reads as follows when running wpa_supplicant:
Code:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0 (from group name 'root')
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 17 - start of a new network block
disabled=0 (0x0)
ssid - hexdump_ascii(len=4):
48 69 76 65 Hive
scan_ssid=1 (0x1)
priority=1 (0x1)
mode=0 (0x0)
proto: 0x2
auth_alg: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 30 - start of a new network block
scan_ssid=1 (0x1)
priority=0 (0x0)
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 1
id=0 ssid='Hive'
Priority group 0
id=1 ssid=''
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=9 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:04:0e:fb:82:a3
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=4):
48 69 76 65 Hive
Scan timeout - try to get results
IWEVGENIE overflow
Received 96 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 1
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x0
skip - no WPA/RSN IE
Selecting BSS from priority group 0
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x0
skip - no WPA/RSN IE
No suitable AP found.
The ndis version of this would be:
Code:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0 (from group name 'root')
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 17 - start of a new network block
disabled=0 (0x0)
ssid - hexdump_ascii(len=4):
48 69 76 65 Hive
scan_ssid=1 (0x1)
priority=1 (0x1)
mode=0 (0x0)
proto: 0x2
auth_alg: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 30 - start of a new network block
scan_ssid=1 (0x1)
priority=0 (0x0)
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 1
id=0 ssid='Hive'
Priority group 0
id=1 ssid=''
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:04:0e:fb:82:a3
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=4):
48 69 76 65 Hive
Scan timeout - try to get results
IWEVGENIE overflow
IWEVGENIE overflow
Received 293 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 1
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
Selecting BSS from priority group 0
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
No suitable AP found.
This appears to be a common problem, i.e. I have found many threads reporting this or similar errors (some with WPA, other with WPA2). However none ever reaches a conclusion...
Did anyone have the same problem before? How did you solve it?
Thanks