You are not logged in.

#1 2019-08-27 18:37:20

postfinem
Member
Registered: 2019-08-27
Posts: 7

[SOLVED] Can't connect to university wifi (eduroam) with netctl

I've been trying to connect to my university's wifi network using netctl with pretty much every variation of eduroam config file that I could find on the internet, the most recent of which was the following:

Description='school wifi'
Connection=wireless
Interface=wlp2s0
Security=wpa-configsection
IP=dhcp
ESSID=school_wifi
WPAConfigSection=(
'ssid="school_wifi"'
'proto=RSN'
'key_mgmt=WPA_EAP'
'eap=PEAP'
'group=CCMP'
'identity="school_id"'
'password="school_password"'
'phase2="auth=MSCHAPV2 password=school_password"'
'ca_cert="/etc/ssl/certs/DigiCert_Global_Root_CA.pem"'
)

and my school's setup information says the following:

SSID:                                  school_wifi or eduroam  (I tried both)
Network Type:                   Infrastructure
Security:                            WPA2-Enterprise (not WPA2-PSK)
Encryption:                        AES
Authentication Type:         EAP-TTLS
Authentication Protocol:   PAP
Certificate Authority:         DigiCert Global Root CA certificate
Authentication Server:      server_url.edu

It also contains the note that "Your system may also require you to download the intermediate and server certificates," and has links to download the two certificates, neither of which I have downloaded, as I'm not sure what to do with them.

whenever I run 'sudo netctl start schoolWireless' there is a delay of about 30 seconds before the message

Job for netctl@schoolWireless.service failed because the control process exited with error code.
See "systemctl status netctl@schoolWireless.service" and "journalctl -xe" for details.

the output of 'systemctl status netctl@schoolWireless.service' is:

● netctl@schoolWireless.service - school wifi
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
  Drop-In: /etc/systemd/system/netctl@schoolWireless.service.d
           └─profile.conf
   Active: failed (Result: exit-code) since Tue 2019-08-27 14:00:01 EDT; 2min 8s ago
     Docs: man:netctl.profile(5)
  Process: 5375 ExecStart=/usr/lib/netctl/network start psuWireless (code=exited, status=1/FAILURE)
 Main PID: 5375 (code=exited, status=1/FAILURE)

and the output of 'journalctl -xe' is:

Aug 27 13:38:13 hostname sudo[3526]: pam_unix(sudo:auth): conversation failed
Aug 27 13:38:13 hostname sudo[3526]: pam_unix(sudo:auth): auth could not identify password for [username]

Last edited by postfinem (2019-09-09 01:15:03)

Offline

#2 2019-08-27 19:18:38

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED] Can't connect to university wifi (eduroam) with netctl

Your setup information translates to

eap=TTLS
phase2="auth=PAP"

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB