Community discussions

MikroTik App
 
adaheem
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Sat Aug 26, 2006 12:33 am

changing profiles in pppoe according to schedule

Tue Mar 18, 2008 1:17 am

hi all

i need to change the profile in pppoe according to a schedule time i choose.
can MT do it?

10x in advance
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: changing profiles in pppoe according to schedule

Tue Mar 18, 2008 3:07 am

you may use scheduler and scripting
 
adaheem
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Sat Aug 26, 2006 12:33 am

Re: changing profiles in pppoe according to schedule

Tue Mar 18, 2008 10:46 pm

any more help please
 
raktim
Member Candidate
Member Candidate
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: changing profiles in pppoe according to schedule

Wed Mar 19, 2008 8:46 am

to change profile ---system script, add /ppp profile set "tester" rate-limit=128k/128k

i think there will be a problem. Coz...
if 200 pppoe customer logged in as a profile name "silver" speed 64k/64k.
when profile will be changed to "Gold" speed 128k/128k as a scheduled time.

client's will not get new profiles speed. first they will have to log off and login again. Now they will get new profiles speed.

For too many client's it's not possible to write a script to remove client from active connection.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: changing profiles in pppoe according to schedule

Thu Mar 20, 2008 12:42 am

For too many client's it's not possible to write a script to remove client from active connection.
ppp active remove [find ppp active find]?..
 
raktim
Member Candidate
Member Candidate
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: changing profiles in pppoe according to schedule

Fri Mar 21, 2008 12:41 pm

For too many client's it's not possible to write a script to remove client from active connection.
ppp active remove [find ppp active find]?..

i know that script. Questions was changing profiles for pppoe clients . i just said, i have 200 clients it's not possible to write 200 scripts to remove clients from active connection.

//if profile is change it will not effect on clients if the clients will not re log in again..

Thnxs....
raktim
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: changing profiles in pppoe according to schedule

Fri Mar 21, 2008 10:46 pm

well, you can mark all clients on old profile with some comment, then change profile, and then remove commented clients
 
adaheem
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Sat Aug 26, 2006 12:33 am

Re: changing profiles in pppoe according to schedule

Sun Mar 23, 2008 6:45 pm

please more details Chupaka didn't get your idea well.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: changing profiles in pppoe according to schedule

Mon Mar 24, 2008 12:21 am

well, you first write, please, why does 'ppp active remove [find ppp active find]' not fit your needs?