UPDATE: simplifying informations thanks to comments from @pim
The best method to retrieve association informations for eg on card wlan1 should be the command iwinfo wlan1 assoclist
that can be installed with opkg install iwinfo
, or with modern drivers: iw dev wlan1 station dump
. Anyway the "kick" method here (disassociate) is supported only if the hardware is supported with hostapd (Provided by default by the combo package wpad-mini on OpenWRT)
The default wpad-mini
package does provide the disassociate
command but not the all_sta
. So get the list of associated clients on card wlan1
with iwinfo wlan1 assoclist
, select a MAC address and then "kick" it with (for example):
hostapd_cli disassociate -i wlan1 01:23:45:67:89:AB
Considering a client usually tries to reconnect when disconnected, this might just disconnect it for about 10s.