A netctl profile for ETH Zurich
Tags: linux, howtos
Published on
« Previous post: Rendering 3D polyhedra and meshes using …
— Next post: Thoughts on Travis CI »
ETH Zurich offers multiple wireless
networks around campus. Our local IT people drilled into me that I
should prefer to use the eth-5
SSID whenever possible. Obviously
I had to figure out a way to support this profile for netctl
. If
you count yourself among the few, the happy few, the band of users
if this fine piece of software, here is what you have to do:
- Create a new file
/etc/netctl/WiFi_eth5
- Paste the following file, while taking care to replace
$USER
with your ETH username and$PASSWORD
with your ETH network password (this is not your regular login password; I am talking about the other one), and$INTERFACE
with the WiFi interface, e.g.wlp4s0
- Activate the new profile with
netctl start WiFi_eth5
Description='ETH'
Interface='$INTERFACE'
Connection='wireless'
IP='dhcp'
ESSID='eth-5'
Security='wpa-configsection'
WPAConfigSection=(
'ssid="eth-5"'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'proto=WPA RSN'
'identity="$USER"'
'password="$PASSWORD"'
'phase2="auth=MSCHAPV2"'
)
Happy surfing, until next time!