wpa_supplicant and driverloader...

Romano Giannetti romanol
Tue Dec 21 02:45:33 PST 2004


Hi Jouni, hi all, 

   as you probably know, I have problems with connecting to my network with 
wpa_supplicant ( http://www.dea.icai.upco.es/romano/wifi/report5-0.txt ). I
tracked wpa_supplicant and ndiswrapper development, but no success so far. 

   In order to try to see if the problem was a ndiswrapper or wpa_supplicant
one, I downloaded linuxant driver and obtained a try license, and then
recompiled wpa_supplicant with the hostap driver. Unfortunately, it doesn't
work. I am trying 0.3.1 because 0.3.2 seems to have problems wiyh
authentication (see my previous message): 

The config is: 

#ctrl_interface=/var/run/wpa_supplicant
#trl_interface_group=0

eapol_version=1
ap_scan=1

network={
        ssid="upco_wlan"
	key_mgmt=IEEE8021X
 	eap=PEAP
	#eapol_flags=3
	#scan_ssid=1
	identity="romano at upcont.es"
	password="[REMOVED]"
	phase2="auth=MSCHAPV2"
	# priority=1
}


And the log is: 

# ./wpa_supplicant -Dhostap -ieth2 -c/etc/wpa_supplicant.conf -d

Initializing interface 'eth2' conf '/etc/wpa_supplicant.conf' driver 'hostap'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
eapol_version=1
ap_scan=1
Priority group 0
   id=0 ssid='upco_wlan'
Initializing interface (2) 'eth2'
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
Own MAC address: 00:0b:9d:00:b2:6e
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b19 len=12
Received 688 bytes of scan results (4 BSSes)
Scan results: 4
Selecting BSS from priority group 0
0: 00:11:5c:6b:90:e0 ssid='upco_wlan' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:11:5c:77:82:40 ssid='upco_wlan' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 00:11:5c:6b:8f:60 ssid='upco_wlan' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
3: 00:11:5c:6b:8f:20 ssid='upco_wlan' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:11:5c:6b:90:e0 ssid='upco_wlan'
Trying to associate with 00:11:5c:6b:90:e0 (SSID='upco_wlan' freq=2442 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
No keys have been configured - skip key clearing
wpa_driver_hostap_set_drop_unencrypted: enabled=1
wpa_driver_hostap_associate
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
hostap: Failed to configure ieee_802_1x param
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)


Thanks again!! 

       Romano
   
-- 
Romano Giannetti             -  Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416  fax +34 915 596 569




More information about the Hostap mailing list