What's new

WANFailover What advantages does this script offer over existing features?

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

MarcoPolo

Occasional Visitor
Hello,

Sorry for this probably silly question, but what advantages does this script offer over existing features?

1735398166973.png
 
Sorry for this probably silly question, but what advantages does this script offer over existing features?
It makes the built-in WAN failover functionality actually work, and gives you a lot more control. 👍
 
The most common issue with built-in dual WAN in Asuswrt is unreliable fail back/over up to the point it requires physical disconnection of Ethernet cables to WAN ports. Some folks report it works better with Ethernet + USB compared to Ethernet + Ethernet. Some folks report it works well for their use case and with their specific equipment. Perhaps the issue is hardware compatibility related as well.
 
I solved this problem with these commands:
Code:
cru a restart_wan1 “0 */6 * * * service ‘restart_wan_if 1’”
service “restart_wan_if 1”
in file /jffs/scripts/services-start.
(for the configuration shown in the screenshot in the 1st post)

The aim is to set the state to 2 for all Wan interfaces (which can be checked with this command):
Code:
nvram show | grep wan[0,1,2,3,4]_state_t

I don't know if what I've done represents a problem, but in any case the native failover works without a hitch with this.

(AX88U / 3004.388.8_4)
 
Last edited:
I solved this problem with these commands:
Code:
cru a restart_wan1 “0 */6 * * * service ‘restart_wan_if 1’”
service “restart_wan_if 1”
in file /jffs/scripts/services-start.
(for the configuration shown in the screenshot in the 1st post)

The aim is to set the state to 2 for all Wan interfaces with this command:
Code:
nvram show | grep wan[0,1,2,3,4]_state_t

I don't know if what I've done represents a problem, but in any case the native failover works without a hitch with this.

(AX88U / 3004.388.8_4)
Try nvram show | grep wan | grep _state_t as a single command to view state for all WAN interfaces.
 

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