hostapd_cli all_sta UNKNOWN COMMAND

Jouni Malinen j at w1.fi
Sat Dec 17 09:58:45 EST 2011


On Sat, Dec 17, 2011 at 04:39:08PM +0800, Dongyu Yang wrote:
>     I installed hostapd and hostapd_cli on OpenWRT (Linux 2.6.39.4 and
> Linux 2.6.36.4), the hostapd works fine, and then I use hostapd_cli to get
> MIB variables for one station, I got the error: "UNKNOWN COMMAND", as
> bellow:
> 
>        hostapd_cli -i wlan0 -p /var/run/hostapd-phy0 sta 00:15:6D:0B:D2:2B
>        UNKNOWN COMMAND

This works fine on an OpenWRT AP in my tests with hostapd that I built
separately (i.e., not through the OpenWRT package). It looks like
OpenWRT disables some of the control interface by default
(CONFIG_CTRL_IFACE_MIB).

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list