Problems with WPA-PSK and madwifi driver

Eduardo Mendes emmendes
Thu Feb 10 06:12:09 PST 2005


Hello

I have the following setup:
a) wireless router airplus 315W - WPA=PSK - Channel 11
b) notebook with a WG511T (Netgear).

The notebbok is dual boot machine with Windows XP (wireless works just fine) 
and mandrake 10.1.

I have downloaded and installed madwifi (wlan, ath-pci and ath_hal modules) 
and also wpa_supplicant.

The wpa_supplicant.conf is as follows:

# Same as previous, but request SSID-specific scanning (for APs that reject
# broadcast SSID)
network={
        ssid="eacghome.airlink"
        scan_ssid=1
        psk="klklklklklklkl&&^^klklklklklklklklklklkl"
        priority=2
}

To start device ath0 I have typed

/sbin/ifconfig ath0 up
/sbin/iwconfig ath0 channel 11
/usr/sbin/wpa_supplicant -c/etc/wpa_supplicant.conf -Dmadwifi -iath0 -d

Here is part of the ouput

: 00:e0:98:4f:d8:b2 ssid='eacghome.airlink' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:e0:98:4f:d8:b2 (SSID='eacghome.airlink' freq=2462 
MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - 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_madwifi_set_drop_unencrypted: enabled=1
wpa_driver_madwifi_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=29
Wireless event: cmd=0x8b19 len=12
Received 278 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 2
0: 00:e0:98:4f:d8:b2 ssid='eacghome.airlink' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:e0:98:4f:d8:b2 (SSID='eacghome.airlink' freq=2462 
MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - 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_madwifi_set_drop_unencrypted: enabled=1
wpa_driver_madwifi_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=29
Wireless event: cmd=0x8b19 len=12
Received 278 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 2
0: 00:e0:98:4f:d8:b2 ssid='eacghome.airlink' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:e0:98:4f:d8:b2 (SSID='eacghome.airlink' freq=2462 
MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - 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_madwifi_set_drop_unencrypted: enabled=1
wpa_driver_madwifi_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=29
Wireless event: cmd=0x8b19 len=12
Received 278 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 2
0: 00:e0:98:4f:d8:b2 ssid='eacghome.airlink' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:e0:98:4f:d8:b2 (SSID='eacghome.airlink' freq=2462 
MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - 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_madwifi_set_drop_unencrypted: enabled=1
wpa_driver_madwifi_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=29

Ath0 doesn't get a valid ip address.  

What am I doing wrong?  Have I missed something?

Many thanks

Ed






More information about the Hostap mailing list