As I was not able to enter this as a trac bug, I just post it here :-)
Bug description:If the ssid contains spaces, the interface won't be created correctly because the iwconfig call does not encapsulate the ssid with quotes.
Patches for 1.0.3 and trunk (r3742) attached. I only tested the 1.0.3 one but I think the trunk patch is good, too ;-)
fs
Index: files/wl-atheros =================================================================== --- files/wl-atheros (Revision 3742) +++ files/wl-atheros (Arbeitskopie) @@ -57,7 +57,7 @@ esac # set SSID - init_debug iwconfig $IFACE essid $IF_WIRELESS_SSID + init_debug iwconfig $IFACE essid "$IF_WIRELESS_SSID" # set WLAN channel [ -n "$IF_WIRELESS_CHANNEL" ] && init_debug iwconfig $IFACE channel $IF_WIRELESS_CHANNEL
Index: files/wireless-atheros.pre-up =================================================================== --- files/wireless-atheros.pre-up (Revision 3742) +++ files/wireless-atheros.pre-up (Arbeitskopie) @@ -47,7 +47,7 @@ # # set SSID # -iwconfig $IFACE essid $IF_WIRELESS_SSID +iwconfig $IFACE essid "$IF_WIRELESS_SSID" # # set WLAN channel
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ freewrt-developers mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-developers
