PPPOE manually disconnect/connect/restart from SSH

Started by pickone, May 28, 2024, 11:39:18 AM

Previous topic - Next topic
Hi!

There is any command I can use, in order to restart the PPPOE connection?  Disconnect, connect or even just restart, it would help me.

Using "service netif restart wan" it is way TOOO slow. I get a reconnection after more than 1-2 minutes. Any other command?

Thanks

I found a solution for VERY fast disconnect/reconnect of the pppoe, but it is not changing my external dynamic IP.
This is what I used

ifconfig pppoe0 down
ifconfig pppoe0 up


Any solution to do this as fast as ifconfig does, but to change the external IP as well? Normally the extenal IP it is changing every time I restart the router