hostapd_cli all_sta for eight emulated ap+hostapd in one machine

Jouni Malinen j at w1.fi
Sun Jul 3 07:34:19 PDT 2016


On Sun, Jul 03, 2016 at 11:22:20AM +0430, Aniss Maghsoudlou wrote:
> I have emulated 8 access points namely ap1, ap2, ... , ap8 in my
> ubuntu 15.10 machine, each of them running hostapd with
> ap1-wlan0.conf, ap2-wlan0.conf, ... , ap3-wlan0.conf respectively.
> 
> Whose connected stations does "hostapd_cli all_sta" show?
> How should I see any of these access points clients?

By default, hostapd_cli will pick the first found socket in
/var/run/hostapd. If you want to issue the command on a specific
interface, you can use the -i<ifname> command line argument with
hostapd_cli to specify which one to use.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list