Difference between revisions of "UWMWiFi"

From ArchWiki
Jump to: navigation, search
(Manual Setup)
(Update to conform to arch wiki style conventions)
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Networking]]
+
[[Category:Wireless Networking]]
{{Merge|Netctl|There's already [[Netctl#Eduroam]] under [[Netctl#Tips and tricks]]; it may even be worth creating a [[Netctl#Profiles]] section or something like that.}}
+
 
UWMWiFi is the wireless network used by the University of Wisconsin-Milwaukee.
 
UWMWiFi is the wireless network used by the University of Wisconsin-Milwaukee.
  
 
==Netctl Setup==
 
==Netctl Setup==
Still a work in progress, but this seems to function:
+
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 15: 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 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 45: Line 44:
  
 
</nowiki>}}
 
</nowiki>}}
 +
 +
Get card name
 +
 +
# ip link
  
 
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
 +
 
 +
# dhcpcd wlan0 -k
 +
# dhcpcd wlan0
  
 
So far, this method seems more reliable.
 
So far, this method seems more reliable.
Line 56: Line 64:
 
==About Identity==
 
==About Identity==
  
{{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.}}
+
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/