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!

I think, I found an issue during install:
My primary WAN0 is a PPPoE connection, my secondary WAN1 is a LTE USB-Stick.

WAN1 is in Cold-Standby:
View attachment 44334

During install, I see, that the script thinks WAN1 has 0.0.0.0

Code:
ASUSWRT-Merlin RT-AC86U 386.7_2 Sun Jul 24 21:39:14 UTC 2022
admin@RT-AC86U-9AD0:/tmp/home/root# /usr/sbin/curl -s "https://raw.githubusercontent.com/Ranger802004/asusmerlin/main/wan-failover.sh" -o "/jffs/scripts/wan-failover.sh" && chmod 755 /jffs/scripts/wan-failover.sh && sh /jffs/scripts/wan-
failover.sh install
wan-failover.sh - Install Mode
Press any key to continue to install...Administration > System > Enable JFFS custom scripts and configs is enabled...
Creating /jffs/configs/wan-failover.conf...
/jffs/configs/wan-failover.conf created.
Setting Custom Variables...
***WAN Target IP Addresses will be routed via WAN Gateway dev WAN Interface***
Configure WAN0 Target IP Address - Will be routed via 88.116.190.96 dev ppp0: 8.8.8.8
Configure WAN1 Target IP Address - Will be routed via 0.0.0.0 dev eth7:

WAN1 should have 192.168.8.1 in Hot-Standby.
Is it possible, that the script fires up WAN1 before install?
The script should put WAN1 in hot-standby in order to get the correct route-IP.
This will be included in v1.5.7-beta3 for testing, I have the code written and will update soon.
 
this is my system messages log from dual wan enable restart.
I pulled the modem phone cable until desync and the script switched to wan1, plugged it in again.. after a while it reconnected but the script never switched back, i guess because it reports 100% packet loss.

Interestingly, this time around I'm able to reach the modem web-interface....

Let me know if you need anything else.



thank you.
It's doing everything right however the router cannot ping out of ppp0 for some reason even though it is adding the rule and routes correctly. Do this for me, put your router into this same condition again and when it appears "stuck" on not failing back issue the following command to the router.

Code:
service "restart_wan_if 0"
 
v1.5.7-beta3 has been published to Beta Channel:

v1.5.7-beta3
Installation:
- Fixed during Uninstallation where Cleanup would error out due to not having configuration items loaded prior to deletion of configuration file.
- Fixed text formatting for debug logging during installation when selecting WAN IP Address Targets.
- If QoS is Disabled QoS Settings will Default to 0 instead of prompting for configuration.
- WAN Interface will now be restarted before configuration if it doesn't have a valid IP Address or Gateway IP.

Enhancements:
- Configuration Mode will instantly kill script and wait for it to be relaunched by Cron Job.
- WAN0 and WAN1 can be specified to have QoS Enabled or Disabled during Failovers.
- WAN0 and WAN1 Packet Size can be specified seperately in Configuration File.
- Custom Log Path can be specified for Monitor Mode using CUSTOMLOGPATH setting in Configuration Settings.
- Added Dev Mode to update to beta releases using Update Command
- Service Restarts triggered by USB Modem failure events when it is not the Primary WAN will only restart OpenVPN Server instances.
- Added Configuration Option CHECKNVRAM to Enable or Disable NVRAM Checks due to only certain routers needing this check such as the RT-AC86U.
- New Status UNPLUGGED for when a WAN interface connection is not physically present.
- Added Cron Job Mode Lock File to ensure only one instance of the cron job function can run at a time to help prevent duplication creations of the cron job.

Fixes:
- Configuration Mode will no longer delete new or current IP rules/routes and will delete old ones before restarting script.
- Switch WAN function will now properly check Default IP Routes for deletion and creation.
- Load Balance Mode will now properly get default WAN Status before performing checks
- Emails not generating when some scenarios of Secondary WAN failure occur in Failover Mode.
- Fixed issue where missing configuration items weren't checked with option name exact matches as well as for removing deprecated options.
- WAN Interface restart will occur in WAN Status if a previously configured Ping Path has been established and Packet Loss is not 0%
 
