1

I have the Pi-Hole acting as the DHCP server and DNS server too and this works fine for 23 hours and then it flops and I don't understand why.

Basically after 24 hours, all devices just disconnect from the router and when I try and reconnect them, they say they're unable to get an IP address.

But before they drop connection, they all report the DNS server as the Pi-Hole.

If I change my DHCP to static and connect to my router, I see that the Pi-Hole is still connected with its static IP just fine.

If I factory reset the router and then add the same SSID and password, the Pi-Hole automatically reconnects and then all devices can reconnect again, so I'm unsure what the issue is.

Can someone break this down. I feel stupid for not understanding what's happening here.

you are viewing a single comment's thread
view the rest of the comments
[-] mhzawadi@lemmy.horwood.cloud 0 points 4 months ago

yeah, your PI zero goes to renew its DHCP lease and cant as its lost its IP and so cant see the DHCP server its running.

I would read up on how to set a debian static IP, that way you know how and your Pi zero will work all the time

[-] sabreW4K3@lazysoci.al 1 points 4 months ago

Can I just take a moment to say thank you. This is either super tedious for you or a nothing part of your day, but you've been helping so much and I'm extremely grateful!

I ended up finding this https://www.liberiangeek.net/2024/02/set-up-static-ip-address-debian-12/

And went with the nmtui option. Though one of the screenshots was missing, so ended up double checking with https://www.tecmint.com/nmtui-configure-network-connection/

Fingers crossed!

this post was submitted on 13 May 2024
1 points (100.0% liked)

Pi-hole

392 readers
1 users here now

The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software.

founded 1 year ago
MODERATORS