Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159807 - examples in /etc/conf.d/wireless.example need updated
Summary: examples in /etc/conf.d/wireless.example need updated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
: 159810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-02 21:50 UTC by Michael Conrad
Modified: 2007-01-10 12:20 UTC (History)
0 users

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


Attachments
Fix for 2 of the possible mistakes (wireless.example.patch,756 bytes, patch)
2007-01-02 22:19 UTC, Michael Conrad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Conrad 2007-01-02 21:50:34 UTC
I'd report this 'trivial' except that I spent a decent amount of time digging through the init script source code to find the answer to it.

In /etc/conf.d/wireless.example, there are many references to 
  essid_MACADDRESS=some_essid
and
  key_MACADDRESS="a key string"
These do not work.

I have verified that the source code (in /lib/rcscripts/net/iwconfig.sh) is looking for variables of the form
  mac_essid_MACADDRESS
and
  mac_key_MACADDRESS.

I'm guessing the example didn't get updated.
Comment 1 Michael Conrad 2007-01-02 21:58:21 UTC
*** Bug 159810 has been marked as a duplicate of this bug. ***
Comment 2 Michael Conrad 2007-01-02 22:19:12 UTC
Created attachment 105262 [details, diff]
Fix for 2 of the possible mistakes

This is a correction for the two mistakes I've verified- but the rest of the examples should probably be checked by someone who knows the script.

BTW, Loving the scripts! They're a heck of a lot more configurable and useful than the homebrew stuff I was using before.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-01-03 03:19:57 UTC
OK, thanks for the patch. Will be fixed in the next full baselayout release.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-01-10 12:20:53 UTC
This should be fixed in baselayout-1.13.0_alpha11. Re-open if you disagree.