Retrieving list of currently associated stations with hostapd

Jouni Malinen j
Mon Apr 11 08:24:54 PDT 2011

On Mon, Apr 11, 2011 at 12:39:38PM +0200, Adrien Decostre wrote:
> I am currently testing Hostapd v0.7.3 to build an embedded 802.11n access
> point (based on a Debian 2.6.38 kernel). Hostapd itself works fine: clients
> can be associated under WPA encryption without any notable problem.
> The problem is that I would like some tools to monitor the WiFi network from
> the AP. For example, I would like to be able to retrieve the list of all
> clients currently associated with the AP. Is such a features already
> implemented in hostapd?

You can get that information with the STA/STA-FIRST/STA-NEXT control
interface commands, e.g., with "hostapd_cli all_sta".

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list