OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: prodriguezd on December 21, 2016, 01:29:00 pm

Title: PPPoE manually connect and disconnect
Post by: prodriguezd on December 21, 2016, 01:29:00 pm
Hi.

I'm new in OPNSense 16.7.

Can someone tell me if its posible to manually connect and disconnect PPPoE interfaces using the CLI?

I have been googling a lot without sucess.  :-[

Thanks.
Title: Re: PPPoE manually connect and disconnect
Post by: andi on February 24, 2017, 09:38:27 am
This works on pfSense, I just checked in opnSense and the file is gone, not knowing much about BSD I cannot comment on a workaround. Perhaps this works as a starting point for you:

https://forum.pfsense.org/index.php?topic=60233.0#msg324124

Code: [Select]
/usr/local/sbin/pfSctl -c 'interface reload wan'
It is only for restarting PPPoE though, probably just disabling and enabling the interface does the same trick.
Title: Re: PPPoE manually connect and disconnect
Post by: franco on February 27, 2017, 05:28:02 pm
Given that "wan" is your PPPoE connection:

# configctl interface reload wan

On 17.1 and up the console menu option 11 restarts all interfaces as well.


Cheers,
Franco