Last active
April 7, 2019 03:09
-
-
Save qxzg/62b7f8af008a99ae7982de49045ff60f to your computer and use it in GitHub Desktop.
ASUS路由器重新拨号
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
#!/bin/sh | |
killall pppd | |
sleep 3 | |
pppd file /tmp/ppp/options.wan0 | |
sleep 10 | |
ping 8.8.8.8 -c 5 | |
echo "===========================================" | |
curl myip.ipip.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment