Using Pi-Hole with hostap wireless access point?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
AaronEzra
Posts: 1
Joined: Tue Sep 08, 2020 1:54 pm

Using Pi-Hole with hostap wireless access point?

Post by AaronEzra »

I have setup Diet-Pi on RP-3B+ to run hostap and pihole. pihole only works on clients connected via LAN but all clients which connect to hostap wireless access point do not show up on dashboard.

I have configured Settings to use Cloudfare DNS and allow and from all origins for the LAN connection but still no Pi-Hole for wireless clients.

Do I need to setup the DNS for hostap to point to pi-hole which uses same ip address? Thanks for any help.
appvalley tutuapp tweakbox
Last edited by AaronEzra on Thu Sep 10, 2020 9:19 am, edited 1 time in total.
User avatar
Joulinar
Posts: 2281
Joined: Sat Nov 16, 2019 12:49 am

Re: Using Pi-Hole with hostap wireless access point?

Post by Joulinar »

Hi,

many thanks for your message. You would need adjust DNS Server settings within /etc/dhcp/dhcpd.conf and change it to your DietPi device. Just do nano /etc/dhcp/dhcpd.conf and change following line to looks like this.

Code: Select all

option domain-name-servers 192.168.42.1;
Inside PiHole, ensure you have set Listen on all interfaces

once done reboot your system.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply