wpa_cli quirks?

Kel Modderman kel
Wed Mar 12 23:07:29 PDT 2008


On Thursday 13 March 2008 19:33:27 Girish wrote:
> Kel Modderman wrote:
> 
> >RX ctrl_iface - hexdump_ascii(len=27):
> >     53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 73 73   SET_NETWORK 0 ss
> >     69 64 20 22 6b 65 6c 6e 65 74 22                  id "kelnet"
> >CTRL_IFACE: SET_NETWORK id=0 name='ssid' value='"kelnet"'
> >ssid - hexdump_ascii(len=6):
> >     6b 65 6c 6e 65 74                                 kelnet
> 
> >
> >There seems to be an extra bit on the end of the hexdump when the 
> >command is issued from within the console. I have no idea why.
> 
> 
> I too had the same problem, when I issued the command like 
> 
> 
> /wpa_cli -i eth1 set_network 1 ssid '"abrakadabra"' 
> It worked. So you need to add '' over ssid.

The shell likes to "eat" the quotes, they must be escaped.

Thanks, Kel.



More information about the Hostap mailing list