Community discussions

MikroTik App
 
emeralddata
just joined
Topic Author
Posts: 2
Joined: Thu Nov 06, 2014 4:57 pm

reboot the router when PPPoE blinks

Thu Nov 06, 2014 5:04 pm

So my ISP seems to drop/reset the PPPoE connection about once a week for just a few moments. Whenever this happens, the router cannot seem to renegotiate IPSec for some reason. I am thinking something with a kernel route gets messed up, don't really know.

What is the method to add a script to the Mikrotik to cause the unit to reboot once it detects the PPPoE connection going down/back up?
 
User avatar
marioclep
Trainer
Trainer
Posts: 140
Joined: Sat Jul 11, 2009 4:36 pm
Location: Cordoba - Argentina
Contact:

Re: reboot the router when PPPoE blinks

Sun Nov 09, 2014 4:50 pm

Hello,

Try using tool > traffic monitor. You could add a script that reboots your router if traffic to pppoe-out is 0kbps...
---------------------

Ing. Mario D. Clep
CTO - MKE Solutions
MikroTik Certified Trainer
 
plisken
Forum Guru
Forum Guru
Posts: 2456
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: reboot the router when PPPoE blinks

Mon Nov 10, 2014 1:59 pm

The question is how to do this.
Any idee?
 
ronix
Member Candidate
Member Candidate
Posts: 152
Joined: Thu Nov 17, 2011 6:51 pm

Re: reboot the router when PPPoE blinks

Mon Nov 10, 2014 5:29 pm

this will help:
http://wiki.mikrotik.com/wiki/Manual:To ... ic_Monitor

also you can use Netwatch ( you can ping Google DNS 8.8.8.8 or the ISP DNS...etc):
http://wiki.mikrotik.com/wiki/Netwatch

Who is online

Users browsing this forum: sgeto and 19 guests