Created
June 1, 2017 20:56
-
-
Save yamao2253/6a2ba98c1928d047728f47a2d2e24d27 to your computer and use it in GitHub Desktop.
Raspberry Pi WiFi reconnection script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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