Community discussions

MikroTik App
 
malamaka
just joined
Topic Author
Posts: 9
Joined: Thu Feb 09, 2017 10:28 pm

Change pppoe cleint profile

Thu Apr 02, 2020 12:45 am

Hello,

I got a pppoe client myname1 with two profiles.
I want to run a script that changes the client's profile from for example a day profile to a night profile and vice versa.

I already got a script from Chupaka which removes the active client and then he willl connect using the new profile..

Any help will be appreciated.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Change pppoe cleint profile

Sat Apr 04, 2020 8:15 pm

May i ask why changing the user's profile is important ?
 
sopyan0807
newbie
Posts: 39
Joined: Wed Jan 22, 2020 5:21 pm
Location: Indonesia
Contact:

Re: Change pppoe cleint profile

Tue Apr 07, 2020 11:06 am

You only run this script by creating two schedules and setting intervals every 1 day, according to the hour
/ppp secret set profile=NamepProfile [find name=NameSecret];
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Change pppoe cleint profile

Tue Apr 07, 2020 6:28 pm

You only run this script by creating two schedules and setting intervals every 1 day, according to the hour
/ppp secret set profile=NamepProfile [find name=NameSecret];
And what happens in the simple case where the client is connected when you switch the profile ?
 
sopyan0807
newbie
Posts: 39
Joined: Wed Jan 22, 2020 5:21 pm
Location: Indonesia
Contact:

Re: Change pppoe cleint profile

Wed Apr 08, 2020 5:57 am

You only run this script by creating two schedules and setting intervals every 1 day, according to the hour
/ppp secret set profile=NamepProfile [find name=NameSecret];
And what happens in the simple case where the client is connected when you switch the profile ?
client must be disconnected
/ppp active remove [find name=NAME]
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Change pppoe cleint profile

Wed Apr 08, 2020 12:31 pm

And what if the client is in the middle of something? Imagine your ISP changing your PPPoE Profile while you are doing an important work !!!
 
sopyan0807
newbie
Posts: 39
Joined: Wed Jan 22, 2020 5:21 pm
Location: Indonesia
Contact:

Re: Change pppoe cleint profile

Wed Apr 08, 2020 2:01 pm

And what if the client is in the middle of something? Imagine your ISP changing your PPPoE Profile while you are doing an important work !!!
Yees there is no other way, do you have a solution to this problem?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Change pppoe cleint profile

Wed Apr 08, 2020 5:15 pm

The OP does not give any details of the Problem.. So what solution are you talking about ?
 
malamaka
just joined
Topic Author
Posts: 9
Joined: Thu Feb 09, 2017 10:28 pm

Re: Change pppoe cleint profile

Wed Apr 08, 2020 6:24 pm

Thank you Zacharias,

It is always nice to see someone actually answering the question and only the question.and not go way-wire with other crap.
Very professional. Thanks ! :)
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Change pppoe cleint profile

Wed Apr 08, 2020 7:44 pm

Professionalism is when someone tries to give you a correct advice and not just an answer that might get you in more trouble with your configuration...
Obviously you dont care about that, you just want the job done, you dont care if there is a better way, you are bored to explain your problem, to give all the details, what is the use of the PPPoE client and a lot more...

If you dont care to explain i dont care to answer you back.. as simple as that.. Have a nice day...!

Who is online

Users browsing this forum: Majestic-12 [Bot] and 57 guests