I am encountering an issue with setting up my Raspberry Pi 4B with Pi-hole on my home network and am hoping for some guidance.
Problem Description:
I have a ZTE H3600P router, and I'm attempting to disable the router's DHCP server and use Pi-hole as the DHCP server instead. However, after disabling DHCP on the router and setting up Pi-hole, I lose both internet connection and connectivity to my Raspberry Pi.
Steps Taken:
I configured a static IP for the Raspberry Pi both in the dhcpcd.conf file on the Pi and in the router settings.I disabled the DHCP server on the ZTE H3600P router.I enabled Pi-hole on the Raspberry Pi to take over DHCP functions.
Encountered Issue:
Following these steps, I lose internet access and also connectivity to the Raspberry Pi. The only workaround I’ve found so far is to re-enter the router settings and reactivate DHCP.
I would greatly appreciate any suggestions or guidance on what might be causing this issue and how to resolve it.
Are there additional steps I should consider to maintain connectivity while using Pi-hole as my DHCP server?
Thank you in advance for your help.
Above "raspberrypi" is surely not the name of your network interface
But above output gave me enough info to tell you that you're trying to set a static IP on the Pi in the wrong place.
Trying to set a static IP in the file dhcpcd.conf wont do as above tells me that NetworkManager is in charge of network settings instead of dhcpcd.
Try run below one and configure a static manual IP:
sudo nmtui
And try to switch DHCP from router to Pi-hole again.
Thank you so much for your insightful response. Indeed, you've highlighted a key difference that I overlooked – the 64-bit version of Raspberry Pi OS doesn't function quite the same as the 32-bit version, which I never had issues with before. This experience has led me to seriously consider reformatting and installing the 32-bit version of Raspberry Pi OS. As a novice, my goal is to install Pi-hole in Docker and set up a Calibre book server, eventually experimenting with more containers. The 64-bit journey has been quite stumbling and time-consuming for me. Your advice might just have been the turning point. Do you think reverting to 32-bit is a wise move for someone who wants to avoid the constant learning curve associated with troubleshooting? Time is of the essence, and I prefer to get things up and running smoothly. Thank you once again for steering me in a new direction.
With so much focus on a desktop, I would expect the lite version now to not have any "network manager/controller" but just simply iproute2 + ifupdown only.
I dont need a fancy desktop or bloated network manager for my Raspi projects