In /etc/conf.d/wireless, I have 'key_ESS\-ID="XXXX-XXXX..."' for my wep key but the dash in the essid cannot be escaped and results in a bad syntax error. Reproducible: Always Steps to Reproduce: Actual Results: A syntax error occures. Expected Results: The wep key of my wireless device should be set.
i dont understand ... your ESSID is 'key_ESS\-ID' ? the syntax is this: key_ESSID2="aaaa-bbbb-cccc-dd" not key_ESS\-ID=...
key_ESS_ID="XXXX-XXXX..." You don't escape variable names - change any character that's not in the a-z A-Z (english only) 0-9 range with a _ So the ESSID Funky -ss'"'ss- Would become key_Funky__ss___ss_="XXXX-XXXX-XXXX" preferred_aps=( "Funky -ss\'\"\'ss-" )
roy: care to update wireless.example with the example you've just shown ? :) i read it and it wasnt obvious to me after a quick read ...
wireless.example should explicitly say: "You don't escape variable names - change any character that's not in the alphanumaric with a '_'"
wireless.example just needs and example to stress that all non-alphanumaric characters in variable names should be replaced with underscores.
so lets close the bug *after* we update the example ;)
fixed in baselayout-1.11.12-r2