Jump to content

Disconnect/kick android users connected to wan0


KronicTec

Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...