<div class="gmail_quote">Hi,<br> Sorry for the last mail, I accidently press send email short key.<br> I'm now trying to setup wireless device (Ralink driver) to use wpa_supplicant connecting to LinkSys AccessPoint (WAP54G).<br>
My radius server is running by freeradius.<br> I once use my laptop (WindowsXP SP2) connected to LinkSys with WPA-Enterprise (either TKIP/AES). Everything works fine. I got IP, can access network.<br>
<br> However, my wireless device is Ralink chipset (embedded system) running on Linux (mipsel-linux-compiler). It can do WPA-PSK (TKIP/AES) assocation.<br> My goal is to add WPA-Enterprise (either WPA, WPA2) on this driver.<br>
I use wpa_supplicant ver 0.4.7 with this wpa_supplicant.conf<br><br>ctrl_interface=/sbin<br>
ctrl_interface_group=0<br>eapol_version=1<br>ap_scan=2<br>fast_reauth=1<br>network={<br> ssid="LinkSys_75"<br> key_mgmt=WPA-EAP IEEE8021X<br> pairwise=CCMP TKIP<br> group=CCMP TKIP<br> psk="atopatop"<br>
eap=PEAP<br> identity="test"<br> password="test"<br> ca_cert="/sbin/ca.pem"<br> client_cert="/sbin/ca.pem"<br> phase1="peaplabel=0"<br> phase2="auth=MSCHAPV2"<br>
}<br><br><br>then run this command<br>./wpa_supplicant -d -c/sbin/wpa_supplicant.conf -ira0 -Dwext<br><br>Initializing interface 'ra0' conf '/sbin/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A'<br>
Configuration file '/sbin/wpa_supplicant.conf' -> '/sbin/wpa_supplicant.conf'<br>
Reading configuration file '/sbin/wpa_supplicant.conf'<br>ctrl_interface='/sbin'<br>ctrl_interface_group=0<br>eapol_version=1<br>ap_scan=2<br>fast_reauth=1<br>Priority group 0<br> id=0 ssid='LinkSys_75'<br>
Initializing interface (2) 'ra0'<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>EAPOL: SUPP_BE entering state INITIALIZE<br>EAP: EAP entering state DISABLED<br>EAPOL: External notification - portEnabled=0<br>
EAPOL: External notification - portValid=0<br>RT61: RfIcType= 3<br>ioctl[SIOCGIWRANGE]: Operation not supported<br>Own MAC address: 00:1a:4d:28:ef:5b<br>wpa_driver_wext_set_wpa<br>ioctl[SIOCSIWAUTH]: Operation not supported<br>
WEXT auth param 7 value 0x1 - Driver does not support WPA.<br>wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0<br>ioctl[SIOCSIWENCODEEXT]: Operation not supported<br>Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE<br>
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0<br>ioctl[SIOCSIWENCODEEXT]: Operation not supported<br>Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE<br>wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0<br>
ioctl[SIOCSIWENCODEEXT]: Operation not supported<br>Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE<br>wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0<br>ioctl[SIOCSIWENCODEEXT]: Operation not supported<br>
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE<br>wpa_driver_wext_set_countermeasures<br>ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted<br>
ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 5 value 0x1 - Setting scan request: 0 sec 100000 usec<br>Using existing control interface directory.<br>Added interface ra0<br>RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added<br>
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added<br>State: DISCONNECTED -> SCANNING<br>Trying to associate with SSID 'LinkSys_75'<br>Cancelling scan request<br>WPA: clearing own WPA/RSN IE<br>Automatic auth_alg selection: 0x1<br>
ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 6 value 0x1 - WPA: No WPA/RSN IE available from association info<br>WPA: Set cipher suites based on configuration<br>WPA: Selected cipher suites: group 24 pairwise 24 key_mgmt 9<br>
WPA: clearing AP WPA IE<br>WPA: clearing AP RSN IE<br>WPA: using GTK CCMP<br>WPA: using PTK CCMP<br>WPA: using KEY_MGMT 802.1X<br>WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00<br>
No keys have been configured - skip key clearing<br>wpa_driver_wext_set_drop_unencrypted<br>ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 5 value 0x1 - State: SCANNING -> ASSOCIATING<br>wpa_driver_wext_associate<br>
ioctl[SIOCSIWGENIE]: Operation not supported<br>ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 0 value 0x4 - ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 1 value 0x8 - ioctl[SIOCSIWAUTH]: Operation not supported<br>
WEXT auth param 2 value 0x8 - ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 3 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 10 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported<br>
WEXT auth param 8 value 0x0 - Association request to the driver failed<br>Setting authentication timeout: 60 sec 0 usec<br>EAPOL: External notification - portControl=Auto<br><br>
</div>then it waits....so long..<br>until I press ctrl+c to cancel<br><br>CTRL-EVENT-TERMINATING - signal 2 received<br>Removing interface ra0<br>State: ASSOCIATING -> DISCONNECTED<br>No keys have been configured - skip key clearing<br>
EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<br>wpa_driver_wext_set_wpa<br>ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 7 value 0x0 - Failed to disable WPA in the driver.<br>
wpa_driver_wext_set_drop_unencrypted<br>ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 5 value 0x0 - wpa_driver_wext_set_countermeasures<br>ioctl[SIOCSIWAUTH]: Operation not supported<br>WEXT auth param 4 value 0x0 - No keys have been configured - skip key clearing<br>
Control interface directory not empty - leaving it behind<br>Cancelling scan request<br><br> What am I suppoed to do? Can anyone just give me some clues so that I can go further?<br> Or I'm supposed to dig into the source code?<br>
I once try ./wpa_supplicant -d -c/sbin/wpa_supplicant.conf -ira0 -Dralink but it says Unsupported driver 'ralink'<br><br>Best regards,<br>Pongsak<br>