Pi Hole works on Wifi but not on Ethernet

Hello,

I wanted to run pi hole in directly on the clients. It hast just worked by making changes in the etc/network/interfaces file namely i put the ipv6, which comes out on ip a, inet6 for eth0 in there. And I added ipv6 on the interface on Pi Hole.

On my PC, that runs on lan and on my laptop that runs on wifi, i changed the IPv4 DNS to the address of my pi Hole. And i changed the IPv6 DNS to that IPv6 I added to the interfaces file but left out the last part of it.

The Laptop runs pi hole well. The PC does not. and when I put the lan cable to my laptop it also does not work.

So pi hole runs on wifi but not on lan

(im a complete newbie)

Expected Behaviour:

Pi Hole should work on Wifi and on Ethernet

Actual Behaviour:

Pi Hole only works on Wifi

Would you be able to create a debug log please? You can do this in Tools > Generate debug log > Upload debug log and provide Debug token > Generate debug log. Post the token here and then we can take a look for any network oddities.

Hello here's my Debug Token:
https://tricorder.pi-hole.net/dmX48zSu/

This is a network configuration issue.

Your log shows eth0 interface has no IP:

*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the eth0 interface.

[✗] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway(s):
[i] Default IPv6 gateway(s):

And Pi-hole didn't found any DHCP servers on your network:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   DHCP packets received on interface wlan0: 0

Do you have a possible solution for me?

Fix your underlying OS so it has connectivity to your network. Visit the forums for your hardware and OS to get the best advice for this.

This could be a configuration issue, bad hardware on the SBC, bad cable, bad port on the router or switch, etc.

Complementing the answer above:

You configured Pi-hole to use eth0:

*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=eth0

Your eth0 interface is DOWN (probably the cable is not connected), but the wlan0 is UP.

You can try to run pihole -r and reconfigure Pi-hole to use wlan0.

So, at least the first problem "[✗] No IPv4 address(es) found on the eth0 interface" went away. Thank you a lot. This is my new Debug Token: https://tricorder.pi-hole.net/rvdskVNO/ Do you have more solutions?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.