DIR850L Automatic switch PPPOE accounts with mac

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
dica266
DD-WRT Novice


Joined: 08 Oct 2018
Posts: 6

PostPosted: Mon Oct 08, 2018 16:00    Post subject: DIR850L Automatic switch PPPOE accounts with mac Reply with quote
Hi guys, I am coming here with a problem hoping to find it's solution. I have 4 PPPOE accounts with limited traffic, each account have a unique MAC address. I can change them manually after they exceeded the traffic which is usually something like 7 days. I would like to know if it's possible to make a custom script in DD-WRT to change let's say once per day at 6AM the account, which means: a username, a password and a MAC address from a list of 4. Thank you for reading until there!
Sponsor
dica266
DD-WRT Novice


Joined: 08 Oct 2018
Posts: 6

PostPosted: Mon Oct 15, 2018 10:37    Post subject: Reply with quote
I will try to make the script myself but I don't know where to start from or if that's even possible at all.
dica266
DD-WRT Novice


Joined: 08 Oct 2018
Posts: 6

PostPosted: Fri Oct 26, 2018 21:25    Post subject: Reply with quote
Nobody ? Crying or Very sad
tuwawun
DD-WRT Novice


Joined: 09 Nov 2018
Posts: 1

PostPosted: Fri Nov 09, 2018 11:43    Post subject: Reply with quote
Your router isn't compatible with dd-wrt! Sorry man Crying or Very sad
dica266
DD-WRT Novice


Joined: 08 Oct 2018
Posts: 6

PostPosted: Sun Dec 23, 2018 7:22    Post subject: Reply with quote
Ok, let's assume I will buy a compatible router, is there any way that this thing is possible ?
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sun Dec 23, 2018 10:20    Post subject: Reply with quote
https://wiki.dd-wrt.com/wiki/index.php/Category:Dual_WAN

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=975676
dica266
DD-WRT Novice


Joined: 08 Oct 2018
Posts: 6

PostPosted: Sun Dec 23, 2018 10:37    Post subject: Reply with quote
Hmm.. it doesn't seem to solve my problem, I don't want two active WAN connections or some sort of backup, I just have one cable where I authenticate to PPPOE with User, Password and router wan interface Mac address. Basically, I have a file like this and I want to iterate through it, disconnect from active connection, change the data and reconnect once per day.

user1,password1,mac1
user2,password2,mac2
user3,password3,mac3
user4,password4,mac4
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sun Dec 23, 2018 10:46    Post subject: Reply with quote
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=745795

You have to write some shell script.
dica266
DD-WRT Novice


Joined: 08 Oct 2018
Posts: 6

PostPosted: Sun Dec 23, 2018 10:50    Post subject: Reply with quote
Ok... do you have more helping links, maybe how to setup one connection and I'll try to figure out the iteration though list/how to run every day... Thanks!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum