Salty Wagyu
Occasional Visitor
I installed using curl --retry 3 "https://raw.githubusercontent.com/MartineauUK/Chk-WAN/master/ChkWAN.sh" -o "/jffs/scripts/ChkWAN.sh" && chmod 755 "/jffs/scripts/ChkWAN.sh"
Then nano /jffs/scripts/wan-start
added:
sh /jffs/scripts/ChkWAN.sh &
then chmodded 755 wan-start
It was working but I wanted it to ping less, found an entry that does it every 5 minutes, so I changed it to:
sh /jffs/scripts/ChkWAN.sh cron=\*/5
This didn't seem to do anything after 5 minutes, so I tried removed the \ and manually restarting wan (Internet Connection On/Off) in the webui to see if this made a difference. Now I'm not sure if its running because the logs in System Log are completely blank.
I've reverted back to sh /jffs/scripts/ChkWAN.sh & and restarted the router, but the logs remain blank, have I broken something?
./ChkWAN.sh status reports it is active
cat /tmp/syslog.log shows my active log but still nothing in the webui
On latest RT-AX86U Merlin firmware
edit: After using cat/temp/syslog.log to troubleshoot chkwan it doesn't run every 5 minutes, there is a crond parse error at proc/5
aaron@RT-AX86U-6C50:/jffs/scripts# crontab -l
*/3 * * * * /jffs/scripts/connmon generate #connmon#
proc/5 * * * * /jffs/scripts/ChkWAN.sh #WAN_Check#
aaron@RT-AX86U-6C50:/jffs/scripts# cat wan-start
sh /jffs/scripts/ChkWAN.sh cron=\*/5 &
Then nano /jffs/scripts/wan-start
added:
sh /jffs/scripts/ChkWAN.sh &
then chmodded 755 wan-start
It was working but I wanted it to ping less, found an entry that does it every 5 minutes, so I changed it to:
sh /jffs/scripts/ChkWAN.sh cron=\*/5
This didn't seem to do anything after 5 minutes, so I tried removed the \ and manually restarting wan (Internet Connection On/Off) in the webui to see if this made a difference. Now I'm not sure if its running because the logs in System Log are completely blank.
I've reverted back to sh /jffs/scripts/ChkWAN.sh & and restarted the router, but the logs remain blank, have I broken something?
./ChkWAN.sh status reports it is active
cat /tmp/syslog.log shows my active log but still nothing in the webui
On latest RT-AX86U Merlin firmware
edit: After using cat/temp/syslog.log to troubleshoot chkwan it doesn't run every 5 minutes, there is a crond parse error at proc/5
aaron@RT-AX86U-6C50:/jffs/scripts# crontab -l
*/3 * * * * /jffs/scripts/connmon generate #connmon#
proc/5 * * * * /jffs/scripts/ChkWAN.sh #WAN_Check#
aaron@RT-AX86U-6C50:/jffs/scripts# cat wan-start
sh /jffs/scripts/ChkWAN.sh cron=\*/5 &
Last edited: