Community discussions

MikroTik App
 
SteveLamb
just joined
Topic Author
Posts: 4
Joined: Fri Apr 08, 2011 5:43 pm

Feature request: PPPoE on login

Mon Mar 12, 2012 6:13 pm

we are transitioning a number of our networks from hotspot to pppoe.

we currently group our users in terms of their bandwidth. we do this through running a script that is called when the users log in to create their queues.

we want to do a similar thing with PPPoE but there is no script hook for PPPoE like there is for hotspot.

are their plans for making such a hook or am I looking at this the wrong way
 
samsung172
Forum Guru
Forum Guru
Posts: 1193
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Feature request: PPPoE on login

Mon Mar 12, 2012 6:27 pm

we are transitioning a number of our networks from hotspot to pppoe.

we currently group our users in terms of their bandwidth. we do this through running a script that is called when the users log in to create their queues.

we want to do a similar thing with PPPoE but there is no script hook for PPPoE like there is for hotspot.

are their plans for making such a hook or am I looking at this the wrong way
its possible by scripting to check for active pppoe connection, and trigger another script by this.
 
SteveLamb
just joined
Topic Author
Posts: 4
Joined: Fri Apr 08, 2011 5:43 pm

Re: Feature request: PPPoE on login

Mon Mar 12, 2012 7:24 pm

are you talking about the method that parses the log file every minute and looks for specific types of entries, then takes action on it? or is there another method i am unaware of.
 
samsung172
Forum Guru
Forum Guru
Posts: 1193
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Feature request: PPPoE on login

Tue Mar 13, 2012 1:43 am

are you talking about the method that parses the log file every minute and looks for specific types of entries, then takes action on it? or is there another method i am unaware of.
well. its possible to do a /interface pppoe-server foreach in bla bla bla do set something global bla bla bla check old global new global bla bla bla to find new connections. and if find a new, do something, like running a script. I'm sure there also is better ways by scripting. its also possible to chek the radius server (i have a red/green light in managment system. Its polling pppoe by a java software 5 by 5 min)

it maye also possible like u say. take the info from logfile. but maybe even worse than my taughts. :D
 
User avatar
joshaven
Member
Member
Posts: 438
Joined: Fri May 06, 2011 1:50 am
Location: USA
Contact:

Re: Feature request: PPPoE on login

Tue Mar 13, 2012 9:43 pm

we want to do a similar thing with PPPoE but there is no script hook for PPPoE like there is for hotspot.
You can use a RADIUS server and have the radius server return the Mikrotik-Rate-Limit parameter which will automatically crate a simple queue for the pppoe interface of that user. You could alternatively return a Mikrotik-Address-List parameter to add the users IP to an address list upon which you could match with tree queues or simple queues.

For more info on MikroTik Radius Attributes:
http://wiki.mikrotik.com/wiki/Manual:RA ... Attributes

Who is online

Users browsing this forum: almdandi and 30 guests