Connect to UWS with Ubuntu Linux
Modified on: Tue, 24 Oct 2023 9:25 AMIntroduction
This article will explain how to connect to the University Wireless Service (UWS) with a computer running Ubuntu Linux while on-campus at the University of Alberta.
Applicability
The steps in the procedure below apply to anyone with a valid University of Alberta Campus Computing ID (CCID) wishing to connect to UWS from an Ubuntu Linux equipped computer.
Procedure
1. Click the wireless network icon in the top right corner of the Ubuntu Unity task bar near the clock. There will be a list of available wireless networks available. Click on UWS.
2. Set the Authentication drop-down menu to “Protected EAP (PEAP)”, and use your CCID as your Username, with your regular CCID password as your Password. Click Connect.
3. If you see a Certificate Authority warning, you have the option of clicking “Don’t warn me again” and clicking Ignore.
4. After a moment of processing, UWS will connect.
From the Command Line Interface:
Using Netplan:
- Edit file /etc/netplan/50-cloud-init.yaml
- Add the information below, updated the fields as you go:
network:
version: 2
wifis:
:
dhcp4: true
access-points:
"UWS":
auth:
key-management: eap
method: peap
identity: "your_CCID username"
password: "your_CCID password"
phase2-auth: MSCHAPV2
-------------------------------------------------------------------------------------------------------------
Using a WPA Supplication file
- Edit /etc/wpa_supplicant/wpa_supplicant.conf
- Add the information below, updated the fields as you go:
network={
ssid="UWS"
key_mgmt=WPA-EAP
eap=PEAP
identity="your_CCID username"
password="your_CCID password"
phase2="auth=MSCHAPV2"
id_str="University_of_Alberta"
}
---------------------------------------------------------------------------------------------------------------
DO NOT store you password in clear text. Hash your password:
You can generate the NtPasswordHash (aka NTLM password hash) yourself as follows:
echo -n plaintext_password_here | iconv -t utf16le | openssl md4
Prefix it with "hash:" in the wpa_supplicant.conf file:
password=hash:
Keywords: UWS, connect, wireless, wifi, ubuntu, linux