wpa_cli disassociate

Jouni Malinen j at w1.fi
Fri Apr 1 03:36:12 PDT 2016


On Thu, Mar 31, 2016 at 07:35:06PM +0200, Pas wrote:
> Could someone please provide an example of an "address" as an argument
> to wpa_cli's disassociate? Using the AP's MAC address doesn't work.

It is a _station's_ MAC address.. This command is for AP mode, not for
station mode.

> > disassociate
> Invalid DISASSOCIATE command - at least 1 argument is required.
> <addr> = disassociate a station
> 
> > status
> bssid=c4:27:95:xx:xx:xx
> ...
> 
> > disassociate c4:27:95:xx:xx:xx
> FAIL

That would be a request to disassociate a station connected to the local
device that is acting as an AP. You would use the "disconnect" command
to disconnect the local device, e.g., when associated as a station with
an AP.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list