Skip to content

Instantly share code, notes, and snippets.

@bamert
Last active March 19, 2019 09:20
Show Gist options
  • Select an option

  • Save bamert/4041963fd3bee64df1d2dd23ad3e9c3b to your computer and use it in GitHub Desktop.

Select an option

Save bamert/4041963fd3bee64df1d2dd23ad3e9c3b to your computer and use it in GitHub Desktop.
eduroam config for netctl. Works at ETH Zurich(Tested March 2019)
# /etc/netctl/eduroam
# replace $user and $hash with your wifi credentials
# $hash is generated from your wifi password with:
# (note that the password string is prepended with the cleartext hash:)
# echo -n '$password' | iconv -t utf16le | openssl md4
Description='eduroam'
Interface='wlp3s0'
Connection='wireless'
Security='wpa-configsection'
IP='dhcp'
ESSID='eduroam'
WPAConfigSection=(
'ssid="eduroam"'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'proto=WPA RSN'
'identity="$user"'
'password="hash:$hash"'
'phase2="auth=MSCHAPV2"'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment