Package: wpa
Version: 2.3

I want to use wpa_cli to add/remove a wireless interface to a running 
wpa_supplicant instance. I try to use "wpa_cli interface_add wlan1" and it 
prints out "UNKNOWN COMMAND". Same if I use wpa_cli command line. If I use 
"interface_add" without arguments, it asks me to use at least one argument. If 
I use "wpa_cli interface_list", it doesn't print out any interface (which is 
weird, since "wpa_cli interface" prints an interface which was supplied to 
wpa_supplicant by /etc/network/interfaces using wpa_conf directive).
I grepped through wpa 2.3 source and this message appears in wpa_supplicant 
ctrl_iface.c file, but I can't quite figure out what are the circumstances when 
it is returned as a reply.

I am using Debian GNU/Linux 8.0, kernel 4.1.19-v7+ and glibc6 2.4. It's 
Raspbian, if that's important. I can check it on a Debian PC if necessary.

Reply via email to