hostapd_cli all_sta UNKNOWN COMMAND

Dongyu Yang yangdy.nwpu
Sat Dec 17 00:39:08 PST 2011


Hi all:

    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


and when I use mib and all_sta, I got the same error,

       hostapd_cli -i wlan0 -p /var/run/hostapd-phy0 mib
       UNKNOWN COMMAND

       hostapd_cli -i wlan0 -p /var/run/hostapd-phy0 all_sta
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       UNKNOWN COMMAND
       ......

the get_config command is OK:

      hostapd_cli -i wlan0 -p /var/run/hostapd-phy0 get_config
      bssid=00:15:6d:0b:d2:2b
      ssid=OETC-AP
      key_mgmt=WPA-PSK
      group_cipher=CCMP
      rsn_pairwise_cipher=CCMP


     How can I to fix it?

     Thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20111217/f2e7fd32/attachment.htm 



More information about the Hostap mailing list