Community discussions

MikroTik App
 
mrmuu
newbie
Topic Author
Posts: 30
Joined: Thu Dec 01, 2011 4:52 pm
Location: hungary

pppoe server how to drop all the clients after midnight?

Mon Sep 05, 2016 6:14 pm

Hy,

i have a ccr router where all my pppoe clients are, how can i drop them at the same time every day? the only way is the scheduler with a script or there is a setting somewhere in mikrotik to do is?

thanks
 
raymondr15
Member Candidate
Member Candidate
Posts: 118
Joined: Fri Sep 05, 2014 1:11 am
Location: East London, South Africa
Contact:

Re: pppoe server how to drop all the clients after midnight?

Wed Sep 14, 2016 4:44 pm

Hy,

i have a ccr router where all my pppoe clients are, how can i drop them at the same time every day? the only way is the scheduler with a script or there is a setting somewhere in mikrotik to do is?

thanks
You will have to do it with scheduler and script:
/ppp active remove [/ppp active find service=pppoe]
 
mrmuu
newbie
Topic Author
Posts: 30
Joined: Thu Dec 01, 2011 4:52 pm
Location: hungary

Re: pppoe server how to drop all the clients after midnight?

Thu Mar 02, 2017 10:29 am

thank you! i have made a script too, it works!

/ppp active
:foreach pppoe in=[find] do={
:local name [get $pppoe name]
:log error $name
remove $pppoe}
 
freemannnn
Forum Veteran
Forum Veteran
Posts: 700
Joined: Sun Oct 13, 2013 7:29 pm

Re: pppoe server how to drop all the clients after midnight?

Thu Mar 02, 2017 10:51 am

if you disable and enable the pppoe server interface? does it disconnect the clients?
 
raymondr15
Member Candidate
Member Candidate
Posts: 118
Joined: Fri Sep 05, 2014 1:11 am
Location: East London, South Africa
Contact:

Re: pppoe server how to drop all the clients after midnight?

Fri Mar 03, 2017 10:43 pm

if you disable and enable the pppoe server interface? does it disconnect the clients?

Yes it will

Who is online

Users browsing this forum: Google [Bot], smirgo and 54 guests