Skip to content

Translating network setup instructions from windows to netctl

I'm trying to connect to a wpa-enterprise network using netctl and wpa_supplicant. I know that it is possible to do using networkmanager but that doesn't work well with my hardware (the connection keeps disconnecting). I've got instructions for setting up windows from IT but I don't know if I'm doing it right. Heres what I've got for the netctl profile now:

Connection=wireless
Interface=wlp2s0
Security=wpa-configsection
Description="eduroam network"
IP=dhcp
ESSID=eduroam
TimeoutWPA=30
WPAConfigSection=(
    'ssid="eduroam"'
    'scan_ssid=1'
    'key_mgmt=WPA-EAP'
    'eap=PEAP'
    'identity="anonymous@REDACTED"'
    'password="REDACTED"'
    'ca_cert="/etc/ssl/certs/AddTrust_External_Root.pem"'
    'phase1="peaplabel=0"'
    'phase2="auth=MSCHAPV2"'
)

The instructions I have says:

Security type: WPA2-Enterprise
Encryption type: AES
Network Authentication Method: Microsoft PEAP
Validate server certificate: check
Connect to these servers: radius2-1.domain.com
Trusted Root Certification Authorities: AddTrust External CA Root
Authentication method: EAP-MSCHAP v2
Enable fast reconnect: check
802.1x settings -> specify authentication mode: User authentication

I don't know what I'm doing wrong or right because the only thing I get from journal -xe is that wpa authentication failed. I'm thankful for any suggestions on how to get this to work.

Edit: I've tried the netctl-eduroam profile and various others that I've found online but none of those works.

Edited 7 May 2015. We only hold this version.

5 points3 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
5 · 100% up
Kind
Text
ID
356an2

Author

1
posts
1
comments
0
media
View profile

3 comments

Did you actually change anything in that config? For example, in 'ssid="ssidname"', ssidname should be replaced with eduroam, and in 'identity="name@domain"', name@domain should be replaced with your credentials.

It also says that right here.

Here's an example from when I used netctl (using connman now), without my credentials for obvious reasons.

Connection='wireless'
Interface=wlp3s0
Security='wpa-configsection'
Description="eduroam network"
IP='dhcp'
TimeoutWPA=30
WPAConfigSection=(
    'ssid="eduroam"'
    'key_mgmt=WPA-EAP'
    'eap=TTLS'
    'proto=WPA2'
    'phase2="auth=PAP"'
   'anonymous_identity="anonymous@REDACTED"'
    'identity="REDACTED"' 
    'ca_cert="/usr/share/ca-certificates/trust-source/mozilla.trust.crt"'
    'password="REDACTED"'
)
2 points

Yes, i did. I was trying to make it a bit less specific but I forgot about the ESSID and made an edit instead. I use 'ssid="eduroam"' and the identity is username@schooldomain as per the windows instructions.

The certificate is the one I'm trying to use because the name is pretty close to the one used in the instructions.

1 points

I have also had my fair share of problems with eduroam, my solution was to use networkmanager and nm-applet. I haven't got it to work with netctl or wicd... I hate eduroam so much...

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.