hostapd CLI to list all stations

Sadiq Yakasai sadiqtanko at hotmail.com
Tue Apr 14 14:04:30 EDT 2015


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.

Sadiq

> Date: Mon, 13 Apr 2015 14:07:42 -0400
> From: jonbither at gmail.com
> To: hostap at lists.shmoo.com
> Subject: Re: hostapd CLI to list all stations
> 
> 
> 
> 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
> >
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150414/3133b2b4/attachment.htm>


More information about the HostAP mailing list