Skip to content

Instantly share code, notes, and snippets.

@as
Last active September 19, 2019 22:14
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 as/1a7db401d41ce3d19d0994f14a8c7346 to your computer and use it in GitHub Desktop.
Save as/1a7db401d41ce3d19d0994f14a8c7346 to your computer and use it in GitHub Desktop.
WPA Supplicant Template
#!/bin/sh
wpa_supplicant -i wlan0 -D wext -c <(wpa_passphrase $ssid $password) 2>&1 >/var/log/wpa.log
dhclient || dhcpcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment