hostapd CLI to list all stations

Jonathan Bither jonbither
Mon Apr 13 11:07:42 PDT 2015



On 04/13/2015 12:54 PM, Sadiq Yakasai wrote:
> Hello,
>
> Is there a plan to implement a CLI that displays a summary of all
> stations authenticated with hostapd? Is there a similar option? The best
> I have seen is the all_sta CLI, which returns all MIBs for all stations...
>
> Just a summary of how many hosts and their MAC addresses, for example...
>
> Thanks!
> Sadiq
You can do this with iw.
	'iw wlan0 station dump'

[root at router ~]# iw wlan0 station dump
Station 9c:d9:17:a1:5d:8a (on wlan0)
	inactive time:	4366 ms
	rx bytes:	10644
	rx packets:	136
	tx bytes:	7725
	tx packets:	37
	tx retries:	5
	tx failed:	0
	signal:  	-54 [-54] dBm
	signal avg:	-53 [-53] dBm
	tx bitrate:	58.5 MBit/s MCS 6
	rx bitrate:	6.0 MBit/s
	expected throughput:	29.753Mbps
	authorized:	yes
	authenticated:	yes
	preamble:	short
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
[root at router ~]#
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



More information about the Hostap mailing list