Skip to content

Instantly share code, notes, and snippets.

@mikedamage
Created February 24, 2015 02:33
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 mikedamage/c9f707d7150c56ee2da0 to your computer and use it in GitHub Desktop.
Save mikedamage/c9f707d7150c56ee2da0 to your computer and use it in GitHub Desktop.
Force a WiFi scan
#!/bin/bash
gksudo iwlist wlan0 scan
zenity --info --title="WiFi Scan" --text="WiFi scan complete!"
# this only needs to be run once
sudo apt-get install gksu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment