-
-
Save wtjerry/bf56a6273463fb36de775a971d2bc589 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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: | |
f(){ | |
local passwordVar | |
read -s -r -p "Please enter your password to hash: " passwordVar | |
echo -n $passwordVar | iconv -t utf16le | openssl md4 | |
} | |
f | |
#Den Output in die Datei /etc/wpa_supplicant/wpa_supplicant.conf für PW_ALS_HASH einfügen. | |
#Das Zertifikat findet sich hier: https://www.hslu.ch/de-ch/helpdesk/anleitungen/netzwerk/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment