Skip to content

Instantly share code, notes, and snippets.

@tabertoz
Last active November 23, 2017 14:11
Show Gist options
  • Save tabertoz/661f3c027f6e92d4487667ba5d042afe to your computer and use it in GitHub Desktop.
Save tabertoz/661f3c027f6e92d4487667ba5d042afe to your computer and use it in GitHub Desktop.
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="hslu"
scan_ssid=1
key_mgmt=WPA-EAP
eap=TTLS
identity="HSLU_LoginName_ohneCampus"
password=hash:PW_ALS_HASH
ca_cert="/home/pi/ca.crt"
phase2="auth=MSCHAPV2"
}
abspeichern
Danach WLAN-Modul neustarten:
sudo ifdown wlan0 && sudo ifup wlan0
Oder einfach rebooten
Passwort verschlüsseln (Empfehlung: Anschliessend plaintext password aus ~/.bash_history löschen):
echo -n plaintext_password_here | iconv -t utf16le | openssl md4
Den Output in die Datei /etc/wpa_supplicant/wpa_supplicant.conf für PW_ALS_HASH einfügen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment