Please follow the below template, it will help us to help you!
Static IP should be allocated to specific MAC and leased
Devices with static and no static IP are not being leased with DHCP and hostapd somehow deauths them
The Pi is the Access Point (hostapd), it has the Pi-hole and pi-vpn, pi-hole provides DNS blocking and DHCP. Whenever there is a static IP set in the pi-hole/admin page the devices whether they have dhcp static lease or not, cannot get connected to the Pi. If I remove all the static IP entries, the problem disappears*. But I need the static IP enabled.
A device experiences this error: (Android)
#1 Connects to AP, DHCP lease ok, after few seconds, disconnects
#2 Reconnects again and repeat #1
Keep the wifi open.
after some time, the client can connect to AP without any disconnection. But if you disable the wifi and reconnect again, same problem occurs.
Connected to AP but cannot even go to pihole admin page, unable to connect