I installed the latest OSMC on my RPI 3 b+ and also PI-hole (I am also using the Pi-hole as my DHCP server)
I was able to configure Pi-hole and I have internet on my PC and on my phone in the house WiFi. The ads are blocked, so Pi-hole works!
However I have no internet access anymore on the OSMC. I connect with ssh and there’s no reply from ping www.google.com
I will share my settings with you:
PC -> PI-hole (with DHCP server enabled) -> Router (with google upstream DNS in the WAN settings)
PI-hole is 192.168.1.62 -> this is a static IP (I checked /etc/dhcpcd.conf) and I have this:
This is what I have in /etc/resolv.conf
Generated by dhcpcd from eth0.dhcp
/etc/resolv.conf.head can replace this line
/etc/resolv.conf.tail can replace this line
My Pi-hole DNS points to the router
The PI-hole DHCP config looks like this.
Now on the Router LAN side I point to the Pi-hole
I have disabled the router DHCP server and added the Pi-hole IP in the DNS Server: 192.168.1.62
On the Router WAN side I point to the Google DNS
Pi-hole works as a DHCP server also. The ads are blocked, but the strange part is this. When I restart my OSMC with ‘sudo reboot’ after I connect back I get a result back from the
ping google.com…but only for a few seconds
Can anyone please help me?