<div class="gmail_quote">Hi,<br>&nbsp;&nbsp; Sorry for the last mail, I accidently press send email short key.<br>&nbsp;&nbsp; I&#39;m now trying to setup wireless device (Ralink driver) to use wpa_supplicant connecting to LinkSys AccessPoint (WAP54G).<br>
&nbsp;&nbsp; My radius server is running by freeradius.<br>&nbsp;&nbsp; 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>
&nbsp;&nbsp; <br>&nbsp; However, my wireless device is Ralink chipset (embedded system) running on Linux (mipsel-linux-compiler). It can do WPA-PSK (TKIP/AES) assocation.<br>&nbsp; My goal is to add WPA-Enterprise (either WPA, WPA2) on this driver.<br>
&nbsp; 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>&nbsp;&nbsp;&nbsp; ssid=&quot;LinkSys_75&quot;<br>&nbsp;&nbsp;&nbsp; key_mgmt=WPA-EAP IEEE8021X<br>&nbsp;&nbsp;&nbsp; pairwise=CCMP TKIP<br>&nbsp;&nbsp;&nbsp; group=CCMP TKIP<br>&nbsp;&nbsp;&nbsp; psk=&quot;atopatop&quot;<br>

&nbsp;&nbsp;&nbsp; eap=PEAP<br>&nbsp;&nbsp;&nbsp; identity=&quot;test&quot;<br>&nbsp;&nbsp;&nbsp; password=&quot;test&quot;<br>&nbsp;&nbsp;&nbsp; ca_cert=&quot;/sbin/ca.pem&quot;<br>&nbsp;&nbsp;&nbsp; client_cert=&quot;/sbin/ca.pem&quot;<br>&nbsp;&nbsp;&nbsp; phase1=&quot;peaplabel=0&quot;<br>&nbsp;&nbsp;&nbsp; phase2=&quot;auth=MSCHAPV2&quot;<br>

}<br><br><br>then run this command<br>./wpa_supplicant -d -c/sbin/wpa_supplicant.conf -ira0 -Dwext<br><br>Initializing interface &#39;ra0&#39; conf &#39;/sbin/wpa_supplicant.conf&#39; driver &#39;wext&#39; ctrl_interface &#39;N/A&#39;<br>
Configuration file &#39;/sbin/wpa_supplicant.conf&#39; -&gt; &#39;/sbin/wpa_supplicant.conf&#39;<br>
Reading configuration file &#39;/sbin/wpa_supplicant.conf&#39;<br>ctrl_interface=&#39;/sbin&#39;<br>ctrl_interface_group=0<br>eapol_version=1<br>ap_scan=2<br>fast_reauth=1<br>Priority group 0<br>&nbsp;&nbsp; id=0 ssid=&#39;LinkSys_75&#39;<br>

Initializing interface (2) &#39;ra0&#39;<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 &#39;ra0&#39; added<br>

RTM_NEWLINK, IFLA_IFNAME: Interface &#39;ra0&#39; added<br>State: DISCONNECTED -&gt; SCANNING<br>Trying to associate with SSID &#39;LinkSys_75&#39;<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 -&gt; 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 -&gt; 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>&nbsp;&nbsp;&nbsp; What am I suppoed to do? Can anyone just give me some clues so that I can go further?<br>&nbsp;&nbsp;&nbsp; Or I&#39;m supposed to dig into the source code?<br>
&nbsp;&nbsp;&nbsp; I once try ./wpa_supplicant -d -c/sbin/wpa_supplicant.conf -ira0 -Dralink but it says Unsupported driver &#39;ralink&#39;<br><br>Best regards,<br>Pongsak<br>