Community discussions

 
User avatar
sjoram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Sun Feb 10, 2013 8:47 pm
Location: Essex, UK

Script - ping 'watchdog' - high latency

Sat Jul 27, 2019 3:59 pm

Hi all,

Having looked at various other forum posts, I'm trying to find a script to replace the System Watchdog.

The reason for this is that often when my DSL connection loses sync, the PPP login on RouterOS gives up re-trying to establish PPP after a short time. This then requires either the PPP interface to be disabled/re-enabled, or the router rebooted to re-establish the PPP session.

I have a fault on my DSL at the moment which means I have high latency and some packet loss, which is causing frequent unnecessary reboots via the default watchdog.

Thus what I am looking to do is have a script that when testing ping, I can specify a timeout value that can cope with the high latency, and also specify a number of acceptable lost packets.
Ideally, I would get the script to disable/re-enable the PPP client interface, rather than rebooting the router.

I can't seem to decipher how to do this based on the scripts I've already seen shared. Can anyone help?
RouterBOARD RB750 - Xilo ADSL2+ (Annex M)
RouterBOARD RB750GL - Xilo FTTC (VDSL)

Who is online

Users browsing this forum: No registered users and 61 guests