this is the setup I'm trying to create:
DHCP server running on eth0. AP is connected to the eth0, and any clients connected to it get the IP from my DHCP server.
onboard wifi will not be used, but for now I use it to have ssh connection to the board while I'm configuring it.
I installed pihole. I first tried PiHole LE add-on, but that did not work. I get the add-on in the list, can enter configuration menu, but nothing seems to work. docker ps does not show anything running.
So I removed and installed the pi-hole docker manually. That worked, I can access the WebGUI, enable DHCP server etc. However, the DHCP itself is not working. I connect my laptop with WireShark running, I can see it sending out DHCP requests, but nothing comes back. Looking into /storage/.cache/connman/ethernet_dca63240d968_cable/settings I see that the Ethernet is configured to DHCP, which it should not be, since I have the DHCP server running there. The port should have static IP, the one I provided in the PiHole Web GUI (right?).
I used
connmanctl config ethernet_dca63240d968_cable --ipv4 manual 192.168.76.1 255.255.255.0 192.168.76.1
to change the IP to manual. Now when I connect anything on the ethernet, ifconfig shows correct information, but DHCP server is still not working, and clients don't get anything assigned. Query log under the PIHole WebGUI continues to remain empty.
I'm attaching the pihole configurations pages from the web gui, and the output of the ifconfig for eth0. Hopefully someone would be able to point me in the right direction. Thank you!