Reconnect adsl via command line

  • Hi,

    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)?



  • Netgate Administrator


    ifconfig pppoe0 up

    Assuming your ADSL connection is pppoe0.  ;)
    Or down then up if it's already up and you want to re-try.


  • hi, stephenw10

    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?

  • 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

Log in to reply