Wpa_supplicant can not send associattion request

cathylilu cathyliu
Tue Mar 29 04:00:03 PST 2005


Dear All,

        I have some problems with wpa_supplicant v0.2.5+prism54. 

Prism54 do not support WPA. So I modify the prism54 based on initial patches
from Jouni Malinen  <mailto:jkmaline at cc.hut.fi> jkmaline at cc.hut.fi

Wpa_supplicant can not send ASSOC Req to the AP. 

Wpa_supplicant has following actions

         1. Scan

     2. Get_scan_result

     3. Set_wpa_ie, Set_freq, Set_ssid, Set_bssid

After Set_bssid, Wpa_supplicant can not trigger the dirver to send
"ASSCOReq"

See below wpa_supplicant.conf and debug message log

Any comment for me, I will very appreciate.      

 

Thanks in advance.

CathyLiu

    

     Here is my wpa_supplicant.conf 

###########################################################################

        ctrl_interface=/var/run/wpa_supplicant

eapol_version=1

# Only WPA-PSK is used. Any valid cipher combination is accepted.

network={
ssid="SURFAP1"

                proto=WPA

                key_mgmt=WPA-PSK

                pairwise=CCMP TKIP

                group=CCMP TKIP WEP104 WEP40      

                #psk="secretpassphrase"

 
psk=125e8baeb8b8581f8834b9b4fef8379719d417dc9506fb06872f61774615d947      

}

############################################################################
########

Here is my debug message log 

./wpa_supplicant  -c ./wpa_supplicant.conf -i eth0 -dd

   

Configuration file './wpa_supplicant.conf' -> '/test/./wpa_supplicant.conf'

Reading configuration file '/test/./wpa_supplicant.conf'

ctrl_interface='/var/run/wpa_supplicant'

eapol_version=1

Line: 57 - start of a new network block

SSID - hexdump_ascii(len=7):

     53 55 52 46 41 50 31                              SURFAP1         

proto: 0x1

key_mgmt: 0x2

pairwise: 0x18

group: 0x1e

PSK - hexdump(len=32): 12 5e 8b ae b8 b8 58 1f 88 34 b9 b4 fe f8 37 97 19 d4
17 

dc 95 06 fb 06 87 2f 61 77 46 15 d9 47

Priority group 0

   id=0 ssid='SURFAP1'

EAPOL: SUPP_PAE entering state DISCONNECTED

EAPOL: KEY_RX entering state 

O_KEY_RECEIVE

EAPOL: SUPP_BE entering state INITIALIZE

EAP: EAeth0: Enabling WPA

P entering state DISABLED

EAPOL: External notification - portEneth0: Enabling WPA Successfully....

abled=0

EAPOL: External notification - portValid=0

Successfuly to init eanbale wpa Enter Here IW_IS_SET(cmd)

 

wpa_driver_prism54_set_key: alg=none key_idx=0 set_tx=0 seq_leEnter Here
IW_IS_S

ET(cmd)

n=0 key_len=0

successfuly to set encryption.

wpa_driver_prism5Enter Here IW_IS_SET(cmd)

4_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0

succEnter Here IW_IS_SET(cmd)

essfuly to set encryption.

wpa_driver_prism54_set_key: alg=noneEnter Here IW_IS_SET(cmd)

 key_idx=2 set_tx=0 seq_len=0 key_len=0

successfuly to set encryption.

wpa_driver_prism54_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0

successfuly to set encryption.

wpa_driver_prism54_set_countermeasures - not yet implemented

wpa_driver_prism54_set_drop_unencrypted eth0

wpa_driver_prism54_set_drop_unencrypted: enabled=1

blen=48

Successfuly to set_drop_unencrypted 

Setting scan request: 0 sec 100000 usec

Starting AP scan (broadcast SSID)

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:12:9E:FF:99:1C
(00)'

Wireless event: cmd=0x8c02 len=76

Custom wireless event: 'Authenticate request (ex) to 00:12:9E:FF:99:1C  :
ACCEPT

ED  (00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:12:9E:FF:99:1C
(00)'

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:FF:F0:06

  (00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:12:9E:FF:99:1C
(00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Scan timeout - try to get results

Scan results: 9

Selecting BSS from priority group 0

0: 00:a0:c5:99:09:76 ssid='SURFAP1' wpa_ie_len=24 rsn_ie_len=0

Trying to associate with 00:a0:c5:99:09:76 (SSID='SURFAP1'freq=2462 MHz)

Cancelling scan request

WPA: using IEEE 802.11i/D3.0

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

wpa_driver_prism54_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0

successfuly to set encryption.

wpa_driver_prism54_set_key: algnone key_idx=1 set_tx=0 seq_len=0 key_len=0

successfuly to set encryption.

wpa_driver_prism54_set_key: alg=none key_idx=2 set_ASSOCIATE_NO_Error....

tx=0 seq_len=0 key_len=0

successfuly to set encryption.

wpa_driver_prism54_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0

successfuly to set encryption.

wpa_driver_prism54_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0

successfuly to set encryption.

wpa_driver_prism54_set_drop_unencrypted eth0

wpa_driver_prism54_set_drop_unencrypted: enabled=1

Successfuly to set_drop_unencrypted 

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=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:FF:99:1C

  (00)'

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:FF:99:3A

  (00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:12:9E:FF:99:1C
(00)'

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:A0:C5:99:09:76

  (00)'

Wireless event: cmd=0x8c02 len=76

Custom wireless event: 'Authenticate request (ex) to 00:12:9E:FF:99:1C  :
ACCEPT

ED  (00)'

Wireless event: cmd=0x8b04 len=12

Wireless event: cmd=0x8b1a len=20

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=76

Custom wireless event: 'Authenticate request (ex) to 00:A0:C5:99:09:76  :
ACCEPT

ED  (00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:FF:99:3B

  (00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=76

Custom wireless event: 'Authenticate request (ex) to 00:A0:C5:99:09:76  :
ACCEPT

ED  (00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:FF:F0:06

  (00)'

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:F0:00:0A

  (00)'

Authentication with 00:00:00:00:00:00 timed out.

Setting scan request: 0 sec 0 usec

Starting AP scan (broadcast SSID)

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:FF:99:3A

  (00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:FF:99:1C

  (00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=74

Custom wireless event: 'Received a beacon from an unkown AP to
00:12:9E:F0:00:1D

  (00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=67

Custom wireless event: 'Received a probe from client to 00:A0:C5:99:09:76
(00)'

Wireless event: cmd=0x8c02 len=76

Custom wireless event: 'Authenticate request (ex) to 00:A0:C5:99:09:76  :
ACCEPT

ED  (00)'

############################################################################
##################

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20050329/e392a5c3/attachment.htm 



More information about the Hostap mailing list