WPA doesn't work - Authentication with 00:00:00:00:00:00 timed out.

Miernik miernik
Tue Nov 8 00:47:14 PST 2005


I have a problem trying to connect to an access point with WPA-PSK/CCMP
using with a Prism2.5 card, hostap 0.4.5 driver, 2.4.30 kernel with
Wireless Extensions v18 patch (default is v16 in 2.4.30, but that doesn't
support WPA). Version of wpa_supplicant is 0.4.5 (I am not exactly sure
now, it might have been 0.4.6, anyway something recent).

Here is the output of wpa_supplicant:

root at OpenWrt:/# wpa_supplicant -c /etc/wpa_supplicant.conf -D hostap -i
wlan0 -dd -t -K
Jan 01 00:04:44.809490: Initializing interface 'wlan0' conf
'/etc/wpa_supplicant.conf' driver 'hostap'
Jan 01 00:04:44.812942: Configuration file '/etc/wpa_supplicant.conf' ->
'/etc/wpa_supplicant.conf'
Jan 01 00:04:44.814693: Reading configuration file '/etc/wpa_supplicant.conf'
Jan 01 00:04:44.817075: ctrl_interface='/var/run/wpa_supplicant'
Jan 01 00:04:44.818686: Line: 5 - start of a new network block
Jan 01 00:04:44.820488: ssid - hexdump_ascii(len=8):
     65 68 65 6c 70 2e 70 6c                           ehelp.pl
Jan 01 00:04:44.823935: key_mgmt: 0x2
Jan 01 00:04:44.825637: pairwise: 0x10
Jan 01 00:04:44.827234: group: 0x10
Jan 01 00:04:44.828830: PSK (ASCII passphrase) - hexdump_ascii(len=10):
     11 11 11 11 11 11 11 11 11 11                     ..........
