#2069: 802.1x authentiactaion for wpa_supplicant on atheros chips
-------------------------+---------------------------------------
  Reporter:  wwwforms@…  |      Owner:  florian
      Type:  defect      |     Status:  reopened
  Priority:  low         |  Milestone:  Attitude Adjustment 12.09
 Component:  packages    |    Version:
Resolution:              |   Keywords:  802.1x wpa_supplicant
-------------------------+---------------------------------------

Comment (by valent.turkovic@…):

 Ok, getting closer :) I was missing also line "option key_mgmt"

 Now my wirelss config looks like this:

 config wifi-iface
     option device 'radio0'
     option network 'wan'
     option mode 'sta'
     option encryption 'wpa'
     option key 'none'
     option ssid 'eduroam'
     option key_mgmt 'WPA-EAP'
     option eap_type 'TTLS'
     option anonymous_identity '[email protected]'
     option identity 'username'
     option password 'password'
     option ca_cert '/root/deutsche-telekom-root-ca-2.crt'
     option phase2 'PAP'


 But I still get errors and disconnects!

 [  556.330000] wlan0: authenticate with 00:22:91:76:xx:xx
 [  556.340000] wlan0: send auth to 00:22:91:76:xx:xx (try 1/3)
 [  556.340000] wlan0: authenticated
 [  556.350000] ath9k ar933x_wmac wlan0: disabling HT/VHT due to WEP/TKIP
 use
 [  556.360000] wlan0: associate with 00:22:91:76:xx:xx (try 1/3)
 [  556.360000] wlan0: RX AssocResp from 00:22:91:76:xx:xx (capab=0x431
 status=0 aid=47)
 [  556.370000] wlan0: associated
 [  579.170000] wlan0: deauthenticated from 00:22:91:76:xx:xx (Reason: 0)

 But it looks like most of the options get removed when they are parsed
 into /var/run/wpa_supplicant-wlan0.conf! Why ?!?

 Here is how it looks like:

 cat /var/run/wpa_supplicant-wlan0.conf

 network={
         scan_ssid=1
         ssid="eduroam"
         key_mgmt=WPA-EAP
         ca_cert="/root/deutsche-telekom-root-ca-2.crt"
         identity="username"
         phase2="MSCHAPV2"
         password="password"
         eap=TTLS
         proto=WPA
 }

 WHy is MSCHAPV2 when I explicitly put PAP into config?!? Why is
 anonymous_identity missing completely?

--
Ticket URL: <https://dev.openwrt.org/ticket/2069#comment:9>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to