Every month or so all my devices lose internet and the only way to connect them all back is to disconnect them from the DNS server that Pihole is running.

I set my Pihole to have a static IP but for some reason after around a month or maybe longer, it just fails. This has happened 4 times over the last while and the only fix is to essentially uninstall everything on my Pihole, disable it, and then reconfigure it from scratch again.

I’m not sure what’s going on so any help would be appreciated.

  • PerogiBoi@lemmy.caOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    I set it directly on the computer hosting Pi since my router doesn’t let me log into it.

    • redcalcium@lemmy.institute
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 months ago

      There is a chance that the dhcp server on your router actually hand out the same ip address to other client, causing the pi to become inaccessible due to ip address conflict. Assigning the static ip address from the router will prevent this issue.

      If your router is from your ISP, maybe you can ask them to give you access to the lan configuration options. ISP routers usually have two accounts, the full admin account which usually aren’t handed out to their subscribers, and a user account that would let their subscriber configure various lan settings.

      • PerogiBoi@lemmy.caOP
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        9 months ago

        At one point my router would let me log into it using its IP address but now it does not let me no matter what IP I type.

        This all would have been much simpler had I been able to log in and set a static IP on my home server from there and disabled DHCP 🤪

        • redcalcium@lemmy.institute
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          What’s the router’s brand and model? Googling it might give you the answer. The administrative page for the router might be hosted on custom ports instead of port 80.

          • PerogiBoi@lemmy.caOP
            link
            fedilink
            English
            arrow-up
            0
            ·
            9 months ago

            Yeah I tried doing that initially. It’s a Bell Homehub3000 and all the login addresses suggested online that I tried were no dice. I probably have to factory reset the router but that would mean redoing my entire smarthome and IOT setup which I’m really not looking to do 😅

            • redcalcium@lemmy.institute
              link
              fedilink
              English
              arrow-up
              3
              ·
              9 months ago

              That’s suck. I actually had similar issues where the router’s login page would refuse to log me in, even though I actually can login to the router using SSH. No other fix but to reset the router and start again, but time I export the router’s settings (most router has settings import/export feature) after I got everything setup so I don’t have to do it from scratch when the router crap out again.

              • PerogiBoi@lemmy.caOP
                link
                fedilink
                English
                arrow-up
                1
                ·
                9 months ago

                For me it’s as if there is no router login page which is kiiiiiilling me haha. All of my silly issues would be gone if I could just set a hard static IP for my server 😄

    • Doctor xNo@r.nf
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      I have a 5G CGNAT ISP router, but distanced myself from it by adding my own full access router connected via a LAN cable to my ISP one and using its wifi instead of the ISP’s wifi. This prevents the ISP router from stealing IP addresses (it can literally do whatever it wants to its IP ranges as long as it feeds internet through the LAN cable), and gives me full control over local network IP addresses (as I also am not provided any login to the ISP router).

      Might be an extra NAT, but that kinda becomes moot being behind CGNAT that can’t open external ports anyway.

      • PerogiBoi@lemmy.caOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        I used to do something similar by having another router and my main one in bridging mode but this new router from my ISP seems to be idiot proof and won’t let me access the login screen. A factory reset is in my future I think.