Please follow the below template, it will help us to help you!
Expected Behaviour:
[DNS works, FTL works]
Actual Behaviour:
[DNS fails to startup, FTL Fails to startup]
Debug Token:
[xlnphkqz2w]
Additional info:
OS: Raspberry Pi Desktop
Hi everyone,
I am encountering the following errors based off the title of this thread:
DNS: ran sudo service dnsmasq status:
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-01-07 09:27:28 EST; 36min ago
Process: 5631 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=1/FAILURE)Jan 07 09:27:28 raspberry systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Jan 07 09:27:28 raspberry dnsmasq[5631]: dnsmasq: bad dhcp-range at line 10 of /etc/dnsmasq.d/piserver
Jan 07 09:27:28 raspberry systemd[1]: dnsmasq.service: Control process exited, code=exited status=1
Jan 07 09:27:28 raspberry systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Jan 07 09:27:28 raspberry systemd[1]: dnsmasq.service: Unit entered failed state.
Jan 07 09:27:28 raspberry systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
When looking at line 10 of /etc/dnsmasq.d/piserver:
dhcp-range=tag:piserver,,proxy
I'm guessing I have to edit something in /etc/dnsmasq.conf ? I'm just afraid of turning on dhcp server that I don't want.
As for the FTL offline, I have tried what was suggested in similar topics but it doesn't seem to help:
service pihole-FTL restart
systemctl restart pihole-FTL
I realized while doing a pihole -r (which i've done many times now) is that FTL directory doesn't exist, even when i tried to update pihole -u:
pi@raspberry:~ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: up to date
/opt/pihole/update.sh: line 82: /usr/bin/pihole-FTL: No such file or directory
[i] FTL: update available[i] FTL out of date
[i] FTL Checks...
[✓] Detected x86_64 architecture
[i] Checking for existing FTL binary...
/etc/.pihole/automated install/basic-install.sh: line 1870: /usr/bin/pihole-FTL: No such file or directory
[✓] Downloading and Installing FTL[i] Web Interface: up to date
I've reinstalled the OS as well. I hope someone could point me in the right direction to fix this!