Skip to content

Instantly share code, notes, and snippets.

@wandersonwhcr
Created March 26, 2017 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wandersonwhcr/039f2a4af4422761bbfd87cb03263a4a to your computer and use it in GitHub Desktop.
Save wandersonwhcr/039f2a4af4422761bbfd87cb03263a4a to your computer and use it in GitHub Desktop.
WPA Supplicant
network={
ssid="Name of the Wireless Network"
psk="password"
}
#!/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