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

    Reboot SG3100 if internet goes down?

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    19 Posts 6 Posters 1.5k 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.
    • P
      pfguy2018 @SteveITS
      last edited by

      @steveits
      I went through everything in this guide and every setting is fine.
      I already have the log display set to the max, but the loss of internet happened in the middle of the night, with more than 2000 log entries being written subsequently and before I had a chance to copy the log.

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Dayve
        last edited by

        @dayve

        As you can see, the modem actually took the interface down.
        And up a couple of seconds later.

        A WAN must have been set up, as dpinger starts to receive ping replies - as does your nordvpn connection, as it is build over your WAN connection.

        To test and setup a WAN connection, do so first without VPN.
        As soon as it is rock solid, and comes back also ok after a modem 'reset', then activate your VPN again.

        @pfguy2018 said in Reboot SG3100 if internet goes down?:

        Apr 13 02:37:08 dpinger 76219 WAN_DHCP 208.67.222.222: sendto error: 65

        dpinger tried to send pings over an interface that was shut down (DOWN). Normally, this means that the device (modem) on the other side of WAN cable hung up during a short period. This is what modems like to do ones in a while.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        P 1 Reply Last reply Reply Quote 0
        • P
          pfguy2018 @Gertjan
          last edited by

          @gertjan said in Reboot SG3100 if internet goes down?:

          dpinger tried to send pings over an interface that was shut down (DOWN). Normally, this means that the device (modem) on the other side of WAN cable hung up during a short period. This is what modems like to do ones in a while.

          I should have been more clear - this was only a small snippet from the log. The same message was repeated over and over and over for hours, and did not stop until I rebooted. Prior to rebooting, I tried to release and renew the WAN interface, but this did not work. During this time, the WAN interface had an address of 0.0.0.0 instead of the proper IP address from my ISP.

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @pfguy2018
            last edited by

            @pfguy2018 said in Reboot SG3100 if internet goes down?:

            During this time, the WAN interface had an address of 0.0.0.0 instead of the proper IP address from my ISP.

            Logs from right before (5 seconds) to 2 minutes afterwards should show details.
            Like dhcp-ciient restarting and reset the WAN IP.
            Then it asks the ISP for an IP ....... and it repeats, and repeats ..... and no answer. So the IP stays 0.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            I 1 Reply Last reply Reply Quote 0
            • I
              itpp21 @Gertjan
              last edited by

              I've been having this issue as well and it reminded me of my old cisco cable modem which did the same, my solution at the time and still works here is placing an extra switch between the (bridged) cable modem and the sg-5100. Ymmv.

              P 1 Reply Last reply Reply Quote 1
              • P
                pfguy2018 @itpp21
                last edited by

                @itpp21 said in Reboot SG3100 if internet goes down?:

                I've been having this issue as well and it reminded me of my old cisco cable modem which did the same, my solution at the time and still works here is placing an extra switch between the (bridged) cable modem and the sg-5100. Ymmv.

                Interesting suggestion, which I will definitely follow! A couple of questions:

                1. Will any gigabit switch do? Or does it have to be a managed switch instead of a simple switch?

                2. Why does this work?

                I 1 Reply Last reply Reply Quote 0
                • I
                  itpp21 @pfguy2018
                  last edited by

                  A netgear gs105 will do fine.

                  It works (assuming) because a fiber or cable modem go through several phases when booting which can throw off pfsense (the WAN side can go offline/online several times quickly and sometimes at online mode not really be ready), when the NIC is always up dpinger will detect a WAN link anyway and act properly after the WAN is really finished booting. With a switch in between pfsense doesn't need to deal with a rapid changing NIC status, which to me sounds like a conflict between rapid going up/down and attempting to get WAN info both at the same time.

                  Years ago when I had a cisco, that thing went up/down about 20 times before it finally stayed up leaving my firewall at the time totally baffled what was going on and ofcourse not wanting to going online.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    pfguy2018 @itpp21
                    last edited by

                    @itpp21 said in Reboot SG3100 if internet goes down?:

                    A netgear gs105 will do fine.

                    It works (assuming) because a fiber or cable modem go through several phases when booting which can throw off pfsense (the WAN side can go offline/online several times quickly and sometimes at online mode not really be ready), when the NIC is always up dpinger will detect a WAN link anyway and act properly after the WAN is really finished booting. With a switch in between pfsense doesn't need to deal with a rapid changing NIC status, which to me sounds like a conflict between rapid going up/down and attempting to get WAN info both at the same time.

                    Years ago when I had a cisco, that thing went up/down about 20 times before it finally stayed up leaving my firewall at the time totally baffled what was going on and ofcourse not wanting to going online.

                    I wanted to thank you for your simple but effective suggestion. I stuck a Netgear unmanaged gigabit switch between the modem and WAN port of the SG5100 and rebooted. Then I tested by manually rebooting the modem while keeping the SG5100 powered on. Voila! As soon as the modem came back online, the pfSense WAN interface was up and everything worked! (before inserting the switch, I would have had to reboot pfSense after the modem rebooted in order to restore the WAN interface)

                    Thank you so much!

                    1 Reply Last reply Reply Quote 0
                    • D
                      Dayve
                      last edited by Dayve

                      I lost my internet again last night. And it was doing so good. Can anyone see why in these logs? No internet until I logged in and rebooted.

                      f7116e57-7b7c-436b-80ef-61489592080e-image.png

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        wc2l @Dayve
                        last edited by

                        @dayve what log are you looking? I have internet, but no interface.. I'm scared to bounce it again since I currently have internet.. I was looking at the interface last night.. I just got home and was surprised to seen no web interface

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          Dayve @wc2l
                          last edited by Dayve

                          @wc2l It is from the General system logs. At the same time I got notified my server could not ping outside my network.

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