On Wed, Jan 4, 2017 at 4:52 PM, neutrinos4all <[email protected]> wrote: > I was redirected here from your Twitter account maintainer to post my > experience installing pi-hole on a BBB with a freshly-flashed IoT image > (version information below). Hopefully this will help someone else in the > future. > > What I'm using > > element14 BeagleBone Black rev. C, connected via ethernet to router > Asus NT-66R router > Debian 8.6 ("Jessie") IoT image, retrieved from here. > > What happened > After flashing the IoT image to onboard eMMC and installing pi-hole > successfully, I had no DNS connectivity: could ping IPs, but not visit > websites by URL from any machine on the LAN. What's more, dnsmasq was not > running. I determined that connman was binding to port 53 rather than > dnsmasq, thereby preventing dnsmasq from resolving DNS requests for pi-hole > (confirm using command lsof +M -nPi :53 to see the services bound to that > port). Uninstalling connman and restarting the network service allowed > dnsmasq to run, fixing the DNS problem. Web browsing was immediately > restored across the LAN.
Depending what is hooked up wifi/ethernet/etc, we dynamically enable/disable conman's dnsproxy option: So instead of purging connman, you do below: sudo systemctl stop connman.service sudo sed -i -e 's:connmand -n:connmand -n --nodnsproxy:g' /lib/systemd/system/connman.service sudo systemctl daemon-reload sudo systemctl start connman.service Then dnsmasq will fire up just fine, and you can still use connman for managing your connections (connman makes wifi easier).. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhGCWV3c2XTBSekz2f1CC0NrymDDsvd8h8CjcRK2H-gyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
