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

    Power cycling upstream cable modem when the internet goes down

    Scheduled Pinned Locked Moved General pfSense Questions
    21 Posts 7 Posters 1.9k 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.
    • JKnottJ
      JKnott @marvosa
      last edited by

      @marvosa said in Power cycling upstream cable modem when the internet goes down:

      and it turned out the company that installed his sprinkler system cut into the buried coax running to his house

      Quite so. I had a similar problem where my Internet connection and home phone, but not TV would fail. It took a lot of work on my part to prove the problem was not in my home (I have two feeds and it failed on both) and I wrote a shell script that pinged my ISPs router and recorded when it failed. The problem turned out to be a defective cable out near the street. The first guy who showed up insisted it was the cable running from my living room to my computer room (as described above) was bad and wanted to run a new cable along the baseboards, around door frames etc.. Since he couldn't explain why it wasn't the cable from the utility room, which was even older and installed by the previous cable company, that failed, I wouldn't let him do that.

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

      1 Reply Last reply Reply Quote 0
      • P
        pftdm007 @JKnott
        last edited by pftdm007

        @JKnott said in Power cycling upstream cable modem when the internet goes down:

        Ah,,, That's more like it.

        Yep

        @JKnott said in Power cycling upstream cable modem when the internet goes down:

        How long is it between failures?

        Well, like I said its not that often. Last time was maybe 2 weeks ago, ping times were in the 300-400ms which is abnormally high, and some stuff wasnt working right. A modem reboot helped.

        Before that, I think I had to reboot it back last summer. Never actually wrote down when I hard reset it, but I'm confident to say that it needs to be hard reset every 8-10 months or so. I dont think something is defective with my wiring, the modem or my ISP, I just think it is what it is.... Its a 40$ consumer grade modem.

        JKnottJ 1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott @pftdm007
          last edited by

          @pftdm007

          Can you reach your modem when it fails. I know it's in bridge mode, but there may be an address that you can reach to configure the modem or check the status. On my Hitron modem, the address is 192.168.100.1.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

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

            @pftdm007 said in Power cycling upstream cable modem when the internet goes down:

            Thomson DCM475

            Yup that. Your modem also looks to have a mgmt interface at that address if your ISP hasn't disabled it.
            You might need to add a virtual IP on WAN to access it though. Say an IPAlias as 192.168.100.10/24. Also assuming you are not using that subnet in your internal network anywhere.

            Try to ping it from Diag > Ping in pfSense.

            Steve

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

              ...though it seems the interface may well only be available it the cable connection goes down.

              Worth trying though. If it is available you can probably see the line stats etc.

              Steve

              1 Reply Last reply Reply Quote 0
              • chpalmerC
                chpalmer
                last edited by

                That is a fairly old cable modem. If you are renting it then ask your ISP for a replacement and just let them know it is buggy. That model actually did have a firmware bug Im not sure ever got fixed.

                http://192.168.1.1

                The only reason you would not be able to see the gui is if the ISP has it shut off from your view. I do recommend a factory reset on it since it probably has not been done in years. It will pick up its config file when it restarts and come back online. But the reset may help get some of the bugs your experiencing out of it.

                https://support.vmedia.ca/kb/a192/how-do-i-reset-the-thompson-technicolor-dcm475-476-.aspx

                Triggering snowflakes one by one..
                Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @stephenw10
                  last edited by

                  @stephenw10 said in Power cycling upstream cable modem when the internet goes down:

                  You might need to add a virtual IP on WAN to access it though.

                  I don't have to with my Hitron.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

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

                    Yeah, it would depend on what the modem sees it's routing table, if it has a default route even.

                    Those devices are expected to be only modems so more likely to work as such. Routers running in 'modem mode' often end up with no default route so can only respond to traffic from their own subnet.

                    Steve

                    JKnottJ 1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @stephenw10
                      last edited by

                      @stephenw10

                      I would expect a modem in bridge mode wouldn't have much of a routing table. I suspect it uses deep packet inspection, to see which packets have that address for a destination.

                      PfSense running on Qotom mini PC
                      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                      UniFi AC-Lite access point

                      I haven't lost my mind. It's around here...somewhere...

                      1 Reply Last reply Reply Quote 0
                      • Y
                        YannTKO
                        last edited by

                        You can setup a raspberry and use GPIO to pilot a relay.

                        Netgate SG-3100 23.09.1
                        Unifi UAP: 1x FlexHD + 2x nanoHD + 1x AC-IW | Unifi USW: 1x16-PoE Gen2 + 4x US-8-60W | Cloudkey Gen2 Plus
                        1 x NUC8i7BEH 32Go - ESXI 8 (Pfsense + many VM)

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by johnpoz

                          If you were using unifi controller, ie you had some unifi AP for example - then this would do exactly what your asking for

                          https://store.ui.com/collections/unifi-accessories/products/unifi-smart-power
                          The UniFi SmartPower Plug is a device installed between the AC outlet and the power plug of an internet modem or router. The UniFi Network Controller continuously monitors availability of an internet connection. If the connection drops, the UniFi SmartPower Plug automatically restarts the modem or router by disconnecting power for a short period of time.

                          But yeah with all the smart plugs these days, I would think it would be pretty easy to rig something like this up..

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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