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

Reconnect adsl via command line

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 4 Posters 1.6k Views
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 Sep 16, 2014, 10:52 AM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 16, 2014, 8:26 PM

      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 Jul 22, 2015, 6:37 AM

        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 Jul 24, 2015, 12:12 AM

          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.
            This community forum collects and processes your personal information.
            consent.not_received