Skip to content

jordandalley/merlinwatchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASUS Merlin Watchdog

A simple watchdog service for ASUS Merlin firmware.

The script checks pings against the default gateway received from your ISP.

If a ping times out, it attempts to ping the default gateway 5 more times. If no response is received from the default gateway after 5 times, it kills the dhcpc service and forces a reconnect of the WAN interface.

Installation

  1. Login to the router configuration page
  2. In the Administration --> System menu, enable SSH and the Enable JFFS custom scripts and configs options.

image

image

  1. Upload the services-start and merlinwatchdog.sh to /jffs/scripts
  2. In the SSH terminal, run: chmod a+x /jffs/scripts/merlinwatchdog.sh /jffs/scripts/services-start; /jffs/scripts/services-start
  3. You're done!

Thanks

This script is based on https://github.com/elislusarczyk/merlin-wan-watchdog with adaptations.

About

A simple watchdog service for ASUS Merlin firmware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages