Skip to content

Instantly share code, notes, and snippets.

@norbekaiser
Last active March 8, 2016 07:51
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 norbekaiser/008c583c40a27a7089a7 to your computer and use it in GitHub Desktop.
Save norbekaiser/008c583c40a27a7089a7 to your computer and use it in GitHub Desktop.
pi3_d
#!/bin/sh
sudo ifdown wlan0
sudo ifup wlan0
#!/bin/sh
sudo iwlist wlan0 scan
#!/bin/sh
iwlist wlan0 scan
#!/bin/sh
sudo -e /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="TESTWIFI"
psk="TESTPASSWORD"
}
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment