Skip to content

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
8 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
8 · 100% up
Kind
Text
ID
80mois

Author

1
posts
0
comments
0
media
View profile

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.