Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
computing:piholeonblack [2021/10/27 17:17] – oemb1905 | computing:piholeonblack [2023/02/27 01:10] (current) – oemb1905 |
---|
chown pihole:pihole /var/lib/misc/dnsmasq.leases | chown pihole:pihole /var/lib/misc/dnsmasq.leases |
sudo nano /etc/dnsmasq.d/SoftAp0 | sudo nano /etc/dnsmasq.d/SoftAp0 |
| #interface=usb0 |
| #interface=usb1 |
#cache-size=2048 | #cache-size=2048 |
#dhcp-leasefile=/var/run/dnsmasq.leases | #dhcp-leasefile=/var/run/dnsmasq.leases |
| |
sudo apt remove --purge connman | sudo apt remove --purge connman |
sudo reboot | sudo reboot [OR, if you don't have serial and/or lose connection, unplug and plug back in after 5-10] |
| |
More than likely, the Beagle Bone Black will hang at around 20/30% of the removal, since it will have lost its dhcp client reservation. Personally, I always have serial connected just in case, but if not, wait 5-10 minutes and then unplug and plug the device back in, and connman will be removed, and pihole-FTL.service will now be able to start and listen on port 53 and manage DNS requests, and the pihole will configure the device properly as a dhcp client underneath your router. The next step is to configure your router DHCP server to utilize the pihole DNS for its clients. In my case, I use openWRT so I go to Interfaces / LAN / DHCP Server / Advanced Settings. In that area, you can specify what DNS the router should use: | More than likely, the Beagle Bone Black will hang at around 20/30% of the removal, since it will have lost its dhcp client reservation. Personally, I always have serial connected just in case, but if not, wait 5-10 minutes and then unplug and plug the device back in, and connman will be removed, and pihole-FTL.service will now be able to start and listen on port 53 and manage DNS requests, and the pihole will configure the device properly as a dhcp client underneath your router. The next step is to configure your router DHCP server to utilize the pihole DNS for its clients. In my case, I use openWRT so I go to Interfaces / LAN / DHCP Server / Advanced Settings. In that area, you can specify what DNS the router should use: |