Bug#367655: [pkg-wpa-devel] Bug#367655: ifup not setting wpa-ssid

Kel Modderman kelrin at tpg.com.au
Tue Jun 13 21:13:06 UTC 2006


pkg-wpa-devel-bounces at lists.alioth.debian.org wrote:
> I couldn't get it to set the SSID either. 
>
> The line
>
> $WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
>       set_network $NW_ID ssid "\"$IF_WPA_SSID\"" >$TO_NULL
>
> is supposed to set it, but doesn't work. If I remove the extra,
> backslash escaped, quotes, so that it's just
>
> $WPA_CLI_BIN -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
>       set_network $NW_ID ssid "$IF_WPA_SSID" >$TO_NULL
>
> then it works great for me.
>
>
>   

What ssid is this? By removing the double quotes, you are giving wpa_cli 
the ssid in raw hexadecimal form?

I've added an option to latest packages, wpa-input-type, to disable the 
automatic quoting of input, therefore when using this option you must 
quote everything as if in wpa_supplicant.conf. See README.modes for more 
details.

Thanks, Kel




More information about the Pkg-wpa-devel mailing list