The issue I am facing:
DNS service not running and FTL offline
Details about my system:
Pi3B+ Raspbian Buster (10)
What I have changed since installing Pi-hole:
I need to make network manager working for EAP wifi to be working properly.
After installing network manager, the only way for it to work is to sudo apt purge dhcpcd5.
I believe though that pi-hole can't work without it. Is there any other way?
Everything should work fine. You may break Raspbian by purging dhcpcd since that's how the entire OS is designed to handle networking, but all Pi-hole needs is a static IP address.
This should be fixed in Pi-hole @DanSchaper maybe you can recognize the user intentionally uninstalled dhcpcd ? Maybe add a setting to setupVars.conf (DONT_INSTALL_DHCPCD).
These may be false positives. Try
sudo service pihole-FTL status
and
dig google.com @127.0.0.1
on your Pi-hole and see if especially the second command returns a valid response.
pi@raspberrypi:~ $ sudo systemctl status --full --no-pager status pihole-FTL.service
Unit status.service could not be found.
â—Ź pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Mon 2020-07-20 01:09:36 CEST; 22h ago
Docs: man:systemd-sysv-generator(8)
Process: 1802 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Jul 20 01:09:35 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
Jul 20 01:09:35 raspberrypi pihole-FTL[1802]: Not running
Jul 20 01:09:35 raspberrypi su[1826]: (to pihole) root on none
Jul 20 01:09:35 raspberrypi su[1826]: pam_unix(su:session): session opened for user pihole by (uid=0)
Jul 20 01:09:36 raspberrypi pihole-FTL[1802]: dnsmasq: failed to create listening socket for port 53: Address already in use
Jul 20 01:09:36 raspberrypi su[1826]: pam_unix(su:session): session closed for user pihole
Jul 20 01:09:36 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
Above is the one conflicting preventing pihole-FTL to bind to socket.
Dont need the dnsmasq binary as dnsmasq is already embedded into Pi-hole's own binary pihole-FTL.
You can purge dnsmasq.
It was already purged and NM has taken indeed over.
And Under IPv4 Settings, under Address (optional) I have placed the Pi's IP/Subnet mask and the gateway of the router.
Question: I want to bridge this from Wifi to ethernet. Wifi connects fine and I wanna bridge my lan and give the wifi's internet connected to lan to a router. The address stays the internal to the internal network. However the gateway, should now be the IP address of Pi?