Question about WEP on wpa_supplicant

Soft Ergate ergatesoft
Thu May 25 00:16:25 PDT 2006


Hello, 
I am a user of wpa_supplicant, there is a trouble when I try WEP on 
wpa_supplicant(0.4.8). 
Could you help me? 
Thanks! 

Below is configuration and debug info. 

ctrl_interface=/var/run/wpa_supplicant 

network={ 
        ssid="wireless0" 
        key_mgmt=NONE 
        wep_key0="aaaaa" 
        wep_key1=0102030405 
        wep_tx_keyidx=0 
} 


# ./wpa_supplicant -Dwext -ieth0 -c./wep.conf -d 
Initializing interface 'eth0' conf './wep.conf' driver 'wext' 
ctrl_interface 'N/ 
A' 
Configuration file './wep.conf' -> '/jffs2/./wep.conf' 
Reading configuration file '/jffs2/./wep.conf' 
ctrl_interface='/var/run/wpa_supplicant' 
Priority group 0 
   id=0 ssid='wireless0' 
Initializing interface (2) 'eth0' 
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 
ioctl[SIOCSIWPMKSA]: Operation not permitted 
SIOCGIWRANGE: too old (short) data - assuming WPA is not supported 
Own MAC address: 00:0b:6c:53:6e:f4 
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 
Added interface eth0 
Wireless event: cmd=0x8b06 len=8 
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added 
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added 
State: DISCONNECTED -> SCANNING 
Starting AP scan (broadcast SSID) 
Wireless event: cmd=0x8b19 len=20 
Received 270 bytes of scan results (3 BSSes) 
Scan results: 3 
Selecting BSS from priority group 0 
0: 00:d0:d0:7f:c3:67 ssid='wireless0' wpa_ie_len=0 rsn_ie_len=0 caps=0x11 
   skip - no WPA/RSN IE 
1: 00:d0:d0:7f:c3:99 ssid='ap1' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 
   skip - no WPA/RSN IE 
2: 02:0c:f1:2b:a4:e4 ssid='zxwlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 
   skip - no WPA/RSN IE 
   selected non-WPA AP 00:d0:d0:7f:c3:67 ssid='wireless0' 
Trying to associate with 00:d0:d0:7f:c3:67 (SSID='wireless0' freq=2462 MHz) 

Cancelling scan request 
WPA: clearing own WPA/RSN IE 
Automatic auth_alg selection: 0x1 
WPA: clearing AP WPA IE 
WPA: clearing AP RSN IE 
WPA: clearing own WPA/RSN IE 
No keys have been configured - skip key clearing 
wpa_driver_wext_set_key: alg=1 key_idx=0 set_tx=1 seq_len=0 key_len=5 
wpa_driver_wext_set_key: alg=1 key_idx=1 set_tx=0 seq_len=0 key_len=5 
wpa_driver_wext_set_drop_unencrypted 
State: SCANNING -> ASSOCIATING 
wpa_driver_wext_associate 
ioctl[SIOCSIWESSID]: Connection refused 
ioctl[SIOCSIWAP]: Connection refused 
Association request to the driver failed, errno = -12 
Setting authentication timeout: 5 sec 0 usec 
EAPOL: External notification - portControl=ForceAuthorized 
Wireless event: cmd=0x8b06 len=8 
Authentication with 00:00:00:00:00:00 timed out. 
Added BSSID 00:00:00:00:00:00 into blacklist 
State: ASSOCIATING -> DISCONNECTED 
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 
EAPOL: External notification - portEnabled=0 
EAPOL: External notification - portValid=0 
Setting scan request: 0 sec 0 usec 
State: DISCONNECTED -> SCANNING 
Starting AP scan (broadcast SSID) 
Wireless event: cmd=0x8b19 len=20 
Received 270 bytes of scan results (3 BSSes) 
Scan results: 3 
Selecting BSS from priority group 0 
0: 00:d0:d0:7f:c3:67 ssid='wireless0' wpa_ie_len=0 rsn_ie_len=0 caps=0x11 
   skip - no WPA/RSN IE 
1: 00:d0:d0:7f:c3:99 ssid='ap1' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 
   skip - no WPA/RSN IE 
2: 02:0c:f1:2b:a4:e4 ssid='zxwlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 
   skip - no WPA/RSN IE 
   selected non-WPA AP 00:d0:d0:7f:c3:67 ssid='wireless0' 
Trying to associate with 00:d0:d0:7f:c3:67 (SSID='wireless0' freq=2462 MHz) 

Cancelling scan request 
WPA: clearing own WPA/RSN IE 
Automatic auth_alg selection: 0x1 
WPA: clearing AP WPA IE 
WPA: clearing AP RSN IE 
WPA: clearing own WPA/RSN IE 
No keys have been configured - skip key clearing 
wpa_driver_wext_set_key: alg=1 key_idx=0 set_tx=1 seq_len=0 key_len=5 
wpa_driver_wext_set_key: alg=1 key_idx=1 set_tx=0 seq_len=0 key_len=5 
wpa_driver_wext_set_drop_unencrypted 
State: SCANNING -> ASSOCIATING 
wpa_driver_wext_associate 
ioctl[SIOCSIWESSID]: Connection refused 
ioctl[SIOCSIWAP]: Connection refused 
Association request to the driver failed, errno = -12 
Setting authentication timeout: 5 sec 0 usec 
EAPOL: External notification - portControl=ForceAuthorized 
Wireless event: cmd=0x8b06 len=8 
Authentication with 00:00:00:00:00:00 timed out. 
BSSID 00:00:00:00:00:00 blacklist count incremented to 2 
State: ASSOCIATING -> DISCONNECTED 
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 
EAPOL: External notification - portEnabled=0 
EAPOL: External notification - portValid=0

_________________________________________________________________
?????????????? MSN Messenger:  http://messenger.msn.com/cn  





More information about the Hostap mailing list