How can I connect to AirPennNet with my Linux laptop?
Note: If you are running Ubuntu, ISC provides a documentation on connecting Ubuntu to AirPennNet.
Introduction
These are generic instructions for configuring a linux machine to work with AirPennNet. Please note these are general guidelines and you might need to alter them for the files in your specific distribution.
Configuration With Network Manager
Please follow the instructions on ISC's configuration page.
Manual Configuration
- You need an 802.1X supplicant. Many versions of Linux come with wpa_supplicant. Put the following text in wpa_supplicant.conf. This file might be in /etc/wpa_supplicant.conf or /etc/wpa_supplicant/wpa_supplicant.conf or similar location:
ctrl_interface=/var/run/wpa_supplicant.conf
ctrl_interface_group=0
eapol_version=2
ap_scan=1
network={
priority=1
ssid="AirPennNet"
key_mgmt=WPA-EAP
eap=TTLS
phase2="auth=PAP"
identity="<YOUR_PENNNAME>"
ca_cert="/etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA.pem"
} - Edit your network interfaces file to refer to wpa_supplicant.
Example 1: Ubuntu
The interfaces file would be /etc/network/interfaces.
The following text goes under the wireless device section of this file:
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
Example 2: Gentoo
The interfaces file might be /etc/conf.d/net
The following text goes into this file:
config_wlan0=("dhcp")
modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=60 - In one window, start the command
wpa_cli. - Bring your wireless interface up. Do this with ifup or ifconfig, however you typically start your interface
- In the wpa_cli window, issue the password command:
password 1 <your pennkey password>
Questions or problems? Please contact cets@seas.upenn.edu.
