Difference between revisions of "UWMWiFi"

From ArchWiki
Jump to: navigation, search
m
(Update to conform to arch wiki style conventions)
Line 22: Line 22:
 
Then to connect
 
Then to connect
  
  # sudo netctl stop-all
+
  # netctl stop-all
  # sudo netctl enable UWMWiFi
+
  # netctl enable UWMWiFi
  # sudo netctl start UWMWiFi
+
  # netctl start UWMWiFi
  
 
==Manual Setup==
 
==Manual Setup==
  
If netctl does not work properly, try connecting manually using the iw tool and [[wpa_supplicant]] as directed in [[Wireless 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>
 
{{hc|/etc/wpa_supplicant/uwm.conf|<nowiki>
Line 51: Line 51:
 
Assuming your card is ''wlan0''
 
Assuming your card is ''wlan0''
  
  # sudo ip link set wlan0 up
+
  # ip link set wlan0 up
  # sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/uwm.conf
+
  # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/uwm.conf
  # sudo dhcpcd wlan0
+
  # dhcpcd wlan0
  
 
After resuming from sleep or similar
 
After resuming from sleep or similar
  
  # sudo dhcpcd wlan0 -k
+
  # dhcpcd wlan0 -k
  # sudo dhcpcd wlan0
+
  # dhcpcd wlan0
  
 
So far, this method seems more reliable.
 
So far, this method seems more reliable.

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/