Community discussions

MikroTik App
 
kamiliraq
just joined
Topic Author
Posts: 6
Joined: Thu Oct 11, 2007 9:22 pm

I need script remove user in (pppoe)

Thu Oct 11, 2007 9:31 pm

I have script in hotspot?
/ip hotspot active remove[/ip hotspot active find user ali]

I need same this script in pppoe?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: I need script remove user in (pppoe)

Fri Oct 12, 2007 8:44 am

/ppp active remove [/ppp active find ... ]
 
kamiliraq
just joined
Topic Author
Posts: 6
Joined: Thu Oct 11, 2007 9:22 pm

Re: I need script remove user in (pppoe)

Fri Oct 12, 2007 9:10 am

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 ...]
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: I need script remove user in (pppoe)

Fri Oct 12, 2007 9:19 am

Which version? Works for me on 3.0
 
kamiliraq
just joined
Topic Author
Posts: 6
Joined: Thu Oct 11, 2007 9:22 pm

Re: I need script remove user in (pppoe)

Fri Oct 12, 2007 10:02 am

V 2,9,27
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: I need script remove user in (pppoe)

Fri Oct 12, 2007 10:11 am

then you should upgrade to 2.9.46 or 3.0rc6
 
kamiliraq
just joined
Topic Author
Posts: 6
Joined: Thu Oct 11, 2007 9:22 pm

Re: I need script remove user in (pppoe)

Fri Oct 12, 2007 10:33 am

But the code works correctly on hotspot must method works on pppoe in this version
 
kamiliraq
just joined
Topic Author
Posts: 6
Joined: Thu Oct 11, 2007 9:22 pm

Re: I need script remove user in (pppoe)

Fri Oct 12, 2007 12:17 pm

Thank you (MRZ) to help me I found the solution to the problems in another way ?
/ interface pppoe-server remove [find user=ali]
 
Cobusbu
newbie
Posts: 43
Joined: Fri Jan 04, 2008 9:20 am
Location: Cape Town, South Africa

Re: I need script remove user in (pppoe)

Sun Feb 03, 2008 9:45 pm

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.
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: I need script remove user in (pppoe)

Sun Mar 09, 2008 3:00 am

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 .
 
User avatar
surfnet
Member Candidate
Member Candidate
Posts: 277
Joined: Wed Sep 01, 2004 6:38 pm

Re: I need script remove user in (pppoe)

Mon Mar 10, 2008 8:25 pm

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?