Skip to content

WPA2 Enterprise network authenticating, associating, then disconnecting

I have set up a netctl profile for my university's WPA2 Enterprise network, but I cannot fully connect. Here is the profile (called /etc/netctl/eduroam, censored for personal info)

Description='Eduroam-profile for 'myuser''
Interface="wlp2s0b1"
Connection=wireless
Security=wpa-configsection
IP=dhcp
ForceConnect=yes
WPAConfigSection=(
 'ssid="myssid"'
 'key_mgmt=WPA-EAP'
 'eap=PEAP'
 'identity="myuser@myschool.edu"'
 'password="mypassword"'
 'phase2="auth=MSCHAPV2"'
 'ca_cert="/path/to/wifi_cert.cer"'
)

When I run netctl start eduroam, I get this error: Job for netctl@eduroam.service failed because the control process exited with error code. See "systemctl status netctl@eduroam.service" and "journalctl -xe" for details.

Pastebin of relevant systemctl output. Pastebin of relevant journalctl output.

It appears that it connects to the network, authenticates, associates, then disconnects itself. (Yes, my username and password are correct.) What am I doing wrong? How do I fix this? Thanks!

5 points15 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 100% up
Kind
Text
ID
508uvf

Author

22
posts
81
comments
4
media
View profile

15 comments

Try using the phase 2 with the auth method and password like this:

phase2="auth=MSCHAPV2 password=$my-password"
1 points

This didn't work. The error messages didn't change.

1 points

Just per chance, did you issue the "netctl enable eduroam" command first? I say that because line 41 of the pastebin for journalctl output indicates the profile doesn't exist.

1 points

No network configuration found for the current AP

Imho the setup of the name of the configuration is wrong as you have dash one side and camelxase the other, but I'm ignorant on WPA setting so I can be wrong

1 points

Not quite sure what you're referencing with the camelcase and dash, but I copied the config file template from the wiki.

1 points

OK, double chexk there is no network manager or systemd-network running. Btw why in sure this network is in netherland or sweden?

1 points

Is the permission to the wifi_cert.cer correct for your user and is the certificate the correct one?

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.