Community discussions

MikroTik App
 
jondavy
Member Candidate
Member Candidate
Topic Author
Posts: 143
Joined: Tue May 12, 2009 11:14 pm
Location: Brasil

[Feature Request] Script After / Before PPPoE Connect / Disconnect

Mon Mar 30, 2015 4:09 pm

Would be a great idea to add in / ppp profile the ability to run scripts when someone connect, or disconnect,
as well as hotspot user profile on-login / on-logout

because I like many people have several scripts that have to be running seconds in second, and so so would run if someone connect / disconnect
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Mon Mar 30, 2015 4:14 pm

Funny. I emailed support two days ago with that exact feature request :lol: . No reply yet, but I don't blame them, since it was on a weekend, and it's still only Monday.
 
dbdom
just joined
Posts: 23
Joined: Sun Dec 09, 2012 9:51 pm

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Tue Mar 31, 2015 9:40 pm

+1, but for all PPP connection types, not only PPPoE.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Wed Apr 01, 2015 2:24 am

I wish dhcp-client would trigger an event whenever it obtains/renews/releases a lease also.
Then I wouldn't have to run my ddns-update script every 5 minutes.
(I ---loathe--- scheduled scripts that do something that should just be event driven)

The IP will not change w/o a lease being obtained. I don't need to check it 500 times a day when the lease is good for 3 days.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Wed Apr 01, 2015 1:10 pm

I wish dhcp-client would trigger an event whenever it obtains/renews/releases a lease also.
Then I wouldn't have to run my ddns-update script every 5 minutes.
Amen to that
 
jondavy
Member Candidate
Member Candidate
Topic Author
Posts: 143
Joined: Tue May 12, 2009 11:14 pm
Location: Brasil

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Mon Apr 06, 2015 9:54 pm

+1, but for all PPP connection types, not only PPPoE.
yes, its really a great idea to all, PPP, DHCP-Server,wireless etc...
 
urknall
newbie
Posts: 36
Joined: Fri Aug 22, 2014 3:27 pm

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Mon Apr 06, 2015 10:19 pm

+1 for script support, that's exactly what i just needed a few days ago.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Mon Apr 06, 2015 10:42 pm

+1, but for all PPP connection types, not only PPPoE.
yes, its really a great idea to all, PPP, DHCP-Server,wireless etc...
DHCP server already has on-lease scripts. But yeah. Wireless too indeed.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Tue Apr 14, 2015 7:28 pm

At the risk of jinxing it, I'm going to reveal the final reply I got from support, after some back&forth, looking for possible alternative approaches, and why this is ultimately the best solution:
Talked again and [our developer] agreed to implement this feature. But as it is not very popular request and we are working on many other things at the moment, then I believe it will take a while to implement.
(my personal interpretation of that is "we're aiming to have it in 6.30, but no promises!" :lol: )
 
Stalnoff
just joined
Posts: 5
Joined: Fri Apr 24, 2015 1:40 am

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Sat Apr 25, 2015 2:18 am

Hi!

+100500 to more event triggers: DHCP-client lost/got, interfaces (all) up/down (connected/disconnected) :)
 
n3120
just joined
Posts: 5
Joined: Sat May 16, 2015 5:21 pm

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Sat Jul 18, 2015 4:48 pm

I am for the new feature too!

I hope there are more events! pppoe-connect/disconnect and etc

Thanks!
 
User avatar
dlynes
newbie
Posts: 32
Joined: Tue Apr 12, 2016 9:08 pm
Location: Hamilton, Canada
Contact:

Re: [Feature Request] Script After / Before PPPoE Connect / Disconnect

Tue Apr 12, 2016 9:12 pm

I wish dhcp-client would trigger an event whenever it obtains/renews/releases a lease also.
Then I wouldn't have to run my ddns-update script every 5 minutes.
(I ---loathe--- scheduled scripts that do something that should just be event driven)

The IP will not change w/o a lease being obtained. I don't need to check it 500 times a day when the lease is good for 3 days.
+1

Should be able to have an up/down script for IP address assignments on any interface, which would cover off any PPP clients, DHCP clients, ...

Who is online

Users browsing this forum: No registered users and 32 guests