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

    Restart WAN PPPoE interface

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 831 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.
    • M
      murdof
      last edited by

      Can somebody please let me know in 2.7.2 how can I restart the PPPoE and get a new IP?
      ifup down/up will not give me a new IP and not fully reset PPPoE

      I also found:
      /usr/local/sbin/pfSsh.php playback restartallwan
      that will do they job - but it restarts LAN interface as well (maybe a bug as the command say restartallwan instead of all interfaces?)

      V fireodoF 2 Replies Last reply Reply Quote 0
      • V
        viragomann @murdof
        last edited by

        @murdof

        /var/etc/pppoe_restart_pppoe0
        

        in case, that pppoe0 is your WAN. Otherwise you have to adapt the pppoe number.

        M 1 Reply Last reply Reply Quote 0
        • M
          murdof @viragomann
          last edited by

          @viragomann

          Doesn't exist in 2.7.2

          [2.7.2-RELEASE][admin@pfSense.home.arpa]/var/etc: ls -al
          total 64
          drwxr-xr-x   6 root wheel    15 Mar  4 10:09 .
          drwxr-xr-x  29 root wheel    29 Jan  2 12:34 ..
          -rw-r--r--   1 root wheel 17339 Mar  4 10:09 filterdns.conf
          drwxr-xr-x   3 root wheel     7 Mar  4 10:08 haproxy
          -rw-r--r--   1 root wheel   305 Mar  1 01:11 miniupnpd.conf
          lrwxr-xr-x   1 root wheel    26 Mar  1 01:10 mpd.script -> /usr/local/sbin/mpd.script
          -rw-r--r--   1 root wheel   954 Mar  4 10:08 mpd_wan.conf
          drwxr-xr-x   2 root wheel     4 Mar  1 01:10 newsyslog.conf.d
          -rw-r--r--   1 root wheel  1800 Mar  1 01:11 nginx-webConfigurator.conf
          -rw-r--r--   1 root wheel   436 Mar  1 01:19 ntpd.conf
          drwxr-x---   3 root wheel     3 Mar  1 01:10 openvpn
          -rw-r--r--   1 root wheel    39 Mar  4 10:09 radvd.conf
          -rw-r--r--   1 root wheel  1059 Mar  4 10:08 snmpd.conf
          drwxr-xr-x   2 root wheel     4 Mar  1 01:17 syslog.d
          -rw-r--r--   1 root wheel  1589 Mar  4 10:09 xinetd.conf
          
          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @murdof
            last edited by

            @murdof
            I have configured a scheduled reset in the PPPoE interface setting. Possibly it was added by this.

            1 Reply Last reply Reply Quote 0
            • fireodoF
              fireodo @murdof
              last edited by

              @murdof said in Restart WAN PPPoE interface:

              Can somebody please let me know in 2.7.2 how can I restart the PPPoE and get a new IP?

              Hi, I use this command:

              /usr/local/sbin/pfSctl -c 'interface reload wan'
              

              Regards,
              fireodo

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.8.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

              M 1 Reply Last reply Reply Quote 2
              • M
                murdof @fireodo
                last edited by

                @fireodo
                Thanks - that worked!

                fireodoF 1 Reply Last reply Reply Quote 0
                • fireodoF
                  fireodo @murdof
                  last edited by

                  @murdof said in Restart WAN PPPoE interface:

                  Thanks - that worked!

                  You're welcome!

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.8.0 CE
                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.