Skip to content

Instantly share code, notes, and snippets.

@mikedamage
Created February 24, 2015 02:33
Show Gist options
  • 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