Community discussions

MUM Europe 2020
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 114
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Feature Request: Run Script On PPPoE connect

Wed Mar 09, 2016 4:01 pm

As the subject states...
It's not funny if i have to explain it to you! (http://wiki.plecko.hr)
 
MrYan
Member Candidate
Member Candidate
Posts: 109
Joined: Sat Feb 27, 2010 6:13 pm

Re: Feature Request: Run Script On PPPoE connect

Thu Mar 10, 2016 10:03 am

Different to on-up/on-down (http://wiki.mikrotik.com/wiki/Manual:PPP_AAA)?
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 114
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Feature Request: Run Script On PPPoE connect

Thu Mar 10, 2016 11:38 am

Exceuse me, i can see how you would think that this would help.
Let me elaborate:

I would like to run a script (exactly as you stated) on-up and on-down, but when my PPPoE out connects or gets disconnected.

I have a GSM modem and would like to send myself a SMS when the link drops, and a SMS with the IP when it's up again.

I know that there are scripts for this, but they require constant repeating - and i think it's about time to add this functionality (on-up and on-down) for all interfaces.

I believe that it would greatly reduce the number of repeating scripts.
It's not funny if i have to explain it to you! (http://wiki.plecko.hr)
 
cipito
just joined
Posts: 6
Joined: Thu Nov 22, 2012 11:36 pm

Re: Feature Request: Run Script On PPPoE connect

Fri Mar 11, 2016 6:50 pm

Exceuse me, i can see how you would think that this would help.
Let me elaborate:

I would like to run a script (exactly as you stated) on-up and on-down, but when my PPPoE out connects or gets disconnected.

I have a GSM modem and would like to send myself a SMS when the link drops, and a SMS with the IP when it's up again.

I know that there are scripts for this, but they require constant repeating - and i think it's about time to add this functionality (on-up and on-down) for all interfaces.

I believe that it would greatly reduce the number of repeating scripts.
I am monitoring links with PING ( with nowsms software ) installed on a windows server. Nowsms can do wget or lots of other stuff.
I guess when your pppoe client goes down, it wont aswer icmp anymore :)
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 114
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Feature Request: Run Script On PPPoE connect

Sat Mar 12, 2016 11:47 pm

I was hoping not to use a software on another machine..
It's not funny if i have to explain it to you! (http://wiki.plecko.hr)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5960
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Feature Request: Run Script On PPPoE connect

Fri Mar 18, 2016 2:48 am

http://wiki.mikrotik.com/wiki/Manual:PPP_AAA#Properties
on-up and on-down does exactly what you are requesting.
 
User avatar
eworm
Member
Member
Posts: 445
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: Feature Request: Run Script On PPPoE connect

Wed Apr 13, 2016 3:35 pm

http://wiki.mikrotik.com/wiki/Manual:PPP_AAA#Properties
on-up and on-down does exactly what you are requesting.
Ah, great! Did not know about that. lease-script for dhcp leases is very useful as well...
Are there any more possible hook scripts?
Manage RouterOS scripts and extend your devices' functionality: RouterOS Scripts

Who is online

Users browsing this forum: dioeyandika and 65 guests