Virginia Tech Wifi: Difference between revisions

No edit summary
imported>Mutantmonkey
No edit summary
Line 8: Line 8:
Regardless of what software you use to establish your connection, you must first set your remote passphrase by going to [https://my.vt.edu my.vt.edu]→Settings→Change Network Password.
Regardless of what software you use to establish your connection, you must first set your remote passphrase by going to [https://my.vt.edu my.vt.edu]→Settings→Change Network Password.


<!-- The rest of this page uses a template from the Uniluug project; please see https://uniluug.org/wiki/Template:PEAP-MSCHAP if you wish to edit it. -->
==Android==
{{raw:u:PEAP-MSCHAP|ssid=VT-Wireless|networks=VT-Wireless or VT_WLAN|network="VT-Wireless"|credentials=PID and remote access (or [[Hokies ID]]) passphrase}}
{{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".
 
==NetworkManager==
* 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 remote passphrase as your login credentials.
 
==wpa_supplicant==
Add the following lines to /etc/wpa_supplicant.conf:
network={
ssid="VT-Wireless"
proto=WPA2
key_mgmt=WPA-EAP
eap=PEAP
phase2="auth=MSCHAPV2"
identity="your {{{identity|PID}}}"
password="your passphrase"
}
 
==netcfg==
Tested on [[Arch Linux]] with netcfg 3.0 (updated on 2013-04-12).
 
* Create a file, '''/etc/network.d/VT-Wireless''' and place this in it:
CONNECTION='wireless'
INTERFACE='wlan0'
SECURITY='wpa-configsection'
ESSID='VT-Wireless'
IP='dhcp'
IP6='stateless'
CONFIGSECTION='
ssid="VT-Wireless"
proto=WPA2
key_mgmt=WPA-EAP
eap=PEAP
phase2="auth=MSCHAPV2"
identity="IDENTITY"
password="NETWORK PASSWORD"
'
 
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/network.d/VT-Wireless</code>) and change the permissions so that it can be read only by the owner (<code>sudo chmod 0600 /etc/network.d/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 netcfg VT-Wireless
 
==netctl==
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


==References==
==References==