Having set up a Pi Hole on my own home network, my grandparents requested I do the same. Just got a brand new pi, installed the June 2018 version of Raspian Jessie, and installed PiHole, attempted to set it as the DNS server for my grandparents' wifi
However, I haven't been able to get it to work as a DNS. When I change the router settings to use the pi, it just won't load anything. When I run the debug log, it says that there's no IPv4 or IPv6. I understand why that's a problem, but I have no idea how to fix it.
Debug token is 31lgq3rumv
Thank you!
Addendum:
I've gone into the /etc/dhcpcd.conf file to see if there seems to be anything wrong in there, but it looks good to me, it reads as follows (leaving out a lot of the comments and whatnot)
Additionally, I went into /etc/pihole/setupVars.conf and it has
IPV4_ADDRESS=192.168.1.10/24
IPV6_ADDRESS=
So I clearly don't have IPv6 set up, but IPv4 should at least be working?
Another addendum:
I restarted the router and the pi, and it appears that my pi hasn't successfully been able to be set as a static IP address. When I run sudo ifconfig, the results show that the pi's local address is now 192.168.1.6. The things in dhcpcd.conf and setupVars.conf are still the same as previously reported.
Pi-Hole needs a static or reserved IP address, so all the clients can find it at that fixed address. This Pi-Hole does not appear to have a reserved IP address.
*** [ 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.1
* Pinging 192.168.1.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
On the router, find the Pi and assign the Pi a static or reserved IP 192.168.0.10 (this is the IP that Pi-Hole is looking for). After this, restart pihole-FTL with this command from the Pi terminal:
sudo service pihole-FTL restart
Was there any particular reason you chose Jessie over Stretch?
Just added added the address reservation of the pi to the router and the pi appears to be using the correct ip address now, but I get the same Networking errors on the debugger. Any other routes I could explore?
There wasn't really a reason I picked Jessie over Stretch, just for variety I guess. I used Stretch for my Operating Systems and Concurrency class in school and my home network Pi-hole, so I wanted to try something new.
Sorry I wasn't able to respond to the last message in a timely fashion, as mentioned I'm trying to set up this pihole for someone else at a different location. I just tried reconfiguring the pi and I used the reserved IP, but it doesn't seem to have changed anything.
The debug token is ssprwc8v5z
I'll also note that I double checked that I've got the static ip address set up correctly, and I can't see anything wrong with how the static ip is set up. It's in the router and it gets the ip address I set for it when I restart the router or the pi.
That still does not have an IP assigned. How is the device connected to the network (ethernet, wifi, etc)? Right now, the settings are set to use the ethernet connection.