Big Problems with iwl3945 and wpa_supplicant
Dirk Nichterwitz
dirk
Tue Jan 6 12:22:13 PST 2009
Hello,
i have an debian lenny 64 Bit with a Intel 3945 (iwl3945) and
wpa_supplicant 0.6.4 installed.
I can connect to WEP WLAN but i never get a login to a WPA or WPA2 WLAN.
The AP is a Speedport W701V with WPA/WPA2 TKIP/AES and i tried with WPA
TKIP only.
Kernel modul:iwl3945
ssid:test
adapter: wlan0
First i do a "iwlist wlan0 scanning" and the results:
*****************************************************************************
wlan0 Scan completed :
Cell 01 - Address: 00:1C:4A:41:FA:93
ESSID:"test"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=96/100 Signal level=-30 dBm Noise
level=-127 dBm Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000002dd4d234
*****************************************************************************
Ok the WLAN Adapter is working i think.
wpa_supplicant.conf
*****************************************************************************
ctrl_interface=/var/run/wpa_supplicant
update_config=1
eapol_version=1
ap_scan=2
fast_reauth=1
network={
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
ssid="test"
scan_ssid=1
#key_mgmt=WPA-PSK
#psk="meinkey"
psk=hier stehtderPSKin HEX
}
*****************************************************************************
when i start with
wpa_supplicant -Dwext -c/etc/wlan_supplicant.conf -iwlan0 -dd
*****************************************************************************
nbdeb:/home/user1# wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf
-iwlan0 -dd Initializing interface 'wlan0'
conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A'
bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' ->
'/etc/wpa_supplicant.conf' Reading configuration file
'/etc/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant'
update_config=1 eapol_version=1
ap_scan=2
fast_reauth=1
Line: 7 - start of a new network block
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
ssid - hexdump_ascii(len=10):
6c 61 6e 2e 62 61 6e 64 69 74 lan.bandit
scan_ssid=1 (0x1)
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='test'
Initializing interface (2) 'wlan0'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:18:de:d9:35:c2
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
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=12
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'test'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: not using MGMT group cipher
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00
00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 No keys have been
configured - skip key clearing wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_psk
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=26
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=16
Received 342 bytes of scan results (1 BSSes)
CTRL-EVENT-SCAN-RESULTS
*****************************************************************************
now i type iwconfig and see:
*****************************************************************************
wlan0 IEEE 802.11 ESSID:"test"
Mode:Managed Frequency:2.462 GHz Access Point:
Not-Associated Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
*****************************************************************************
What is wrong here?
i tried to configure the AP on WPA TKIP only - the same problem.
i googled a lot of sites but it seems to be all right.
More information about the Hostap
mailing list