Page 1 of 1

SSID name can't have spaces and apostrophes?

Posted: Sat Aug 20, 2011 10:23 pm
by kenyee
In Gargoyle, why is the SSID format prevented from having spaces and apostrophes? E.g., my current one running on DDWRT has an SSID named "Ken's Router" and it runs fine.

I couldn't find out where Gargoyle stores the SSID info. Doesn't seem to be in /etc/config/wireless as expected.
Can I modify this file to add
option 'ssid' 'Ken's Router'
to config 'wifi-iface'?

I'm trying to swap a new router over to the other one w/o having to reconfigure 10 wifi devices :P

p.s., forgot to ask...where does Gargoyle keep the SSID info? I grep'd through everything in /etc but can't find out where it stuck "Gargoyle_5GHz"...

Re: SSID name can't have spaces and apostrophes?

Posted: Sun Aug 21, 2011 3:44 pm
by kenyee
found the web page that displays the ssid:
https://github.com/ericpaulbishop/gargo ... w/basic.sh

But can't figure out where this is read/saved...

The developers docs need a bit more info on how the web pages are structured (how data goes in/out of them)...looks like it uses haserl, but it's not using the <% %> to set variables...there's no form action parameter so it doesn't look the form is posted back...

Re: SSID name can't have spaces and apostrophes?

Posted: Sun Aug 21, 2011 4:57 pm
by kenyee
FYI, SSID can have spaces in them...and most printable characters:

http://groups.google.com/group/alt.inte ... 76ab6573d6

/etc/config/wireless

Posted: Mon Aug 22, 2011 12:17 pm
by kenyee
ok...at least now I understand why using an apostrophe really messed up Gargoyle.

It's writing the /etc/config/wireless file using the documented way of quoting values using a single quote.
You can write these values using a double quote, so just change the line

option 'ssid' "Stupid's Stupid"

as needed (note that I used double quotes for the value). This brings up the SSID as expected.

I'd suggest that Gargoyle write the values using double quotes since there should be no reason values ever have double quotes...