Difference between revisions of "UWMWiFi"

From ArchWiki
Jump to: navigation, search
(Setup)
(Update to conform to arch wiki style conventions)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Wireless Networking]]
 
UWMWiFi is the wireless network used by the University of Wisconsin-Milwaukee.
 
UWMWiFi is the wireless network used by the University of Wisconsin-Milwaukee.
  
==Setup==
+
==Netctl Setup==
Still a work in progress, but this seems to function properly:
+
Still a work in progress, but this seems to function
 
{{hc|/etc/netctl/UWMWiFi|<nowiki>
 
{{hc|/etc/netctl/UWMWiFi|<nowiki>
 
Description='UWM WiFi Network'
 
Description='UWM WiFi Network'
Line 13: Line 14:
 
     'key_mgmt=WPA-EAP'
 
     'key_mgmt=WPA-EAP'
 
     'eap=PEAP'
 
     'eap=PEAP'
     'identity="USER@uwm.edu"'
+
     'identity="user@uwm.edu"'
     'password="PASSWORD"'
+
     'password="password"'
 
     'priority=1'
 
     'priority=1'
 
)</nowiki>
 
)</nowiki>
 
}}
 
}}
  
Then to connect:
+
Then to connect
  
  # sudo netctl enable /etc/netctl/UWMWiFi
+
  # netctl stop-all
  # sudo netctl start /etc/netctl/UWMWiFi
+
# netctl enable UWMWiFi
 +
  # netctl start UWMWiFi
  
{{Note|On some parts of campus the identity field requires "@uwm.edu" and on some parts it requires only the username. For example, the in the Union connecting will fail if you include @uwm.edu, but in the EMS it will fail without it.}}
+
==Manual Setup==
 +
 
 +
If netctl does not work properly, try connecting manually using the iw tool and [[wpa_supplicant]] as directed in [[Wireless Setup]]. Don't forget that most of these commands need to be run with elevated permissions.
 +
 
 +
{{hc|/etc/wpa_supplicant/uwm.conf|<nowiki>
 +
 
 +
network={
 +
ssid="UWMWiFi"
 +
key_mgmt=WPA-EAP
 +
eap=PEAP
 +
identity="user@uwm.edu"
 +
password="password"
 +
 
 +
}
 +
 
 +
ctrl_interface=DIR=/run/wpa_supplicant
 +
 
 +
</nowiki>}}
 +
 
 +
Get card name
 +
 
 +
# ip link
 +
 
 +
Assuming your card is ''wlan0''
 +
 
 +
# ip link set wlan0 up
 +
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/uwm.conf
 +
# dhcpcd wlan0
 +
 
 +
After resuming from sleep or similar
 +
 
 +
# dhcpcd wlan0 -k
 +
# dhcpcd wlan0
 +
 
 +
So far, this method seems more reliable.
 +
 
 +
==About Identity==
 +
 
 +
On some parts of campus the identity field requires "@uwm.edu" and on some parts it requires only the username. For example, the in the Union connecting will fail if you include @uwm.edu, but in the EMS it will fail without it.
 +
 
 +
This will be tested and validated in the future.
  
 
==See Also==
 
==See Also==
 
https://wiki.archlinux.org/index.php/Netctl
 
https://wiki.archlinux.org/index.php/Netctl
 +
 +
https://wiki.archlinux.org/index.php/Wireless_Setup
 +
 +
https://wiki.archlinux.org/index.php/WPA_Supplicant
  
 
http://www4.uwm.edu/technology/authenticated/wifi/uwm/
 
http://www4.uwm.edu/technology/authenticated/wifi/uwm/

Revision as of 20:44, 27 September 2013

UWMWiFi is the wireless network used by the University of Wisconsin-Milwaukee.

Netctl Setup

Still a work in progress, but this seems to function

/etc/netctl/UWMWiFi
Description='UWM WiFi Network'
Interface=wlp3s0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="UWMWiFi"'
    'key_mgmt=WPA-EAP'
    'eap=PEAP'
    'identity="user@uwm.edu"'
    'password="password"'
    'priority=1'
)

Then to connect

# netctl stop-all
# netctl enable UWMWiFi
# netctl start UWMWiFi

Manual Setup

If netctl does not work properly, try connecting manually using the iw tool and wpa_supplicant as directed in Wireless Setup. Don't forget that most of these commands need to be run with elevated permissions.

/etc/wpa_supplicant/uwm.conf

network={
 ssid="UWMWiFi"
 key_mgmt=WPA-EAP
 eap=PEAP
 identity="user@uwm.edu"
 password="password"

}

ctrl_interface=DIR=/run/wpa_supplicant

Get card name

# ip link

Assuming your card is wlan0

# ip link set wlan0 up
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/uwm.conf
# dhcpcd wlan0

After resuming from sleep or similar

# dhcpcd wlan0 -k
# dhcpcd wlan0

So far, this method seems more reliable.

About Identity

On some parts of campus the identity field requires "@uwm.edu" and on some parts it requires only the username. For example, the in the Union connecting will fail if you include @uwm.edu, but in the EMS it will fail without it.

This will be tested and validated in the future.

See Also

https://wiki.archlinux.org/index.php/Netctl

https://wiki.archlinux.org/index.php/Wireless_Setup

https://wiki.archlinux.org/index.php/WPA_Supplicant

http://www4.uwm.edu/technology/authenticated/wifi/uwm/