hostapd_cli all_sta UNKNOWN COMMAND

Dongyu Yang yangdy.nwpu
Sun Dec 18 01:08:55 PST 2011


Hi Jouni,

    Yes, it is OpenWRt disable CONFIG_CTRL_IFACE_MIB. It is OK when I
enable CONFIG_CTRL_IFACE_MIB.

    Thanks for your help!


2011/12/17 Jouni Malinen <j at w1.fi>

> 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
> _______________________________________________
> 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/20111218/ec86cd1e/attachment.htm 



More information about the Hostap mailing list