this post was submitted on 13 May 2024
2 points (66.7% liked)
Pi-hole
408 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
if you can see pi-hole from the router, can you connect to it over SSH and see what pings and what it thinks the network looks like?
Also did the VM router just turn DHCP back on with the wrong settings?
Is pi-hole over WiFi? if it is that could your issue, DHCP/DNS should be over cable as they are required for stable networking
When it goes tomorrow around 11 o'clock, I'll SSH in and report back.
Nope, when I log into the VM router admin page, DHCP is still off.
Yep, the Pi-Hole is hosted on a Pi-Hole Zero 2 W, so it's WiFi only. I thought setting the DHCP lease time on the Pi-Hole to a year would solve the issue, but nope, after 24 hours, everything disconnects and the only way to get them to reconnect is to factory reset the router.
I would read up on static ip on the pi zero, not via DHCP. That might sort your issue
I've just confirmed that I can't SSH to it, it says
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
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!
Your very welcome, I do support a SaaS system for the UK NHS. So I do have a bit of networking skills, that and I self host things both at home and in OVH.
If you have your pi zero setup with a static ip, you should find things work all day every day now.
Just remember that every day is a school day, even for experienced sysadmins.
It's either been 24 hours of 17 hours, I can't quite recall, but it seems to be sticking. Everything is working. Thank you so so so so much. Honestly, I'm smiling like a little kid right now. Thank you so so so much!
Honestly, with you doing sysadmin for the NHS, I'm more confident to get sick now 😂
Nah, I can't thank you enough. You're a bloody legend. Thank you, thank you and thank you again!
Okay, so after searching left, right and centre, I found something interesting. I have both my 5G and my 2.4G using the same SSID, could that be the cause of the issue?