Skip to content

Instantly share code, notes, and snippets.

@ldrahnik
Last active September 27, 2017 10:19
Show Gist options
  • Save ldrahnik/cdfe225f6e42b57791b8e6fee76efb6b to your computer and use it in GitHub Desktop.
Save ldrahnik/cdfe225f6e42b57791b8e6fee76efb6b to your computer and use it in GitHub Desktop.
FIT VUT - how to connect to eduroam using wpa_supplicant (http://www.fit.vutbr.cz/CVT/auth/.cs#linux)
# get certificate
mkdir /etc/certs/ # if directory does not exist
sudo wget http://ca.vutbr.cz/pki/pub/cacert/cacert.pem
# make file /etc/wpa_supplicant.conf
#
# change <login> and <password> fields:
# password (password in only for radius server, generate new if you do not know!)
# login (login@fit.vutbr.cz, even students have fit.vutbr.cz)
# find wifi interface name (in my case is it wlp2s0)
iwconfig
# try to connect
sudo wpa_supplicant -c /etc/wpa_supplicant.conf -i wlp2s0 # -d enable debug mode
# check status
sudo wpa_cli -i wlp58s0 status
network={
priority=5
ssid="eduroam"
key_mgmt=WPA-EAP
eap=PEAP
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
identity="login@fit.vutbr.cz"
password="password"
ca_cert="/etc/certs/cacert.pem"
}
network={
priority=1
ssid="VUTBRNO"
key_mgmt=NONE
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment