Reconnect adsl via command line
klajosh2 last edited by
a quick question and I cannot find the answer anywhere (once i found it but now I cannot),
How can I reconnect to the ADSL (pppoe) service via command line (cli)?
ifconfig pppoe0 up
Assuming your ADSL connection is pppoe0. ;)
Or down then up if it's already up and you want to re-try.
cnjimmyshao last edited by
I tried "ifconfig interface down", it dosn't disconnect the PPPOE, it just simply block the communication.
When I use "ifconfig interface up", the PPPOE connection remains, it never disconnect and reconnect.
how it comes?
cmb last edited by
ifconfig on the PPPoE interface won't do anything there. You can run this:
/usr/local/sbin/pfSctl -c 'interface reload wan' >/dev/null 2>&1 || exit 1