【文件属性】:
文件名称:Chk-WAN:华硕路由器检查WAN状态
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-23 09:56:00
Shell
广域网
华硕路由器检查WAN状态
该脚本可以监视WAN接口的连接状态,如果发现该状态不可接受,则可以执行以下操作之一:
1. Report the status of the WAN connection.
2. Attempt to restart the WAN interface.
3. REBOOT the router.
监视方法是
一个简单的PING到5个预定义的目标PING主机
ISP WAN_gateway
ISP_DNS x 2
8.8.8.8 (Google Primary DNS)
1.1.1.1 (Cloudflare Primary DNS)
or a custom list of WAN PING targets e.g. ping=9.9.9.9,185.228.168.9 (Quad9 Primary DNS, Clean Bro
【文件预览】:
Chk-WAN-master
----.gitattributes(91B)
----Test500B.txt(500B)
----LICENSE(34KB)
----README.md(6KB)
----ChkWAN.sh(22KB)