Page 1 of 1
I need script remove user in (pppoe)
Posted: Thu Oct 11, 2007 9:31 pm
by kamiliraq
I have script in hotspot?
/ip hotspot active remove[/ip hotspot active find user ali]
I need same this script in pppoe?
Re: I need script remove user in (pppoe)
Posted: Fri Oct 12, 2007 8:44 am
by mrz
/ppp active remove [/ppp active find ... ]
Re: I need script remove user in (pppoe)
Posted: Fri Oct 12, 2007 9:10 am
by kamiliraq
We have tested this code did not work
/ppp active remove [/ppp active find ...]
and also tested this code and also did not work
/ppp active remove [/ppp active find secret ...]
Re: I need script remove user in (pppoe)
Posted: Fri Oct 12, 2007 9:19 am
by mrz
Which version? Works for me on 3.0
Re: I need script remove user in (pppoe)
Posted: Fri Oct 12, 2007 10:02 am
by kamiliraq
V 2,9,27
Re: I need script remove user in (pppoe)
Posted: Fri Oct 12, 2007 10:11 am
by mrz
then you should upgrade to 2.9.46 or 3.0rc6
Re: I need script remove user in (pppoe)
Posted: Fri Oct 12, 2007 10:33 am
by kamiliraq
But the code works correctly on hotspot must method works on pppoe in this version
Re: I need script remove user in (pppoe)
Posted: Fri Oct 12, 2007 12:17 pm
by kamiliraq
Thank you (MRZ) to help me I found the solution to the problems in another way ?
/ interface pppoe-server remove [find user=ali]
Re: I need script remove user in (pppoe)
Posted: Sun Feb 03, 2008 9:45 pm
by Cobusbu
I have been looking for a script to remove pppoe users and 'dead' sessions for a long time when in came across this script. It works great. Thank you.
Re: I need script remove user in (pppoe)
Posted: Sun Mar 09, 2008 3:00 am
by ahmedsaffar76
Hi ;
I am glad to write here .
I am looking for a script to enable and to disable a pppoe users in a specific time , as example :
1. disable some users from 6 am - 6 pm .
2. enable some userse from 6 pm - 6 am .
or any other hours as the client wish .
also is there a script to disable and enable the wireless lan in specific time ?
i will be waiting your help and feedback eagerly .
with best regards .
Re: I need script remove user in (pppoe)
Posted: Mon Mar 10, 2008 8:25 pm
by surfnet
I am also having trouble with a script to remove Hotspot users, it works fine in 2.9.x but does nothing in 3.x
/ ip hotspot user {:foreach r in=[find profile=Advanced] do={remove $r}}
is the command, and when I run it in the terminal, I get this.
[admin@Andy] > / ip hotspot user {:foreach r in=[find profile=Advanced] do={remove $r}}
ambiguous value of profile, more than one possible value matches input
any ideas?