Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
PPPoE manually connect and disconnect
« previous
next »
Print
Pages: [
1
]
Author
Topic: PPPoE manually connect and disconnect (Read 10551 times)
prodriguezd
Newbie
Posts: 4
Karma: 0
PPPoE manually connect and disconnect
«
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.
Logged
andi
Newbie
Posts: 10
Karma: 0
Re: PPPoE manually connect and disconnect
«
Reply #1 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.
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: PPPoE manually connect and disconnect
«
Reply #2 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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
PPPoE manually connect and disconnect