How to log into Cardiff University’s eduroam network
Today, I moved into Talybont Court and had some issues connecting to the WIFI network.
Their instructions only support the common operating systems (Windows, iOS, Android, Ubuntu). While you might assume that the installer script for Ubuntu would work for other Linux distros, it fails due to missing dependencies and different file paths.Error messages were non-existant. It just hangs at 100% CPU. Additionally, it’s very insecure to run their script as it installs a root CA that could allow them to conduct MITM attacks.
Dependencies:
openssl
- Gnome Settings
Steps:
- Connect to
CU-Wireless
. - Go to https://onboard.cardiff.ac.uk/.
- Select your operating system as “Other.”
- Enter your university email and password—the same one used for the intranet.
- Download
OnboardCertificate.pkcs12
(automatic) andCardiffUniversityRootCA.crt
(manual). Copy the certificate password. You can ignoreClearPass_Onboard_Certificate_Authority.crt
- Run
openssl pkcs12 -in OnboardCertificate.pkcs12
and enter the certificate password from the site three times for convenience. - Copy and save the certificate and private key in separate files. Place them somewhere you won’t move/delete. I put them in
~/.config/certs
.priv.pem
starts with-----BEGIN ENCRYPTED PRIVATE KEY-----
anduser_cert.pem
starts with-----BEGIN CERTIFICATE-----
. - Connect to the
eduroam
network with the following settings (Refer to the image below):
The “User key password” is the certificate password from earlier.
If you have any questions, feel free to contact me via email: CheongYX@cardiff.ac.uk