hostapd CLI to list all stations

Jouni Malinen j
Tue Apr 14 12:51:11 PDT 2015

On Tue, Apr 14, 2015 at 07:04:30PM +0100, Sadiq Yakasai wrote:
> Thanks but what I really want is a summary of how many connected stations there are on each interfaces for example. if possible, a summary of their MAC addresses too.

Number of connected STAs:
hostapd_cli all_sta | grep ^..: | wc -l

Their MAC address:
hostapd_cli all_sta | grep ^..:

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list