thelonelycoder
Part of the Furniture
This originated in this thread.
December 23 2018
The Dual WAN helper script is no longer available to download. See this post for details.
dual-wan-helper is a script that continuously runs in the background once triggered by wan-start and pings a set domain. When ping fails it will restart the wan_service.
It can send a notification email when enabled of the WAN type change with additional info.
Apart from the email credentials and server settings, all script parameters are taken from the WAN/Dual WAN page in the router WebUI.
It tries to use these parameters to only take action when necessary.
Read the "How to use this script" part at the top of the file.
Let's see where this goes, should work best with ASUSWRT-Merlin 380.67 because in this version Dual WAN appears to work best, but other versions might work too.
Note that John's LTS fork and older Merlin versions are a bit sketchy with switching Primary to Secondary WAN but eventually will with this script.
As always, ideas, suggestions and improvements are very welcome.
Download from the website in section Other scripts
December 23 2018
The Dual WAN helper script is no longer available to download. See this post for details.
dual-wan-helper is a script that continuously runs in the background once triggered by wan-start and pings a set domain. When ping fails it will restart the wan_service.
It can send a notification email when enabled of the WAN type change with additional info.
Apart from the email credentials and server settings, all script parameters are taken from the WAN/Dual WAN page in the router WebUI.
It tries to use these parameters to only take action when necessary.
Read the "How to use this script" part at the top of the file.
Let's see where this goes, should work best with ASUSWRT-Merlin 380.67 because in this version Dual WAN appears to work best, but other versions might work too.
Note that John's LTS fork and older Merlin versions are a bit sketchy with switching Primary to Secondary WAN but eventually will with this script.
As always, ideas, suggestions and improvements are very welcome.
Last edited: