Both sides previous revisionPrevious revisionNext revision | Previous revision |
computing:piholeonblack [2021/10/27 17:18] – oemb1905 | computing:piholeonblack [2025/03/08 08:18] (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 |
{{ :computing:openwrt.png?direct&600 |}} | {{ :computing:openwrt.png?direct&600 |}} |
| |
Replace 6, 192.168.11.20 with your pihole's LAN address. In my case, I instruct my router to issue a static local ip to the device (which pihole also recommends). Once you complete this last step, restart the router. Then, restart all of the clients on the LAN. Lastly, to verify that the pihole DNS is in fact being used, use the admin GUI in your browser and navigate to Tools / Network, and ensure each device came back online using the pihole DNS. Please note: Beagle Bone users specifically, will see an entry pihole device itself listed as not using the pihole's own DNS in red - this is because connman was not using the pihole DNS for one of the stages above. You will see another more current entry for the pihole device itself indicating that it is now utilizing its own DNS. | Replace 6, 192.168.11.20 with your pihole's LAN address. In my case, I instruct my router to issue a static local ip to the device (which pihole also recommends). Once you complete this last step, restart the router. Then, restart all of the clients on the LAN. |
| . To stop the pihole from cutting off internet from clients: |
| |
Thanks to [[https://frdmtoplay.com/running-pi-hole-on-the-beagle-bone-black/|Freedom to Play]], [[https://bacnh.com/how-to-setup-pi-hole-with-openwrt/|Embedded Knowledge]], and Jared from [[https://gitlab.com/ABQLUG|ABQ GLUG]] for the idea to tinker with this. | sudo nano /etc/dnsmasq.d/02-custom-settings.conf |
| dns-forward-max=5096 |
| min-cache-ttl=300 |
| rebind-domain-ok= |
| |
| To stop some sanity checking and annoying load reports, etc., do the following: |
| |
| nano /etc/pihole/pihole-FTL.conf |
| PRIVACYLEVEL=0 |
| RATE_LIMIT=10000/60 |
| CHECK_LOAD=false |
| MAXDBDAYS=7 |
| CHECK_LOAD=false |
| |
--- //[[jonathan@haacksnetworking.com|oemb1905]] 2021/10/27 11:17// | --- //[[alerts@haacksnetworking.org|oemb1905]] 2024/12/28 01:12// |