Connecting to eduroam with NetworkManager on the CLI
2025-12-12
I'm looking for work! (click to expand)
If you have questions or thoughts on the post I'd love to hear about it! I'm currently looking for work in the northeastern US. I'll be graduating with a BS in both Computer Science and Cyber Operations at the end of the school year. I have worked in web application development and Java, and I have experience in Rust, C++, Python, and various other languages. If you're curious about what I've done in the past, I keep up a short list of projects here or contact me to give me a place to send my resume. I figure anyone who reads my posts will have an interesting offer, so all leads are appreciated!
I decided to set myself up with Zirconium yesterday on my Framework 13. When I booted into Aurora (my chosen image to rebase from) I got the wifi working immediately. When I booted into Zirconium after switching, the wifi no longer worked.
When trying to connect manually via nmtui, it would give me a message along the lines of "AP security could not be confirmed" and stop connecting.
Other, non-enterprise networks worked fine.
To fix this, I finally found this post which describes how to connect to eduroam using nmcli.
The steps are as follows:
-
Find your network adapter with
ip link. -
Create the connection with
nmcli con add type wifi con-name "eduroam" ifname $INTERFACE ssid "eduroam" wifi-sec.key-mgmt wpa-eap 802-1x.identity "$USERNAME" 802-1x.password "$PASSWORD" 802-1x.system-ca-certs yes 802-1x.eap "peap" 802-1x.phase2-auth mschapv2. Replace$USERNAMEand$PASSWORDwith the connection details you would use when connecting through a GUI. Replace$INTERFACEwith the WiFi interface you found in step 1. -
Bring the connection up with
nmcli connection up eduroam --ask.