Skip to content

Instantly share code, notes, and snippets.

@yamao2253
Created June 1, 2017 20:56
Show Gist options
  • Save yamao2253/6a2ba98c1928d047728f47a2d2e24d27 to your computer and use it in GitHub Desktop.
Save yamao2253/6a2ba98c1928d047728f47a2d2e24d27 to your computer and use it in GitHub Desktop.
Raspberry Pi WiFi reconnection script
ping -c 1 192.168.10.1
#test $? -eq 1 && sudo /etc/ifplugd/ifplugd.action wlan0 up
test $? -ne 0 && sudo /etc/ifplugd/action.d/action_wpa wlan0 up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment