What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Any suggestions for chkwan.sh not found on RT-AC86U?

mdover

Occasional Visitor
I'm trying to reinstall ChkWAN automated monitoring and it's not working. I had it installed, and then we had a 4 day power outage. Once power returned, no one was at the residence for another 3 days and the internet receiver was buried in snow, so it must have cycled the router off an on countless times.

When I got back to the premise, the router was in setup mode so many files and settings were erased but not all. I tried to reinstall chkwan but kept getting the error chkwan.sh not found when I tried to test the installation with ./ChkWAN.sh help

I figure something probably corrupted so I ended up resetting the router to factory and installing a six month old Asus stock firmware. Then I reinstalled Merlin with the latest stable release. I also formatted the JFFS partition. Then I reinstalled through the regular process. I can see the file in MobaXterm but when I try to check if its working properly with './ChkWAN.sh help' I get the response that the file isn't there. I've successfully installed this on two routers in the past and am using the same process, but it won't work this time.

Any tips on other things I can try? I've reformatted the JFFS partition for now and I'll just run without. If it seems I need something (as its a property that we don't live at full time) I'll get a wifi reset plug as this isn't working for me any longer. Probably best to have the plug anyways for the occasional extended outages like we just had. I don't think the script was really designed for that based on how the router responded.
 
I'm trying to reinstall ChkWAN automated monitoring and it's not working. I had it installed, and then we had a 4 day power outage. Once power returned, no one was at the residence for another 3 days and the internet receiver was buried in snow, so it must have cycled the router off an on countless times.

When I got back to the premise, the router was in setup mode so many files and settings were erased but not all. I tried to reinstall chkwan but kept getting the error chkwan.sh not found when I tried to test the installation with ./ChkWAN.sh help

I figure something probably corrupted so I ended up resetting the router to factory and installing a six month old Asus stock firmware. Then I reinstalled Merlin with the latest stable release. I also formatted the JFFS partition. Then I reinstalled through the regular process. I can see the file in MobaXterm but when I try to check if its working properly with './ChkWAN.sh help' I get the response that the file isn't there. I've successfully installed this on two routers in the past and am using the same process, but it won't work this time.

Any tips on other things I can try? I've reformatted the JFFS partition for now and I'll just run without. If it seems I need something (as its a property that we don't live at full time) I'll get a wifi reset plug as this isn't working for me any longer. Probably best to have the plug anyways for the occasional extended outages like we just had. I don't think the script was really designed for that based on how the router responded.
Try the following commands
Code:
ls -l /jffs/scripts

sh -x /jffs/scripts/ChkWAN.sh once nowait

and post the output.

If errors are shown then reinstall ChkWAN
Code:
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 retry the commands
 
Last edited:

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top