ping google.com -> Temporary failure in name resolution
ping 8.8.8.8 -> From 192.168.68.108 icmp_seq=1 Destination Host Unreachable
Debug Token:
None
Here's my problem...
Pi-hole worked properly, but after some times, it didn't work anymore.
The pi was still working, but pi-hole was not reachable from the user interface.
I tried pihole -up, but my machine couldn't reach internet anymore (all other machines on my network works, just they now don't pass thru pi-hole).
I tried many things to reconnect the pi to internet, but nothing worked, so I thought that it should be easier to uninstall and reinstall pi-hole.
After succesfully uninstall pi-hole, the problem was still here... I don't see wat's wrong with my configuration
The IP address assigned to Pi-hole 192.168.68.108/24 is in different subnet as the router is in 192.168.0.1/xxx.
Try assign an IP to Pi-hole that is in the same subnet as the router is in eg 192.168.0.2/24 (if 192.168.0.2 is still available).
And when changing IP, you have to tell Pi-hole of the change by running below and select reconfigure:
pihole -r
Test connectivity on a connected PC (Windows/Linux/MacOS) with the nslookup tool in a command/terminal prompt eg:
Thanks for your input @jfb and @deHakkelaar!
That was it! The IP address was the one I used in my first installation of pi-hole, I used the same in the second installation, and now it isn't anymore in the good IP range???
I suppose something changed on the router side...
So now I was able to connect the internet, and install pi-hole again from scratch, but I can't access the web interface?
My IP is now 192.168.0.108
Il i try http://192.168.0.108:8080/admin I have 404 Not found, it should be the apache server, not lighttpd, because http://192.168.0.108:8080 brings me to the apache2 default page...
Just after installation I modified /etc/lighttpd/lighttpd.conf to use port 8080
in /etc/lighttpd/lighttpd.conf server.port = 8080
lighttpd is running
sudo service lighttpd status -l
And I don't see any errors in /var/log/lighttpd/error.log
2020-04-27 16:33:36: (server.c.1464) server started (lighttpd/1.4.53)
2020-04-27 16:36:26: (server.c.2059) server stopped by UID = 0 PID = 1
2020-04-27 16:45:54: (server.c.1464) server started (lighttpd/1.4.53)
2020-04-28 13:59:59: (server.c.2059) server stopped by UID = 0 PID = 1
2020-04-28 14:00:29: (server.c.1464) server started (lighttpd/1.4.53)