Created
March 26, 2017 18:13
-
-
Save wandersonwhcr/039f2a4af4422761bbfd87cb03263a4a to your computer and use it in GitHub Desktop.
WPA Supplicant
This file contains hidden or 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="Name of the Wireless Network" | |
psk="password" | |
} |
This file contains hidden or 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
#!/bin/bash | |
# Usage: ./wpa-supplicant.sh Connection.conf | |
ifconfig wlan0 up | |
wpa_supplicant -iwlan0 -Dwext -B -c"$1" | |
dhclient wlan0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment