OPNsense Forum

English Forums => General Discussion => Topic started by: pickone on May 28, 2024, 11:39:18 AM

Title: PPPOE manually disconnect/connect/restart from SSH
Post by: pickone on May 28, 2024, 11:39:18 AM
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
Title: Re: PPPOE manually disconnect/connect/restart from SSH
Post by: pickone on May 28, 2024, 07:38:37 PM
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