You are not logged in.

#1 2014-03-18 14:49:54

granra
Member
Registered: 2014-03-15
Posts: 8

[Solved] Problem connecting to University wifi with netctl

Hi.
I'm in university and recently reinstalled Arch Linux due to a drive failure. I remember having a little bit difficulty configuring a netctl profile for the uni wifi but I can't seem to get it now.

Here are instructions on how to do it in Ubuntu

And here's what I have now:

Description='A wireless connection using a custom network block configuration'
Interface=wlp3s0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="<ssid>"'
    'key_mgmt=WPA-EAP'
    'eap=PEAP'
    'group=TKIP'
    'pairwise=TKIP CCMP'
    'anonymous_identity="anonymous"'
    'identity="<user>"'
    'password="<password>"'
    'priority=1'
    'phase2="auth=PAP"'
)

Where <ssid>, <user> and <password> are filled with the right info.

I always get "WPA association/authentication failed for interface 'wlp3s0'".

Thanks.

Last edited by granra (2014-03-18 20:19:47)

Offline

#2 2014-03-18 15:16:04

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: [Solved] Problem connecting to University wifi with netctl

This is always a pain in the ass. I know that NetworkManager will connect to my univeristy wifi correctly and it will dump it's wpa_supplicant configuration to journalctl. Maybe you could try that. You may also try remove group and pairwise and change the phase2 to MSCHAPV2, though there's no gauruntee that that's how your university's wifi is set up.

Offline

#3 2014-03-18 15:47:52

Gusar
Member
Registered: 2009-08-25
Posts: 3,606

Re: [Solved] Problem connecting to University wifi with netctl

Are you sure you've set anonymous_identity correctly or that you even need to set it? It's usually used with TTLS/PAP, but you're using PEAP. And cris9288 is right, PEAP usually goes with MSCHAPv2 authentication. Also, there's no need to specify group and pairwise, they're handled automatically.

Basically, I've seen two methods used to connect to university networks: TTLS/PAP/anonymous_identity or PEAP/MSCHAPv2. You may also need certificates, in which case add this:

'ca_path="/etc/ssl/certs/"'
'ca_path2="/etc/ssl/certs/"'

Last edited by Gusar (2014-03-18 15:48:33)

Offline

#4 2014-03-18 20:11:42

granra
Member
Registered: 2014-03-15
Posts: 8

Re: [Solved] Problem connecting to University wifi with netctl

I got it working.

Description='A wireless connection using a custom network block configuration'
Interface=wlp3s0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="<ssid>"'
    'proto=RSN WPA'
    'key_mgmt=WPA-EAP'
    'eap=PEAP'
    'identity="<identity>"'
    'password="<password>"'
    'priority=1'
    'phase2="auth=MSCHAPv2"'
)

Now on to backing it up for future reference tongue

Thanks!

Offline

Board footer

Powered by FluxBB