Not starting on boot

Please follow the below template, it will help us to help you!

Expected Behaviour:

Expecting the program to auto start when the computer boots up

Actual Behaviour:

Must be started manually

Debug Token:

83xgv5nepv

I finally got things running on my Beaglebone Black and it works very well, except it will not automatically start on boot. I have to manually start pihole-FTL. Wondering if anyone can suggest a fix. I've tried pihole -r to no avail. Also, when I do run pihole -r, it changes the /etc/01-pihole.conf file and sets the cache-size=10000 which I have to comment out or nothing works. Any help would be greatly appreciated.
Thanks!
Ken

@DL6ER I'm seeing a bit of a problem with the init script.

/etc/init.d/pihole-FTL status
/etc/init.d/pihole-FTL: line 78: status: command not found

pihole -r will repair the install, and the /etc/pihole/01-pihole.conf is not supposed to be user edited, this file will be overwritten on repair or update. What is the problem you are seeing with the cache-size set? Does dnsmasq not start or give an error?

When I try running pihole-FTL with the cache--size set, I get this error:
dnsmasq: illegal repeated keyword at line 35 of /etc/dnsmasq.d/01-pihole.conf
I comment it out and everything seems to run smoothly.

I'll check out the init.d line and see what's going on.

Thanks!
Ken

Do you have any other files in /etc/dnsmasq.d/ or a /etc/dnsmasq.conf that may be duplicating the cache-size argument?

2 Likes

That solved it! There was a file in the dnsmasq.d directory called SoftAp0 that I forgot gets installed on the Beaglebone Black. I cleared it out and pihole-FTL now starts as expected. Thank you!

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