Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Reconnect adsl via command line

    General pfSense Questions
    4
    4
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      klajosh2
      last edited by

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

      Thanks,

      klajosh

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Try:

        ifconfig pppoe0 up
        

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

        Steve

        1 Reply Last reply Reply Quote 0
        • C
          cnjimmyshao
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • C
            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
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.