Tag Archives: Eduroam

Arch Linux and Eduroam on a Raspberry Pi, No Ethernet Cable Required


Raspbian may be the most common OS on Raspberry Pi devices, but it is definitely not alone in the market. Arch Linux is one such competitor, offering a minimalist disk image that can be customized and specialized for any task, from the ground up – with the help of Arch Linux’s superb package manager, Pacman.

The office website for Arch Linux Arm contains all the necessary files and detailed instructions for the initial setup. After a reasonably straightforward process, plugging in the Raspberry Pi will great you with a command line interface, CLI, akin to old Microsoft DOS.

Luckily for those who enjoy a graphical interface, Arch Linux supports a wide variety in its official repository, but for that, we need the internet.  Plenty of tutorials detail how to connect to a typical home wifi, but Eduroam is a bit more challenging. To save everyone several hours of crawling through wikis and forums, the following shall focus on Eduroam.

To begin, we will need root privilege; by default this can be done with the following command:

su

After entering the password, we need to make the file:

nano /etc/wpa_supplicant/eduroam

Quick note: The file doesn’t need to be named eduroam.

Now that we’re in the nano text editor we need to write the configuration for eduroam. Everything except the indentity and password field needs to be copied exactly. For the propose of this Tutorial I’ll be John Smith, jsmith@umass.edu, with password Smith12345.

network={
			ssid=”eduroam”
			key_mgmt=WPA-EAP
			eap=TTLS
			phase2=”auth=PAP”
			identity=”jsmith@umass.edu”
			password=”Smith12345”
	}

Quick note: the quotation marks are required, this will not work without them.

Now that that’s set, we need to set the file permissions to root only, as its never good to have passwords in plain text, unsecured.

chmod og-r /etc/wpa_supplicant/eduroam

Now just to make sure that everything was set properly, we will run

ls -l /etc/wpa_supplicant | cut -d ' ' -f 1,3-4,9

The correct output should be the following

-rw------- root root eduroam

If you named the config file something other than eduroam, it will show up on the output as that name.

Now that that’s all set, we can finally connect to the internet.

wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/eduroam &

Provided everything is set correctly, you will see “wlan0: link becomes ready” halfway through the last line of the page, hit enter and just one more command.

dhcpcd

Now, just to check we’re connected, we’ll ping google

ping google.com -c 5

If everything is set, you should see 5 packets transmitted, 5 packets received.
Now that we’re connected, its best to do a full update

pacman -Syyu

At this point, you are free to do what you’d like with Arch. For the sake of brevity I will leave off here, for extra help I highly recommend the official Arch Linux Wiki. For a graphical UI, I highly recommend setting up XFCE4, as well as a network (wifi) manager.

 

Example of a customized XFCE4 desktop by Erik Dubois

 

 

Disclaimer: UMass IT does not currently offer technical support for Raspberry Pi.

Windows 10 Eduroam Configuration

With the release date of Windows 10 approaching (7/29/15), and with that comes good news; Windows 10 shares the same method of configuring eduroam as Windows 8 and Windows 8.1, despite the changes to the user interface. There are two methods to configure your Windows 10 device to eduroam.

Method 1 – Without XpressConnect 

  • Select the WiFi tray icon located in the bottom right corner and select “Network Settings.” The Network & Internet settings window will appear
  • eduroam1In the Network & Internet window, select Eduroam and select connect. Enter your NetID@umass.edu and your IT account password and select OK.

eduroam2

  • Accept certificates if prompted. Once complete, the device should now be configured and connected to eduroam

Method 2 – Using XpressConnect 

NOTE: At the time this article was written (6/25/2015), XpressConnect does not have a version specific for Windows 10, and the XpressConnect client will state that the current operating system is Windows 8.1. 

  • Select the WiFi tray icon located in the bottom right corner and connect to UMASS.

eduroam3

  • Open a browser and navigate to http://login.wireless.umass.edu (any other webpage will redirect to the wireless gate) and select the “Set up eduroam”

eduroam4

  • Log in using your NetID and password and then select the “Run Xpressconnect” button. Select the download link for NetworkWizardLoader.exe.

eduroam5

  • Save and run the executable, allow xpressconnect to open. Once prompted, enter your NetID and Password and follow the remaining steps for installing SecureW2 and necessary certificates.

eduroam7

  • Grant access to any User Account Control windows that appear, and once the device is connected to eduroam, xpressconnect will state that the device is now connected and what the IP address has been assigned to the device.

eduroam8


If you wish to reserve your copy of Windows 10, please visit http://www.microsoft.com/en-us/windows/windows-10-upgrade. The upgrade is free for users with Windows 7, 8 and 8.1 and can be done from your computer at any time. Cheers!