Running into same issues with a fresh Pi + Stretch with cable plugged into Pi. Is this because when selecting wlan0 interface during the install, pi-hole messes with the static IP settings? dnsmasq won't even work for me. Should I file bug on GitHub?
Since Raspbian sets the static IP address in the /etc/dhcpcd.conf, this is the file that we use for IP addressing. If you had previously set a static IP address on the RPi and selected a different IP address during the installation then you may have two sections in that file that configure the IP address for the RPi. Check that file, and see if the end of the file contains the proper IP address. As to dnsmasq not working, can you tell us a little more about what isn't working? sudo systemctl status dnsmasq output or any errors that are being generated would help with troubleshooting.
The error occurred on a completely fresh RPi (NOOBS+updates), no static IP had been set manually.
/etc/dhcpcd.con before Pi-hole install:
Pi-hole install options:
Interface: wlan0
DNS: Google
Protocols: IPv4, IPv6
Static IP: 192.168.1.22/24, Gateway 192.168.1.1
Web admin: on
Log: on
And then installer exit with error: Cloning https://github.com/pi-hole/pi-hole.git into /etc/.pihole…Unable to clone repository, please contact support
/etc/dhcpcd.con right after Pi-hole exit error:
running sudo service dnsmasq start gave me error: Failed to start dnsmasq.service: Unit dnsmasq.service not found.
sudo systemctl status dnsmasq output: Unit dnsmasq.service could not be found.
Let me know how else I can help. Bought this RPi just for Pi-hole so have no problem starting from scratch.
The config file snippets look okay, you can see in the post-install config that the static IP address is set for the device. It's odd that you don't have dnsmasq installed though, that should have been installed as a dependency when the script was run. Can you show the output from