How do I clean install to latest beta? Is this the correct link/command:
Code:
/usr/sbin/curl -s "https://raw.githubusercontent.com/Ranger802004/asusmerlin/main/wan-failover-beta.sh" -o "/jffs/scripts/wan-failover.sh" && chmod 755 /jffs/scripts/wan-failover.sh && sh /jffs/scripts/wan-failover.sh install

@Ranger802004
Thanks, the latest beta fixed my problem.
 
Last edited:
Another issue I noticed:
When I manually run the command "service restart_wan", my WAN1 (LTE USB stick) switches from hot standby to cold standby. Can you please make it stay in hot standby after a wan restart?
 
Another issue I noticed:
When I manually run the command "service restart_wan", my WAN1 (LTE USB stick) switches from hot standby to cold standby. Can you please make it stay in hot standby after a wan restart?
Is the script running when you issue this command? It should correct the interface if so but if not I need debug logs to investigate.
 
@Ranger802004
Here is the syslog:
Sep 25 19:38:35 dropbear[770]: Child connection from 192.168.1.75:2570
Sep 25 19:38:35 dropbear[770]: Password auth succeeded for 'admin' from 192.168.1.75:2570
Sep 25 19:38:35 rc_service: service 772:notify_rc restart_wan
Sep 25 19:38:35 custom_script: Running /jffs/scripts/service-event (args: restart wan)
Sep 25 19:38:35 dropbear[770]: Exit (admin) from <192.168.1.75:2570>: Exited normally
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 stopping)
Sep 25 19:38:35 pppd[2232]: Hangup (SIGHUP)
Sep 25 19:38:35 pppd[2232]: Terminating on signal 15
Sep 25 19:38:35 pppd[2232]: Connect time 997.6 minutes.
Sep 25 19:38:35 pppd[2232]: Sent 1057791802 bytes, received 2022448675 bytes.
Sep 25 19:38:35 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%20, but no knowledge of it
Sep 25 19:38:35 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:35 pppd[2232]: Connection terminated.
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 disconnected)
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 stopped)
Sep 25 19:38:35 pppd[2232]: Sent PADT
Sep 25 19:38:35 pppd[2232]: Exit.
Sep 25 19:38:35 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:35 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:35 lldpd[1392]: removal request for address of 169.254.193.178%9, but no knowledge of it
Sep 25 19:38:35 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:35 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:35 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 stopped)
Sep 25 19:38:35 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:35 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 stopping)
Sep 25 19:38:35 lldpd[1392]: removal request for address of 192.168.8.100%21, but no knowledge of it
Sep 25 19:38:35 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 disconnected)
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 stopped)
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 init)
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 custom_script: Running /jffs/scripts/wan-event (args: 0 init)
Sep 25 19:38:36 custom_script: Running /jffs/scripts/wan-event (args: 0 connecting)
Sep 25 19:38:36 pppd[1057]: Plugin rp-pppoe.so loaded.
Sep 25 19:38:36 pppd[1057]: RP-PPPoE plugin version 3.11 compiled against pppd 2.4.7
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 pppd[1100]: pppd 2.4.7 started by admin, uid 0
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 pppd[1100]: PPP session is 8501 (0x2135)
Sep 25 19:38:36 pppd[1100]: Connected to 00:12:d9:68:99:19 via interface eth0
Sep 25 19:38:36 pppd[1100]: Using interface ppp0
Sep 25 19:38:36 pppd[1100]: Connect: ppp0 <--> eth0
Sep 25 19:38:36 custom_script: Running /jffs/scripts/service-event-end (args: restart wan)
Sep 25 19:38:37 pppd[1100]: PAP authentication succeeded
Sep 25 19:38:37 pppd[1100]: peer from calling number 00:12:D9:68:99:19 authorized
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:37 pppd[1100]: local IP address xx.xxx.xxx.xx
Sep 25 19:38:37 pppd[1100]: remote IP address xx.xxx.xxx.xx
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:37 custom_script: Running /jffs/scripts/wan-event (args: 0 connected)
Sep 25 19:38:37 custom_script: Running /jffs/scripts/nat-start
Sep 25 19:38:37 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:37 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Sep 25 19:38:37 wan: finish adding multi routes
Sep 25 19:38:37 rc_service: ip-up 1128:notify_rc stop_samba
Sep 25 19:38:37 rc_service: ip-up 1128:notify_rc start_samba
Sep 25 19:38:37 rc_service: waitting "stop_samba" via ip-up ...
Sep 25 19:38:37 custom_script: Running /jffs/scripts/service-event (args: stop samba)
Sep 25 19:38:37 wsdd2[3822]: Terminated received.
Sep 25 19:38:37 wsdd2[3822]: terminating.
Sep 25 19:38:37 Samba_Server: smb daemon is stopped
Sep 25 19:38:37 custom_script: Running /jffs/scripts/service-event-end (args: stop samba)
Sep 25 19:38:38 custom_script: Running /jffs/scripts/service-event (args: start samba)
Sep 25 19:38:39 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Sep 25 19:38:39 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Sep 25 19:38:40 Diversion: restarted Dnsmasq to apply settings
Sep 25 19:38:40 stubby[1626]: Stubby version: Stubby 0.4.0
Sep 25 19:38:40 Samba_Server: daemon is started
Sep 25 19:38:40 custom_script: Running /jffs/scripts/service-event-end (args: start samba)
Sep 25 19:38:40 wsdd2[1645]: starting.
Sep 25 19:38:57 custom_script: Running /jffs/scripts/nat-start
Sep 25 19:38:57 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Sep 25 19:38:57 Skynet: [*] Lock File Detected (start skynetloc=/tmp/mnt/USB/skynet) (pid=1182) - Exiting (cpid=2461)
Sep 25 19:38:58 zcip_client: configured 169.254.193.178
Sep 25 19:39:07 Skynet: [*] WebUI Integration Requires Logging To Be Enabled
Sep 25 19:39:08 Skynet: [#] 188057 IPs (+0) -- 9241 Ranges Banned (+0) || 0 Inbound -- 0 Outbound Connections Blocked! [start] [31s]

Edit:
When I manually run "wan-failover restart", then WAN1 is switching to hot-standby again.
 
Last edited:
@Ranger802004
Here is the syslog:
Sep 25 19:38:35 dropbear[770]: Child connection from 192.168.1.75:2570
Sep 25 19:38:35 dropbear[770]: Password auth succeeded for 'admin' from 192.168.1.75:2570
Sep 25 19:38:35 rc_service: service 772:notify_rc restart_wan
Sep 25 19:38:35 custom_script: Running /jffs/scripts/service-event (args: restart wan)
Sep 25 19:38:35 dropbear[770]: Exit (admin) from <192.168.1.75:2570>: Exited normally
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 stopping)
Sep 25 19:38:35 pppd[2232]: Hangup (SIGHUP)
Sep 25 19:38:35 pppd[2232]: Terminating on signal 15
Sep 25 19:38:35 pppd[2232]: Connect time 997.6 minutes.
Sep 25 19:38:35 pppd[2232]: Sent 1057791802 bytes, received 2022448675 bytes.
Sep 25 19:38:35 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%20, but no knowledge of it
Sep 25 19:38:35 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:35 pppd[2232]: Connection terminated.
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 disconnected)
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 stopped)
Sep 25 19:38:35 pppd[2232]: Sent PADT
Sep 25 19:38:35 pppd[2232]: Exit.
Sep 25 19:38:35 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:35 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:35 lldpd[1392]: removal request for address of 169.254.193.178%9, but no knowledge of it
Sep 25 19:38:35 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:35 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:35 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 0 stopped)
Sep 25 19:38:35 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:35 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 stopping)
Sep 25 19:38:35 lldpd[1392]: removal request for address of 192.168.8.100%21, but no knowledge of it
Sep 25 19:38:35 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 disconnected)
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 stopped)
Sep 25 19:38:35 custom_script: Running /jffs/scripts/wan-event (args: 1 init)
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 custom_script: Running /jffs/scripts/wan-event (args: 0 init)
Sep 25 19:38:36 custom_script: Running /jffs/scripts/wan-event (args: 0 connecting)
Sep 25 19:38:36 pppd[1057]: Plugin rp-pppoe.so loaded.
Sep 25 19:38:36 pppd[1057]: RP-PPPoE plugin version 3.11 compiled against pppd 2.4.7
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 pppd[1100]: pppd 2.4.7 started by admin, uid 0
Sep 25 19:38:36 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:36 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:36 pppd[1100]: PPP session is 8501 (0x2135)
Sep 25 19:38:36 pppd[1100]: Connected to 00:12:d9:68:99:19 via interface eth0
Sep 25 19:38:36 pppd[1100]: Using interface ppp0
Sep 25 19:38:36 pppd[1100]: Connect: ppp0 <--> eth0
Sep 25 19:38:36 custom_script: Running /jffs/scripts/service-event-end (args: restart wan)
Sep 25 19:38:37 pppd[1100]: PAP authentication succeeded
Sep 25 19:38:37 pppd[1100]: peer from calling number 00:12:D9:68:99:19 authorized
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:37 pppd[1100]: local IP address xx.xxx.xxx.xx
Sep 25 19:38:37 pppd[1100]: remote IP address xx.xxx.xxx.xx
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 lldpd[1392]: removal request for address of xx.xxx.xxx.xx%25, but no knowledge of it
Sep 25 19:38:37 wsdd2[3822]: error: wsdd-mcast-v4: wsd_send_soap_msg: send
Sep 25 19:38:37 custom_script: Running /jffs/scripts/wan-event (args: 0 connected)
Sep 25 19:38:37 custom_script: Running /jffs/scripts/nat-start
Sep 25 19:38:37 wan-failover.sh: Debug - Script Mode: cron
Sep 25 19:38:37 wan-failover.sh: Debug - Function: cronjob
Sep 25 19:38:37 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Sep 25 19:38:37 wan: finish adding multi routes
Sep 25 19:38:37 rc_service: ip-up 1128:notify_rc stop_samba
Sep 25 19:38:37 rc_service: ip-up 1128:notify_rc start_samba
Sep 25 19:38:37 rc_service: waitting "stop_samba" via ip-up ...
Sep 25 19:38:37 custom_script: Running /jffs/scripts/service-event (args: stop samba)
Sep 25 19:38:37 wsdd2[3822]: Terminated received.
Sep 25 19:38:37 wsdd2[3822]: terminating.
Sep 25 19:38:37 Samba_Server: smb daemon is stopped
Sep 25 19:38:37 custom_script: Running /jffs/scripts/service-event-end (args: stop samba)
Sep 25 19:38:38 custom_script: Running /jffs/scripts/service-event (args: start samba)
Sep 25 19:38:39 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Sep 25 19:38:39 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Sep 25 19:38:40 Diversion: restarted Dnsmasq to apply settings
Sep 25 19:38:40 stubby[1626]: Stubby version: Stubby 0.4.0
Sep 25 19:38:40 Samba_Server: daemon is started
Sep 25 19:38:40 custom_script: Running /jffs/scripts/service-event-end (args: start samba)
Sep 25 19:38:40 wsdd2[1645]: starting.
Sep 25 19:38:57 custom_script: Running /jffs/scripts/nat-start
Sep 25 19:38:57 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Sep 25 19:38:57 Skynet: [*] Lock File Detected (start skynetloc=/tmp/mnt/USB/skynet) (pid=1182) - Exiting (cpid=2461)
Sep 25 19:38:58 zcip_client: configured 169.254.193.178
Sep 25 19:39:07 Skynet: [*] WebUI Integration Requires Logging To Be Enabled
Sep 25 19:39:08 Skynet: [#] 188057 IPs (+0) -- 9241 Ranges Banned (+0) || 0 Inbound -- 0 Outbound Connections Blocked! [start] [31s]

Edit:
When I manually run "wan-failover restart", then WAN1 is switching to hot-standby again.
There isn't a lot here in the logs to help, do you have debug logs turned on for your router?
 
V1.5.7-beta3 seems to be causing issues on my AX88U. My WAN1 (LAN1 port) (Secondary WAN - Hot Standby) is showing "Your ISP's DHCP does not function properly", and no population of IP address.

@Ranger802004 , can you post V1.5.7-beta2 (2c I think was last), so that I could re-test that, as I don't think I had those issues then.
 
V1.5.7-beta3 seems to be causing issues on my AX88U. My WAN1 (LAN1 port) (Secondary WAN - Hot Standby) is showing "Your ISP's DHCP does not function properly", and no population of IP address.

@Ranger802004 , can you post V1.5.7-beta2 (2c I think was last), so that I could re-test that, as I don't think I had those issues then.
Do you have debug logging? The changes between 2 and 3 were minimal.

Direct Link to last v1.5.7-beta2
 
Do you have debug logging? The changes between 2 and 3 were minimal.

Direct Link to last v1.5.7-beta2

I have some debug logging, but I will hold off sending that to you for now, as I rolled back to V1.5.6 Final, got stability on the AX88U, and now upgraded to V1.5.7-beta2, and grabbed the debug logs for the install, so far so good, but will test while the network use is low.
 
I have some debug logging, but I will hold off sending that to you for now, as I rolled back to V1.5.6 Final, got stability on the AX88U, and now upgraded to V1.5.7-beta2, and grabbed the debug logs for the install, so far so good, but will test while the network use is low.
Upgraded from V1.5.7-beta2 to V1.5.7-beta3, grabbed debug logs, so far so good, testing to commence.
 
Upgraded from V1.5.7-beta2 to V1.5.7-beta3, grabbed debug logs, so far so good, testing to commence.
Maybe was a coincidence?
 
@Ranger802004 wanna say massive thank you for writing this script, I just got my setup today and have been testing this out.

Unfortunatly for me I see some very odd issues that effectively stop this working, they seem to resolve around route deletion

I am running an AC66U_B1 currently (AC68U) and have sent you a log privately.

Huwaei E3372 is my modem it doesnt auto connect to my provider and therefore get an IP address for your script to pickup. Web interface shows it as cold standby. If I unplug the WAN0 cable the modem will connect and failover (woohoo) however upon replugging the cable, the script seems to reboot the router :(. This is the modem I really want to use as it has external antenna connections. Suspect this could just be a casue of needing to send the connect command to the modem so it gets the IP initially and fails over quicker?

Running Latest Merlin, Yazfi (with a guest network on 2.4 and a seperat one on 5ghz)

Hope you can help, please let me know if you need more info?
 
Last edited:
Hello,

I have an RT-AX88U with 2 connections for Dual, Both PPOE from an ONU (fibre)

The main Link is 1GBPS, the secondary 600mps, the intention always was to have a loadbalance + QoS (streaming does not interfere with gaming, etc)

I've been trying to use them in load balance mode but without success, there are constant game disconects and other problems with connecting a game and other tcp/udp connections (spdy, ssh, database, vpn, etc).


Which script would be best suited for my use?
 
The only thing load balancing is good for is web browsing and file torrenting. All the other type of connections you mention having issues with require a consistant two way communications.
 
@Ranger802004 wanna say massive thank you for writing this script, I just got my setup today and have been testing this out.

Unfortunatly for me I see some very odd issues that effectively stop this working, they seem to resolve around route deletion

I am running an AC66U_B1 currently (AC68U) and have sent you a log privately.

Huwaei E3372 is my modem it doesnt auto connect to my provider and therefore get an IP address for your script to pickup. Web interface shows it as cold standby. If I unplug the WAN0 cable the modem will connect and failover (woohoo) however upon replugging the cable, the script seems to reboot the router :(. This is the modem I really want to use as it has external antenna connections. Suspect this could just be a casue of needing to send the connect command to the modem so it gets the IP initially and fails over quicker?

Running Latest Merlin, Yazfi (with a guest network on 2.4 and a seperat one on 5ghz)

Hope you can help, please let me know if you need more info?
I will take a look at your logs and see what I can find.
 

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