Please follow the below template, it will help us to help you!
Expected Behaviour:
Browsing to a site from a device on my wifi will load the page and block adds
Actual Behaviour:
Browsing to a site results in a "server IP address could not be found" error. I did not set up the pihole to work across my entire network (yet), but was just testing from a laptop by following the third set of instructions in this guide. After I do this setup my device does not show up as a client in the pihole admin console
Debug Token:
[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface]
See link below. I'm not sure if there will be anything helpful there as it seems like my laptop isn't connecting to the pihole for DNS at all. I can ping the IP from my laptop and get a response, though
From your debug log, some connectivity problems on your Pi - I'm only showing the IPv4 part but IPv6 has similar problems. Since there is no outward-facing IP address available, none of the clients can communicate with the Pi (and thus the Pi-Hole). Fix this problem and your Pi-Hole should work.
*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the eth0 interface.
[✗] No IPv6 address(es) found on the eth0 interface.
[i] Default IPv4 gateway: 192.168.1.254
* Pinging 192.168.1.254...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.1.64/24
ip addr may shed some light on the IP configuration of the Pi
Ok, I think I've fixed the connectivity issues. I'm now able to connect to pihole from my laptop, and I can log in to the admin portal & see I now have two clients. However, it doesn't seem like my laptop is generating anything in the console--is there some other step I need to take for it to start actually blocking ads?
Ok the internet issues actually weren't resolved. I'm still able to connect to the admin console and SSH onto the pi, but it's giving the IPV4 error in when I run debug. Do you know how I can resolve that? I have assigned it a static IP address--see screenshot from my router settings below
Ok, I did a complete de-install and re-install of pihole and got it to finally work I think what happened is when I was initially setting it up I was using wifi and later switched to ethernet. Running either of the reconfiguration options was not fixing whatever issue that introduced, but totally removing it and re-installing seems to have done the trick!
Final issue... now when I browse to the admin console from my desktop (which worked previously) I'm getting a 403 - Forbidden error. Any thoughts on what's contributing to that? Copied the error log below
Ok, so after I reboot the pihole the IPV4 error comes back. Is that a sign that my IP is not actually giving me a static address? Or is there something else I can do to prevent this from happening?
When you reboot, your IP is reverting to WiFi. Disable the WiFi and ensure that MAC address is not in the router reservation. Then, run pihole -r and select reconfigure for the ethernet IP address.
Thanks, this fixed that issue! I couldn't figure out what was going on with the admin page, but I figured something went wrong with the un-installs/installs, so I totally rebuilt the raspberry pi and re-did the pihole setup and that appears to have worked