Xruptor
Regular Contributor
I have a question because I've been using ASUSTWRT-Merlin for years now and wondered if some features are now built in.
I have been using a CheckWan or ChkWAN script (https://github.com/MartineauUK/Chk-WAN) to reconnect the WAN when several groups of pings fail for years. I even used an older one before that one for years before that. (https://pastebin.com/tc1RaTSN) The reason this was used was back in the day there was no auto reconnect method for the WAN on Asuswrt-Merlin when an issue was found. So folks used scripts to do ping checks to reset the modem or reset the wan. Therefore, I used the script to reconnect when a WAN issue was found over the years.
Recently though with the last couple of firmwares, I've noticed that ASUSTWRT-Merlin seems to do a loop process to trying to reconnect when the modem is down or the internet is down. So I disabled the CheckWAN script to see if that was causing it. It turned out it wasn't and I was baffled. I even turned off the FlexQOS thinking this was the culprit. But nope, low and behold it looks like the ASUSWRT-Merlin was trying to continuously refresh either the WAN or DHCP constantly. Eventually I would get the message, " WAN_Connection: WAN was restored." When the connection to the WAN was restored. I looked everywhere in my scripts for this and couldn't find it.
It seems to do a complete WAN reset loop each time until it finally reconnects. Including running or resetting the following over and over again.
So was this feature added at some point? Was there a script incorporated internally to do a reconnect loop if the WAN is down? If so that is great and I can ditch the CheckWAN script I've used for all these years. I just wanted to make sure it's something or an option that was incorporated in Asuswrt-Merlin after all this time. I would rather use the built in methods then rely on a script that is doing the same job. Please let me know as I'm unsure if this is the case!
I have been using a CheckWan or ChkWAN script (https://github.com/MartineauUK/Chk-WAN) to reconnect the WAN when several groups of pings fail for years. I even used an older one before that one for years before that. (https://pastebin.com/tc1RaTSN) The reason this was used was back in the day there was no auto reconnect method for the WAN on Asuswrt-Merlin when an issue was found. So folks used scripts to do ping checks to reset the modem or reset the wan. Therefore, I used the script to reconnect when a WAN issue was found over the years.
Recently though with the last couple of firmwares, I've noticed that ASUSTWRT-Merlin seems to do a loop process to trying to reconnect when the modem is down or the internet is down. So I disabled the CheckWAN script to see if that was causing it. It turned out it wasn't and I was baffled. I even turned off the FlexQOS thinking this was the culprit. But nope, low and behold it looks like the ASUSWRT-Merlin was trying to continuously refresh either the WAN or DHCP constantly. Eventually I would get the message, " WAN_Connection: WAN was restored." When the connection to the WAN was restored. I looked everywhere in my scripts for this and couldn't find it.
It seems to do a complete WAN reset loop each time until it finally reconnects. Including running or resetting the following over and over again.
- dnsmasq
- miniupnpd
- custom_script: Running /jffs/scripts/wan-event
- ntpd
- firewall-start
- rc_service
- custom_script: Running /jffs/scripts/service-event-end
So was this feature added at some point? Was there a script incorporated internally to do a reconnect loop if the WAN is down? If so that is great and I can ditch the CheckWAN script I've used for all these years. I just wanted to make sure it's something or an option that was incorporated in Asuswrt-Merlin after all this time. I would rather use the built in methods then rely on a script that is doing the same job. Please let me know as I'm unsure if this is the case!