Jan 01 00:04:47.723146: PSK (from passphrase) - hexdump(len=32): 11 11 11
11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11
11 11 11 11
Jan 01 00:04:47.725849: Priority group 0
Jan 01 00:04:47.727518:    id=0 ssid='ehelp.pl'
Jan 01 00:04:47.729159: Initializing interface (2) 'wlan0'
Jan 01 00:04:48.665523: EAPOL: SUPP_PAE entering state DISCONNECTED
Jan 01 00:04:48.667215: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
Jan 01 00:04:48.668886: EAPOL: SUPP_BE entering state INITIALIZE
Jan 01 00:04:48.670640: EAP: EAP entering state DISABLED
Jan 01 00:04:48.672924: EAPOL: External notification - portEnabled=0
Jan 01 00:04:48.674800: EAPOL: External notification - portValid=0
ioctl[SIOCSIWPMKSA]: Operation not supported
Jan 01 00:04:48.683502: SIOCGIWRANGE: WE(compiled)=18 WE(source)=18
enc_capa=0xf
Jan 01 00:04:48.685114:   capabilities: key_mgmt 0xf enc 0xf
Jan 01 00:04:48.687493: Own MAC address: 00:02:6f:33:b9:f3
Jan 01 00:04:48.689144: wpa_driver_hostap_set_wpa: enabled=1
Jan 01 00:04:48.717601: wpa_driver_hostap_set_key: alg=none key_idx=0
set_tx=0 seq_len=0 key_len=0
Jan 01 00:04:48.719577: wpa_driver_hostap_set_key: alg=none key_idx=1
set_tx=0 seq_len=0 key_len=0
Jan 01 00:04:48.721646: wpa_driver_hostap_set_key: alg=none key_idx=2
set_tx=0 seq_len=0 key_len=0
Jan 01 00:04:48.723617: wpa_driver_hostap_set_key: alg=none key_idx=3
set_tx=0 seq_len=0 key_len=0
Jan 01 00:04:48.725569: wpa_driver_hostap_set_countermeasures: enabled=0
Jan 01 00:04:48.727232: wpa_driver_hostap_set_drop_unencrypted: enabled=1
Jan 01 00:04:48.729154: Setting scan request: 0 sec 100000 usec
Jan 01 00:04:48.733220: Wireless event: cmd=0x8b06 len=8
Jan 01 00:04:48.840248: State: DISCONNECTED -> SCANNING
Jan 01 00:04:48.841828: Starting AP scan (broadcast SSID)
Jan 01 00:04:49.585271: Wireless event: cmd=0x8b19 len=12
Jan 01 00:04:49.589382: Received 484 bytes of scan results (5 BSSes)
Jan 01 00:04:49.591063: Scan results: 5
Jan 01 00:04:49.591550: Selecting BSS from priority group 0
Jan 01 00:04:49.591996: 0: 00:0f:66:c8:8b:17 ssid='ehelp.pl' wpa_ie_len=24
rsn_ie_len=0 caps=0x11
Jan 01 00:04:49.592730:    selected
Jan 01 00:04:49.593348: Trying to associate with 00:0f:66:c8:8b:17
(SSID='ehelp.pl' freq=2442 MHz)
Jan 01 00:04:49.593868: Cancelling scan request
Jan 01 00:04:49.594303: WPA: clearing own WPA/RSN IE
Jan 01 00:04:49.594827: Automatic auth_alg selection: 0x1
Jan 01 00:04:49.596800: WPA: using IEEE 802.11i/D3.0
Jan 01 00:04:49.597304: WPA: Selected cipher suites: group 16 pairwise 16
key_mgmt 2
Jan 01 00:04:49.597793: WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50
f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02
Jan 01 00:04:49.598913: WPA: clearing AP RSN IE
Jan 01 00:04:49.599362: WPA: using GTK CCMP
Jan 01 00:04:49.599822: WPA: using PTK CCMP
Jan 01 00:04:49.600386: WPA: using KEY_MGMT WPA-PSK
Jan 01 00:04:49.600834: WPA: Set own WPA IE default - hexdump(len=24): dd
16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02
Jan 01 00:04:49.601964: No keys have been configured - skip key clearing
Jan 01 00:04:49.602386: wpa_driver_hostap_set_drop_unencrypted: enabled=1
Jan 01 00:04:49.602884: State: SCANNING -> ASSOCIATING
Jan 01 00:04:49.603342: wpa_driver_hostap_associate
Jan 01 00:04:49.682081: Setting authentication timeout: 5 sec 0 usec
Jan 01 00:04:49.683711: EAPOL: External notification - EAP success=0
Jan 01 00:04:49.685605: EAPOL: External notification - EAP fail=0
Jan 01 00:04:49.687518: EAPOL: External notification - portControl=Auto
Jan 01 00:04:49.689943: Wireless event: cmd=0x8b06 len=8
Jan 01 00:04:49.691839: Wireless event: cmd=0x8b04 len=12
Jan 01 00:04:49.693635: Wireless event: cmd=0x8b1a len=21
Jan 01 00:04:54.690322: Authentication with 00:00:00:00:00:00 timed out.
Jan 01 00:04:54.691934: Added BSSID 00:00:00:00:00:00 into blacklist
Jan 01 00:04:54.693598: State: ASSOCIATING -> DISCONNECTED
Jan 01 00:04:54.695183: No keys have been configured - skip key clearing
Jan 01 00:04:54.696748: EAPOL: External notification - portEnabled=0
Jan 01 00:04:54.698641: EAPOL: External notification - portValid=0
Jan 01 00:04:54.700756: Setting scan request: 0 sec 0 usec
Jan 01 00:04:54.702447: State: DISCONNECTED -> SCANNING
Jan 01 00:04:54.704027: Starting AP scan (broadcast SSID)
Jan 01 00:04:55.353133: Wireless event: cmd=0x8b19 len=12
Jan 01 00:04:55.356399: Received 869 bytes of scan results (10 BSSes)
Jan 01 00:04:55.358006: Scan results: 10
Jan 01 00:04:55.359589: Selecting BSS from priority group 0
Jan 01 00:04:55.361261: 0: 00:12:17:e7:7a:cc ssid='ehelp.pl' wpa_ie_len=24
rsn_ie_len=0 caps=0x11
Jan 01 00:04:55.363036:    selected
Jan 01 00:04:55.364817: Trying to associate with 00:12:17:e7:7a:cc
(SSID='ehelp.pl' freq=2412 MHz)
Jan 01 00:04:55.366488: Cancelling scan request
Jan 01 00:04:55.368052: WPA: clearing own WPA/RSN IE
Jan 01 00:04:55.369610: Automatic auth_alg selection: 0x1
Jan 01 00:04:55.371609: WPA: using IEEE 802.11i/D3.0
Jan 01 00:04:55.373202: WPA: Selected cipher suites: group 16 pairwise 16
key_mgmt 2
Jan 01 00:04:55.374858: WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50
f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02
Jan 01 00:04:55.377138: WPA: clearing AP RSN IE
Jan 01 00:04:55.378754: WPA: using GTK CCMP
Jan 01 00:04:55.380451: WPA: using PTK CCMP
Jan 01 00:04:55.382066: WPA: using KEY_MGMT WPA-PSK
Jan 01 00:04:55.383649: WPA: Set own WPA IE default - hexdump(len=24): dd
16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02
Jan 01 00:04:55.385952: No keys have been configured - skip key clearing
Jan 01 00:04:55.387168: wpa_driver_hostap_set_drop_unencrypted: enabled=1
Jan 01 00:04:55.389193: State: SCANNING -> ASSOCIATING
Jan 01 00:04:55.390884: wpa_driver_hostap_associate
Jan 01 00:04:55.469040: Setting authentication timeout: 5 sec 0 usec
Jan 01 00:04:55.470739: EAPOL: External notification - EAP success=0
Jan 01 00:04:55.472646: EAPOL: External notification - EAP fail=0
Jan 01 00:04:55.474538: EAPOL: External notification - portControl=Auto
Jan 01 00:04:55.476662: Wireless event: cmd=0x8b06 len=8
Jan 01 00:04:55.478438: Wireless event: cmd=0x8b04 len=12
Jan 01 00:04:55.480349: Wireless event: cmd=0x8b1a len=21
Jan 01 00:05:00.480314: Authentication with 00:00:00:00:00:00 timed out.
Jan 01 00:05:00.481920: BSSID 00:00:00:00:00:00 blacklist count
incremented to 2
Jan 01 00:05:00.483602: State: ASSOCIATING -> DISCONNECTED
Jan 01 00:05:00.485187: No keys have been configured - skip key clearing



Here is my /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="ehelp.pl"
        key_mgmt=WPA-PSK
#        proto=WPA
        pairwise=CCMP
        group=CCMP
        psk="........."
}

dmesg output:

hostap_crypt: registered algorithm 'NULL'
hostap_pci: 0.4.5 - 2005-09-25 (Jouni Malinen <jkmaline at cc.hut.fi>)
PCI: Enabling device 01:02.0 (0000 -> 0002)
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x0
prism2_hw_init: initialized in 190 ms
wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.7.4
wifi0: Intersil Prism2.5 PCI: mem=0x40002000, irq=6
wifi0: registered netdevice wlan0
hostap_crypt: registered algorithm 'CCMP'
prism2: wlan0: operating mode changed 3 -> 2
wlan0: Preferred AP (SIOCSIWAP) is used only in Managed mode when
host_roaming is enabled
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wifi0: no scan results for host roaming
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: Trying to join BSSID 00:0f:66:c8:8b:17
wifi0: LinkStatus=6 (Association failed)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wifi0: no scan results for host roaming
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wifi0: LinkStatus=2 (Disconnected)
wifi0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: Trying to join BSSID 00:12:17:e7:7a:cc
wifi0: LinkStatus=6 (Association failed)


root at OpenWrt:/# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:0F:66:C8:8B:17
                    ESSID:"ehelp.pl"
                    Mode:Master
                    Frequency:2.442 GHz (Channel 7)
                    Encryption key:on
                    (Unknown Wireless Token 0x8C05)
          Cell 02 - Address: 00:12:17:E7:7A:CC
                    ESSID:"ehelp.pl"
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    (Unknown Wireless Token 0x8C05)


The card is Senao miniPCI SL-2511MP PLUS 2.10

It has a sticker:
S/N: 044377522
NL-2511MP PLUS(ETSI)
MAC: 00026F33B9F3

What might be the problem? Please help.

-- 
FFII






More information about the Hostap mailing list