Solution for problems connecting to WPA2 Enterprise networks
Once upon a time, I had a problem connecting to my university network on Arch linux using netctl – the same problem as described in r/archlinux/wpa2 enterprise network authenticating. I have now found a workaround, but the original question is archived, so I’ll post the workaround here if that’s okay.
This how it works: Use Security=wpa-config instead of Security=wpa-configsection and include the line ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel in the referenced wpa-config file (possibly replacing the wheel group by whatever is the default user group on your system, I guess).
(I found the workaround here.)
Here’s my wpa-config file.
/etc/netctl/wpa-configs/bar
-----
# This is from https://github.com/codywd/NetGUI/issues/15
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
ssid="⟨ssid⟩"
scan_ssid=1
proto=RSN
key_mgmt=WPA-EAP
group=CCMP
eap=PEAP
ca_cert="⟨path of root certificate⟩"
identity="⟨identity⟩"
password="⟨password⟩"
phase2="auth=MSCHAPV2"
}
And here’s my corresponding netctl profile.
/etc/netctl/foo
-----
Description='⟨description⟩'
Interface=wlp2s0
Connection=wireless
Security=wpa-config
WPAConfigFile='/etc/netctl/wpa-configs/bar'
IP=dhcp
About this post
- Posted
- Archived
- Score
- 8 · 100% up
- Kind
- Text
- ID
- 80mois
1 comment
If you are able or willing to install another package I found nm-applet works wonders for connecting to WPA2 Enterprise. Gives me all the options needed as nmtui didn't seem to support enterprise.