Skip to content

eduroam template for fellow arch users at UWaterloo :)

Notifications You must be signed in to change notification settings

Atomyka/UWaterloo_eduroam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UWaterloo_eduroam

eduroam template for fellow arch users at UWaterloo!

The joys of connecting to eduroam... a rite of initiation upon arrival at university, a rich set of difficulties shared by student communities across the globe. With the risk of destroying this bonding experience, I hope the following will make the process of connecting to eduroam not just easier but perhaps even a little interesting :)

How-To

The most basic, fool-proof method of connecting on Linux I have found (other than nm-connection-editor) is via iwd. Install the iwd package and follow the commands under "Usage - Connect to a Network". However, you will need a special .8021x file for this to work, as is the case for any wifi set-up using WPA Enterprise (see below for some details behind this perhaps cryptic term). This file is precisely the template in this Git repo. Just replace the placeholders with your own [username] and [password] and save in /var/lib/iwd.

The second file is the digital certificate, whose purpose is also lightly explained below. Actually, you will already have a folder with all certificates on your machine, located in /etc/ca-certificates/extracted/cadir. UWaterloo specificies which specific certificate to use (GlobalSignRootCA - R3). In case you are unsure, the certificate (ca.pem) is uploaded here for you to cross-check.

Under the Hood

But what actually do those specifications mean? At the core of secure wifi is WPA - Wifi Protected Access. It is one of the core security programs overseen by the Wifi-Alliance, a non-profit bundle of companies based in Texas. Depending on who/where you are - privately using wifi at home or browsing in the network of a larger organization - you will be using either WPA-Personal or WPA-Enterprise.

The latter relevant for eduroam, so let's take a closer look: Structurally, there are 3 components in the connection process of WPA Enterprise: You (or rather your laptop), an authenticator and an authentication server. Picture that server as the guardian of the network - you have to prove your worthiness to the server to gain access. How to succeed? Using your username, password and the digital certificate. Combined together, these will allow you to perform a handshake with the server. And what is the right etiquette to talk to this server? It's the MSCHAPV2 protocol, developed by Microsoft.

EAP setup

Source: Wikipedia

If you take a look in the .8021x file, MSCHAPV2 is the EAP-Method. What's EAP? Extensible Authentication Protocol. A lot of protocols, you're probably thinking. Might seem overkill, but this landscape of mechanisms is what enables us to communicate securely across the world. That's no trivial task and we hardly stop to appreciate the amount of infrastructure built and agreements made when we're browsing. So shout out to the people at IEEE!

One final note: The internet is build up in layers. To ensure safety, not all information is shared between all layers. You can think of each layer as a blackblox that takes care of a specific task and can rely on the other layers to do their job without knowing too many details through so-called encapsulation. In the case of EAP, this protocol is encapsulated in the IEEE 8021x standard. I'm just mentioning this to explain why on earth the template is a .8021x file. One more buidling block in the big puzzle of secure Internet!

About

eduroam template for fellow arch users at UWaterloo :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published