wpa_supplicant problem in architecture arm

Nguyen Manh Toan diego10bk at gmail.com
Tue Aug 10 04:37:14 EDT 2010


Hello,
I want to use wpa_supplicant to connect to internet in a e-book who has a
operation system Linux 2.6.21 and ARM architecture.
My AP is  in WPA-TKIP and I use the command:
 *wpa_supplicant -c /etc/wpa_supplicant.conf -ddd -i eth0
   *


*with file config:*
*network={
        scan_ssid=0
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        ssid="cylpmdbosdpr"
        #psk="1234567890"
        psk=86c85ccff2b49277858e8cc883e21570660034ca17ccce669d1771694e7fb3c7
}*

I've tried to change AP to WEP and use many differents versions of
wpa_supplicant (0.6.10,0.6.9,0.6.1,0.5.9,0.5.7)
but il cannot connect.(I used the compilator:*arm-linux-gcc *,
openssl-0.9.8l )
*
here is the log:*

Initializing interface 'eth0' conf '/etc/wpa_supplicant.conf' driver
'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
scan_ssid=0 (0x0)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
ssid - hexdump_ascii(len=12):
     63 79 6c 70 6d 64 62 6f 73 64 70 72               cylpmdbosdpr
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='cylpmdbosdpr'
Initializing interface (2) 'eth0'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=19 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:27:13:ad:1d:7c
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 eth0
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8b1a len=40
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to
speed
up initial association
Received 0 bytes of scan results (0 BSSes)
Cached scan results are empty - not posting
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b19 len=8
Scan results did not fit - trying larger buffer (8192 bytes)
Scan results did not fit - trying larger buffer (16384 bytes)
Received 10266 bytes of scan results (50 BSSes)
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 1e:be:1f:90:6c:fd ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID not known
1: 1e:be:1f:90:6c:ff ssid='freephonie' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
2: 1e:be:1f:90:6c:fc ssid='freebox_italie' wpa_ie_len=26 rsn_ie_len=0
caps=0x11
   skip - SSID mismatch
3: b2:1c:fd:25:c0:0f ssid='freephonie' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
......

32: 12:d6:ba:c0:e8:6c ssid='cylpmdbosdpr' wpa_ie_len=22 rsn_ie_len=0
caps=0x11
   selected based on WPA IE
   selected WPA AP 12:d6:ba:c0:e8:6c ssid='cylpmdbosdpr'

Trying to associate with 12:d6:ba:c0:e8:6c (SSID='cylpmdbosdpr' freq=2412
MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP 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: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
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
wpawpa_driver_wext_set_psk
Setting authentication timeout: 10 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=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b1a len=20
Authentication with 12:d6:ba:c0:e8:6c timed out.
Added BSSID 12:d6:ba:c0:e8:6c into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 30 seconds
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth0
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED

-- 
Nguyen Manh Toan - ISI 2 ENSIMAG
129F residence OUEST
PFIEV k 50
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20100810/d5a28e7b/attachment.htm 


More information about the HostAP mailing list