Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69599 - wireless-tools 27_pre26 do not support configuring domain-like ESSIDs
Summary: wireless-tools 27_pre26 do not support configuring domain-like ESSIDs
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-31 03:29 UTC by Dead Schorsch
Modified: 2005-10-18 05:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dead Schorsch 2004-10-31 03:29:42 UTC
The configuration of wireless-tools 27_pre26 is not supporting ESSID entries, which contain a dot nor any other ENV-Var "breaking" symbols. If you try to configure a key for ESSID dahlen.org with key_dahlen.org="..." you get a "key_dahlen.org : Unknown command" on execution, because the dot in dahlen.org is breaking the variable.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Henrik Brix Andersen 2004-11-01 04:46:27 UTC
What is the exact command that causes the error message?
Comment 2 Dead Schorsch 2004-11-01 04:56:57 UTC
It's not a command, it obvioulsly happens while reading or "sourcing" /etc/conf.d/wireless, because this is where the key_dahlen.org ESSID is defined.
Comment 3 Henrik Brix Andersen 2004-11-01 05:00:46 UTC
So this is happening with a masked version of baselayout?
Comment 4 Henrik Brix Andersen 2004-11-01 05:25:49 UTC
This bug report is awaiting feedback from the reporter.
Comment 5 Dead Schorsch 2004-11-01 05:28:14 UTC
No, baselayout is 1.11.4. I just recently discoverd this bug, when baselayout modified the /etc/conf.d/net file accompanied by /etc/conf.d/net.example . That was the reason to look at /etc/conf.d/wireless, a file which i did not use before.

ESSID key and stuff was set as module option to ndiswrapper in modules.conf before (but that's ugly, the reason I want to change it).

Btw: I changed my ESSID to dahlen_org, so the key is now set by key_dahlen_org which is propery sourced as variable, not as command, this brought things back to life. 

The current of approach of configuring things with <key>_<essid> will fail everytime there is a dot in the ESSID. Maybe an alternative is worth thinking, something like

keys="<essid>:<key> [<essid>:<key> [...]]"

?
Comment 6 Henrik Brix Andersen 2004-11-01 05:37:05 UTC
sys-apps/baselayout-1.11.4 is ~ARCH masked - and not the work of the mobile herd. Adding Uberlord to CC:
Comment 7 Roy Marples (RETIRED) gentoo-dev 2004-11-01 06:03:33 UTC
Actually, any characters in the ESSID that are not in A to Z, a to z, 0 to 9 ranges are changed to the _ symbol when using it in variables. This is well documented in /etc/conf.d/wireless.example

So if your ESSID is dahlen.org then the line
key_dahlen_org="s:foobar"

works just fine
Comment 8 Dead Schorsch 2004-11-01 06:25:10 UTC
You're right. My fault. Sorry for the hazzle.
Comment 9 Dead Schorsch 2005-10-18 05:53:46 UTC
invalid