this post was submitted on 11 Oct 2023
0 points (50.0% liked)

Selfhosted

61236 readers
185 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] PerogiBoi@lemmy.ca 0 points 2 years ago (1 children)

My Pihole lives on my server computer and so the DNS is the same IP address as that computer

[–] whynotzoidberg@lemmy.world 1 points 2 years ago (2 children)

Irrelevant, unless your pihole is running on your DHCP server. Does the server running pihole have a statically assigned IP that is within the DHCP range being assigned to other devices?

Static addresses should be outside of your DHCP range, ideally. If you can’t change the range, and assuming sequential handouts of IPs from your router among other things, you can try setting the server’s static IP to a bigger number.

[–] ArbiterXero@lemmy.world 1 points 2 years ago

The static address should be assigned from the dhcp server.

Assigning a static address on the nic is a recipe for issues.

Set up a static assignment in your dhcp server.

[–] Xanthrax@lemmy.world 1 points 2 years ago (1 children)

Are we getting a repeat of the guy who's wifi didn't work because of a smart bulb?

[–] RajaGila@feddit.nl 1 points 2 years ago (3 children)

Wait, smart bulbs run rogue dhcp servers now?

[–] Xanthrax@lemmy.world 1 points 2 years ago

They're called too-smart bulbs, now.

[–] moody@lemmings.world 1 points 2 years ago

I assume the issue was the bulb was getting assigned by DHCP the same address that was supposed to be reserved for their PC, thus their wifi appearing not to work for their PC.

[–] PerogiBoi@lemmy.ca 0 points 2 years ago (1 children)

Haha not quite. Sounds like an interesting post though. I’ll have to look that one up. From all the help given to me here though it looks like my “static” ip is within dhcp range so my router is giving everyone else my key to the castle and therefore invalidating my key.

[–] RajaGila@feddit.nl 1 points 2 years ago

Yea, duplicate IP addresses lead to some funny business. Toss a coin to see if a network packet will arrive basically.

The solution is to adjust the DHCP range or use static DHCP on the router. The latter just means that the router will assign the same IP to the specified computer every time.