OPNsense Forum
Archive => 16.7 Legacy Series => Topic started 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.
-
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
/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.
-
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