Connecting Linux to Campus WiFi

Connecting Linux to Campus WiFi

Connecting Linux to Campus WiFi can be tricky. Here are some tips on connecting a basic Linux device to a Campus Wireless. Special attention is given to Ubuntu and Rasbian (Raspberry Pi). These are directly applicable to Wireless Networks CU Anschutz and CU Anschutz Guest.

Connecting Linux to Campus WiFi can be tricky. Here are some tips on connecting a basic Linux device to a Campus Wireless. Special attention is given to Ubuntu and Rasbian (Raspberry Pi). These are directly applicable to Wireless Networks CU Anschutz and CU Anschutz Guest.


VPN

Note that VPN programs frequently used by campuses don’t often accommodate Linux. Anschutz currently allows users to “VPN” in to the campus network so that you can have access to all the cool tools within the network (READ ALL THE SCIENCE JOURNALS!). Anschutz uses the program Cisco Anyconnect for VPN. But this program currently draws 100% of one CPU on your computer at all times (even when not in use). I might look into an alternative some day…


Connecting Linux, iOS, Android to UCDenver SOM networks: Anschutz Guest and CU Anschutz

Here are details in connecting a Raspberry Pi V3 running Rasbian to both Wireless Networks (guest and with the sign in) here at Anschutz. It is assumed that these instructs will be similar with other distributions of Linux. Many thanks to Christian Rickert for assistance with this.

CU Anschutz Guest is straightforward. Use the graphical interface to connect (top right corner), open a web browser, which will auto direct to the “Accept our terms” page, and click accept. If it doesn’t auto direct you, try this link. https://ucdenver-wireless.ucdenver.edu/login.html?redirect=passport.ucdenver.edu/login/php

CU Anschutz isn’t much harder. Use the graphical interface to connect (top right corner). A window will pop up allowing you to input the following settings (update Username with your LastnameFirstinitial (Example, John Smith would be “SmithJ”) and Password with your password): CUAnschutz


Thunderbird (and other email clients)

Won’t work on Anschutz Guest. But on CU Anschutz the settings are:

Thunderbird


Instructions for connecting Raspberry Pi (Rasbian) to Wireless

In the terminal:

Do an update, why not (obviously only when connected to internet (try UC Anschutz Guest as above)):

sudo apt-get update        # Fetches the list of available updates
sudo apt-get upgrade       # Strictly upgrades the current packages
sudo apt-get dist-upgrade  # Installs updates (new ones)

This next step is only necessary if you are on a public machine, but it’s a good idea anyhow: Create a hash password (replace YOUR_REAL_PASSWORD with, well, your password) (note the utf16le is numbers ‘16’ followed by letters ‘le’).

sudo echo -n 'YOUR_REAL_PASSWORD' | iconv -t utf16le | openssl md4 > hash.txt

Open the file to view the file to view and copy the hash password (select the long hash code, ctrl shift c to copy). Exit with ctrl x.

sudo nano hash.txt

Delete the hash.txt file, if you want. It doesn’t store your original password, but keep a clean system

sudo rm hash.txt

Edit your wireless config file:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

There should be some lines on top. You can replace country with US if you’d like but it’s not necessary.

country=US

If you connected to UC Anschutz Guest, you should see that already. Do nothing here.

network={
        ssid="CU Anschutz Guest"
        key_mgmt=NONE
}

Add the UC Anschutz wireless by adding this below (update your email and password). By setting priority to 1, it will attempt to connect to this before other networks. Higher priority numbers are attempted first. Defaults to zero.):

network={
        ssid="CU Anschutz"
        key_mgmt=WPA-EAP
        eap=PEAP
        identity="firstname.lastname@cuanschutz.edu”
        password=hash:PasteTheHashPasswordHere
        #ca_cert="/etc/cert/ca.pem"
        phase2="auth=MSCHAPV2"
        priority=1
}

Save the file with ctrl x, Y, enter

leave no trace

history -w
history -c
clear

reboot

sudo reboot

ONE Core acknowledgement

Please acknowledge the ONE Core facility in your publications. An appropriate wording would be:

“The Optogenetics and Neural Engineering (ONE) Core at the University of Colorado School of Medicine provided engineering support for this research. The ONE Core is part of the NeuroTechnology Center, funded in part by the School of Medicine and by the National Institute of Neurological Disorders and Stroke of the National Institutes of Health under award number P30NS048154.”