Guys, really having trouble disconnecting users on android phones from the device once connected on wan 0, users connect via karma then get a nodogsplashportal then I want to disconnect them after theyve been authenticated... works like a charm for ios using the following commands from a php file. but doesnt seem to disconnect android users for some reason.
exec('ndsctl deauth "'.$mac_addr.'"');
exec('ndsctl block "'.$mac_addr.'"');
exec('hostapd_cli -p /var/run/hostapd-phy0 disassociate "'.$mac_addr.'"');
Any ideas?