davesteele / comitup

Bootstrap Wifi support over Wifi
https://davesteele.github.io/comitup/
GNU General Public License v2.0
324 stars 55 forks source link

Make Comitup work with Pi-hole #127

Closed Veeramk closed 3 years ago

Veeramk commented 4 years ago

Hello, I have comitup running on my raspberry pi smoothly. But as I add pi hole to it when I try to connect it wide it showed the pi hole page. I am bit of a newbie so please help me with this. By the way awesome work. Thank you.

davesteele commented 4 years ago

Comitup and pi-hole are competing to provide resources. At a minimum that includes DNS and web services. Take a look at the comitup-conf man page and the web-service keyword. If you can classify the pi-hole activities as a systemd service, you could use that flag to get the two to co-exist.

I wouldn't classify this as a newbie task. If you get it to work, I'd love to see a write-up.

Anjum9694 commented 3 years ago

Add server.port := 8000 or your desired port to /etc/lighttpd/external.conf then restart. Then restart lighttpd using sudo systemctl restart lighttpd, and you will be able to access the pi-hole administrative interface at http://localhost:8000/admin.

Then add a delay to the startup of the Pi-hole DNS server by adding DELAY_STARTUP=120 to /etc/pihole/pihole-FTL.conf 2 minutes is more than enough to configure comitup through the web page.

I had no issues running comitup along with Pihole.

davesteele commented 3 years ago

@Anjum9694, thanks for the information.

davesteele commented 3 years ago

I've written a post on how to combine Comitup and Pi-hole.