Running pi-hile on a beaglebone black with debian 9.5 IoT (current). Sorry it's not a Pi, but it's what I had and some people already decent instructions on making it work.
After the setup was completed the DNS and FTL services show as offline and it do not work.
I found this fix which works to get the services running, but after a reboot or power cycle things are broken again until I repeat these commands.
sudo mv /etc/dnsmasq.d/SoftAp0 ~
sudo service pihole-FTL restart
I read on and tried some other suggested commands to make the fix work after restart/boot but they did not work?
sudo touch /var/lib/misc/dnsmasq.leases
sudo chown pihole:pihole /var/lib/misc/dnsmasq.leases
sudo systemctl restart pihole-FTL
grep -v '#|^$' -R /etc/dnsmasq.*
sudo mkdir /var/lib/misc
sudo touch /var/lib/misc/dnsmasq.leases
sudo chown pihole:pihole /var/lib/misc/dnsmasq.leases
I apologize being a newbie so often I don't fully understand what the commands do.
Debug token is: https://tricorder.pi-hole.net/9meonp3npc
Thanks
RamSet
September 11, 2019, 4:56pm
3
Shere was a discussion about that file here:
opened 01:23AM - 06 Jun 17 UTC
closed 02:24AM - 31 May 18 UTC
Submitter Attention Required
When installing pihole, I ran across an error that I can't seem to solve (or has… been already solved).
When it gets to the end of the install script, the dnsmasq service cannot start (and coincidentally pihole). From the output of systemctl status dnsmasq.conf:
illegal repeated keyword at line 39 of .../01-pihole.conf
When looking at 01-pihole.conf, we get the error at the line:
cache-size=10000
There doesn't seem to really be any repeated keywords, so I'm not sure what the error really is. Is this a system error or a code error? Thanks for your help!
See if anything here helps with your situation regarding the /etc/dnsmasq.d/SoftAp0
file.
I tried to remove the following line
echo "cache-size=2048" >> ${wfile}
from the script /opt/scripts/boot/am335x_evm.sh
unfortunately it didn't help.
RamSet
September 11, 2019, 5:38pm
5
I don't have an answer for you as I am not familiarized with any softap requirements/parameters/dependencies.
You could write a script that gets triggered @reboot with a small delay that does the delete for your and restarts pihole-FTL ...
system
Closed
October 2, 2019, 5:38pm
6
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.