SnagaDuath DD-WRT Novice
Joined: 16 Jul 2015 Posts: 2
|
Posted: Thu Jul 16, 2015 20:06 Post subject: Configure PPPOE in command line |
|
Hi,
I have multiple PPPOE accounts and sometimes have to switch between them. Since the web gui doesn't allow me to add more than one PPPOE account, I would like to write a script to switch between my accounts easily. However, I can't seem to find a way to configure the PPPOE connection in the command line.
I've tried this:
Code: |
nvram set pppoe_username="user"
nvram set pppoe_passwd="password"
nvram commit
stopservice wan
startservice wan
|
After running those commands, the settings are changed in `nvram show`, but they don't reflect in the web gui, and I'm still connected with whatever previous account I had set up.
Does anyone know how to do this? I've searched a lot, but I can only find tutorials that use the web gui to configure PPPOE.
Thanks |
|
SnagaDuath DD-WRT Novice
Joined: 16 Jul 2015 Posts: 2
|
Posted: Mon Jul 20, 2015 19:51 Post subject: |
|
Hi,
I'm still struggling with this issue. Since my last post I've also tried replacing the /tmp/ppp/options.pppoe file and restarting the wan service, but that file just gets replaced with the old one again...
Any ideas? |
|