Skip to content

Instantly share code, notes, and snippets.

@qxzg
Last active April 7, 2019 03:09
Show Gist options
  • Save qxzg/62b7f8af008a99ae7982de49045ff60f to your computer and use it in GitHub Desktop.
Save qxzg/62b7f8af008a99ae7982de49045ff60f to your computer and use it in GitHub Desktop.
ASUS路由器重新拨号
#!/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