Last active
November 3, 2018 11:53
-
-
Save nihal111/56a0317fb61596cd17f2bb080591ba40 to your computer and use it in GitHub Desktop.
Connect to IITB-Wireless through RPi. This config can be used to connect to any WPA2 Enterprise network in general. Just change the ssid, identity and password fields.
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
network={ | |
ssid="IITB-Wireless" | |
scan_ssid=1 | |
key_mgmt=WPA-EAP | |
identity="<your_username>" | |
password="<your_password>" | |
eap=PEAP | |
phase1="peaplabel=0" | |
phase2="auth=MSCHAPV2" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is a bad idea to leave the password in the config in plain-text.
Described below is a method to use a hash in place of the plain-text password as described above.
In bash, execute the below line-
echo -n plaintext_password_here | iconv -t utf16le | openssl md4
(
UTF-16LE
for macOS)The password in the wpa_supplicant.conf file then needs to be set to-
password=hash:generated_hash
It would also be a nice idea to clear the bash history after you're done with the above.