joukewitteveen / netctl

Profile based systemd network management
https://gitlab.archlinux.org/archlinux/netctl
GNU General Public License v3.0
176 stars 65 forks source link

WPA-Enterprise support in wifi-menu #9

Closed taylorchu closed 9 years ago

taylorchu commented 11 years ago

Currently all WPA-Enterprise ssids fail right away because wifi-menu cannot enter id and password.

joukewitteveen commented 11 years ago

Any news on this one? More details?

musteresel commented 11 years ago

I don't know whether it will be simple or even possible to implement this (in a nice way). The WLAN here at my university uses wpa-enterprise with id and password, plus additional security certificate. Connecting to such a wifi network is impossible unless the certifacte has been aquired on some other way first.

Furthermore there are many possibilities how the second authorisation is done. It may be (probably, i am unsure about this) not possible to select the required method automatically, meaning the user has to select this by hand.

I am unsure if this is faster / easier than just creating a netcl profile "by hand".

taylorchu commented 11 years ago

I refer to those APs that do not need cert.

musteresel commented 11 years ago

Could you provide the result of wpa_cli -i YOUR_INTERFACE scan && sleep 10 && wpa_cli -i YOUR_INTERFACE scan_results when you are in reach of such networks?

tlunter commented 11 years ago

I realize that this hasn't been updated in 18 days, but I was/am still having issues with netctl and WPA-Enterprise networks. Both CCIS-Wireless and NUWave I believe are WPA-Enterprise networks. You'll notice something funny happening towards the bottom with one of the networks being named null characters. I'm not really sure what's happening there. I chose to run the scan twice and embedded the results. Both say FAIL-BUSY at the top, but they have the same output as well I ran it and it said OK at the top.

FAIL-BUSY
bssid / frequency / signal level / flags / ssid
6c:f3:7f:b0:ec:92   5745    -56 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:ec:91   5745    -56 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:b0:e7:f1   5785    -58 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:b0:e7:f2   5785    -59 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:ed:52   5805    -68 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:ed:51   5805    -68 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
d8:c7:c8:4d:cc:30   5180    -71 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:eb:92   5745    -73 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:eb:91   5745    -74 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:b0:c8:10   5765    -75 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:c7:b0   5220    -77 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:cb:d0   5240    -76 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:c7:d0   5805    -79 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
10:6f:3f:3d:77:2d   2462    -76 [WPA2-PSK-CCMP][ESS]    OpenWiFi-secure
6c:f3:7f:b0:c8:00   2437    -75 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:ca:b0   5200    -81 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:ae:d9:f1   5785    -82 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:ae:d9:f2   5785    -82 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
98:fc:11:6d:f2:43   2462    -80 [WPA2-PSK-TKIP][ESS]    \x00\x00\x00\x00\x00\x00\x00\x00
d8:c7:c8:4d:ca:10   5240    -85 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:ca:00   2462    -87 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:cb:f1   5180    -57 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:ec:93   5745    -57 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:e7:f0   5785    -59 [ESS]   NUwave-guest
6c:f3:7f:b0:e7:f3   5785    -59 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:ed:50   5805    -69 [ESS]   NUwave-guest
6c:f3:7f:b0:ed:53   5805    -69 [ESS]   CCIS-Wireless-Guest
d8:c7:c8:4d:cc:31   5180    -71 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:eb:93   5745    -74 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:eb:90   5745    -74 [ESS]   NUwave-guest
6c:f3:7f:b0:c8:11   5765    -76 [ESS]   CCIS-Wireless-Guest
d8:c7:c8:4d:c7:b1   5220    -78 [ESS]   CCIS-Wireless-Guest
d8:c7:c8:4d:cb:d1   5240    -77 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:c8:01   2437    -74
FAIL-BUSY
bssid / frequency / signal level / flags / ssid
6c:f3:7f:b0:ec:91   5745    -48 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:b0:ec:92   5745    -48 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:cb:e0   2412    -54 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:e7:f2   5785    -63 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:e7:f1   5785    -63 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
d8:c7:c8:4d:cc:30   5180    -70 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:cb:c0   2437    -67 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:eb:92   5745    -72 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:ed:51   5805    -72 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:b0:ed:52   5805    -71 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:eb:91   5745    -73 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
10:6f:3f:3d:77:2d   2462    -68 [WPA2-PSK-CCMP][ESS]    OpenWiFi-secure
6c:f3:7f:b0:ed:41   2412    -69 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:b0:ed:42   2412    -69 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:cb:d0   5240    -74 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:e7:e2   2437    -64 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:e7:e1   2437    -64 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
98:fc:11:6d:f2:43   2462    -76 [WPA2-PSK-TKIP][ESS]    \x00\x00\x00\x00\x00\x00\x00\x00
d8:c7:c8:4d:c7:b0   5220    -77 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:c8:10   5765    -78 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:cc:20   2412    -75 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:c7:d0   5805    -80 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:ae:d9:f1   5785    -83 [WPA-EAP-TKIP][WPA2-EAP-CCMP][ESS]  NUwave
6c:f3:7f:ae:d9:f2   5785    -83 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:e8:f2   5220    -87 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
d8:c7:c8:4d:ca:10   5240    -88 [WPA2-EAP-CCMP][ESS]    CCIS-Wireless
6c:f3:7f:b0:ec:93   5745    -49 [ESS]   CCIS-Wireless-Guest
d8:c7:c8:4d:cb:e1   2412    -54 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:e7:f3   5785    -63 [ESS]   CCIS-Wireless-Guest
6c:f3:7f:b0:e7:f0   5785    -62 [ESS]   NUwave-guest
d8:c7:c8:4d:cb:f1   5180    -63 [ESS]   CCIS-Wireless-Guest
d8:c7:c8:4d:cc:31   5180    -70 [ESS]   CCIS-Wireless-Guest
d8:c7:%
victoredwardocallaghan commented 11 years ago

I too have this issue, maybe netctl should 'catch' such networks and inform the user as to lack of support and that template files are to be found in /etc/netctl/examples.. I will fork and have a go at adding this atleast and perhaps it can be extended in the future to actually add support in another menu system since WPA-E is a bit more involved then just a pass{key,phrase}.