What's new

WANFailover Dual WAN Failover Script

  • 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!

And how to check that the script works and has not been unloaded from memory? I just had a failure on two routers, so both simply did nothing and I did not see any messages from the script in the logs.
 
And how to check that the script works and has not been unloaded from memory? I just had a failure on two routers, so both simply did nothing and I did not see any messages from the script in the logs.
Ah yes, you're using an RT-AC86U as well....so describe the failure (Failover not happening, etc?) and the script is still running in the background, yes?
 
Ah yes, you're using an RT-AC86U as well....so describe the failure (Failover not happening, etc?) and the script is still running in the background, yes?
I have ax88 and two ax86. It so happened that there was no Internet for an hour and 20 minutes, and so there were no messages from the script in the log. The routers worked without reboots for about a couple of days.
I do not know how to check if the script is still running or has already hung, but there are no messages from it anymore.
 
I have ax88 and two ax86. It so happened that there was no Internet for an hour and 20 minutes, and so there were no messages from the script in the log. The routers worked without reboots for about a couple of days.
I do not know how to check if the script is still running or has already hung, but there are no messages from it anymore.
This will tell you if the script is running:
Code:
ps | grep -v "grep" | grep -e "wan-failover.sh"
 
I am trying out the v1.4.7-beta version. We will see how well it works. Is there a way to restart the script? The reason I ask is I want to change some of the parameters that are manually set during the install, but I don’t want to go back through all those steps. If there is a way to just reload the script so it will pickup my changes made in the conf file that would be great.
 
Update on the v1.4.7-beta version. So far it is working. I will keep an eye on it and do more failover tests once it has been running longer.
 
I am trying out the v1.4.7-beta version. We will see how well it works. Is there a way to restart the script? The reason I ask is I want to change some of the parameters that are manually set during the install, but I don’t want to go back through all those steps. If there is a way to just reload the script so it will pickup my changes made in the conf file that would be great.
Run the kill switch and let the cron job reload it.
 
How many instances of the script should be running?
Only 1 of the run or manual mode should be able to run, you probably will see 2-3PIDs though
 
I also just installed the beta. Now watching the syslog how long the script will be running.
 
I also just installed the beta. Now watching the syslog how long the script will be running.
Just keep in mind guys I don’t have this model to test with so I am doing incremental changes to see if they help overcome the issues with accessing NVRAM.
 
Is the “normal” script working okay on the AX86U ?
 
Is the “normal” script working okay on the AX86U ?
I’ve only had 1 report of a person having issues with this model but I believe it was related to their ping target stopping ping responses or WAN0 dropping on them. It would work for hours and then all of sudden drop and switch to WAN1 because of 100% packet loss which just means the pings were failing. Other than that I’ve had no other complaints about the script using that model. Also keep in mind on boots WAN1 is going to come up Active first I believe because of the firmware (or atleast this is the observed behavior with some models including my own) and the script will switch it back to WAN0 once it starts up.
 
What seems to be everyone's preferred, low-cost, emergency-only, fail-over option? Probably a good candidate for a poll question...
 
What seems to be everyone's preferred, low-cost, emergency-only, fail-over option? Probably a good candidate for a poll question...
I have a back up 100Mbps Cable service for $20/mo
 
No ISP backup option. If internet is really needed, I can hot-spot to my phone (from any single client device I need to use).

If that isn't working either, nothing is that much of an emergency to need a monthly backup for.

And yes, I do live on the internet, for 'work' purposes.
 
No ISP backup option. If internet is really needed, I can hot-spot to my phone (from any single client device I need to use).

If that isn't working either, nothing is that much of an emergency to need a monthly backup for.

And yes, I do live on the internet, for 'work' purposes.

Can’t you use an android phone as a secondary WAN on the router?
 
I'm sure it's possible, but it isn't anything I would ever do (not just using a phone on the router but using it as a secondary WAN either). :)
 

Similar threads

Latest threads

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!
Top