Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Virginia Tech Wifi

2,379 bytes removed, 15:06, 3 February 2015
Remove VT-Wireless Information
==NetworkManager==
===eduroam (preferred)===
* In your wireless configuration program, select eduroam.
* Choose PEAP as the EAP type.
* Use anonymous@vt.edu as your Anonymous Identity
* '''TODO:''' Certificate verification (Warning, until certificate verification is added, it is ''not'' recommended that you use this method of accessing the network.)
 
===VT-Wireless (legacy)===
* In your wireless configuration program, select VT-Wireless.
* Choose PEAP as the EAP type.
* Choose MSCHAPv2 as the authentication method.
* Use your {{{identity|PID}}} and network passphrase as your login credentials.
==wpa_supplicant==
===eduroam (preferred)===
[http://w1.fi/wpa_supplicant/ wpa_supplicant] is a cross-platform supplicant which implements IEEE 802.1x/WPA and is used in many Linux/UNIX distributions.
$ sudo dhcpcd wlan0
===VT-Wireless (legacy)===
Add the following lines to <code>/etc/wpa_supplicant.conf</code>:
 
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
update_config=1
fast_reauth=1
ap_scan=1
network={
ssid="VT-Wireless"
proto=WPA2
key_mgmt=WPA-EAP
eap=PEAP
phase2="auth=MSCHAPV2"
identity="your {{{identity|PID}}}"
password="your passphrase"
ca_cert="/etc/ssl/certs/GlobalSign_Root_CA.pem
}
==netctl==
[https://wiki.archlinux.org/index.php/netctl netctl] is a network manager which is native to the ArchLinux distribution. netctl makes use of wpa_supplicant under the hood, and so the configuration is similar.
===eduroam (preferred)===
Put the following configuration in <code>/etc/netctl/eduroam</code> with your proper PID and Network Password. Further, this assumes that your wireless network device is wlan0, which you might have to change to match your system. The ca_cert line pins the server certificate and can be generated/validated using the mechanism described above.
$ sudo netctl start eduroam
 
===VT-Wireless (legacy)===
Tested on [[Arch Linux]] with netctl 0.8 (updated on 2013-04-12).
 
* Create a file, '''/etc/netctl/VT-Wireless''' and place this in it:
Description="VT-Wireless PEAP-MSCHAPv2"
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
IP6=stateless
WPAConfigSection=(
'ssid="VT-Wireless"'
'proto=RSN'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'phase2="auth=MSCHAPV2"'
'identity="YOUR IDENTITY"'
'password="NETWORK PASSWORD"
'ca_cert="/etc/ssl/certs/GlobalSign_Root_CA.pem"'
)
 
Make sure to change '''IDENTITY''' to your {{{identity|PID}}}, and '''NETWORK PASSWORD''' to your network password.
 
* After creating this file, make sure to change the owner to root (<code>sudo chown root:root /etc/netctl/VT-Wireless</code>) and change the permissions so that it can be read only by the owner (<code>sudo chmod 0600 /etc/netctl/VT-Wireless</code>). This will ensure that your private key password cannot be read by others easily.
 
* To connect, simply type the following in a terminal:
sudo netctl start VT-Wireless
==Android==
[[File:AndroidEduroamNoCert.png|170px|thumb|Sample Android configuration of eduroam, but crucially lacking certificate validation.]]
 
===eduroam (preferred)===
A sample configuration is available to the right, but as this configuration is currently lacking CA certificate validation, we do not at this time recommend connecting to the network.
'''TODO:''' Android certificate validation
 
=== VT-Wireless (legacy)===
{{Version|2.2 (Froyo) of Android}}
 
* From the home screen, press the menu button and choose "Settings"→"Wireless & networks"→"Wi-Fi settings".
* Remove any existing entries for {{{networks|the network you'd like to add or any conflicting network}}}.
* From the "WiFi networks" listing, click on {{{network|the network you'd like to add}}}.
* Choose PEAP as the EAP method and MSCHAPv2 as the phase two authentication mechanism.
* Enter your credentials for the identity and press "Connect".
==References==
Anonymous user