Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112031 - Assumes WEP is not needed if ESSID is forced
Summary: Assumes WEP is not needed if ESSID is forced
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 19:23 UTC by James Le Cuirot
Modified: 2005-11-10 08:11 UTC (History)
1 user (show)

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


Attachments
fixes issue (iwconfig.patch,365 bytes, patch)
2005-11-09 23:07 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2005-11-09 19:23:13 UTC
If you force your ESSID in /etc/conf.d/wireless and that ESSID needs a WEP key, 
which you also specify with key_ESSID, that WEP key is ignored. The problem lies 
in the iwconfig_associate() function in /lib/rcscripts/net.modules.d/iwconfig. 
In baselayout-1.12.0_pre10, lines 342-345 disable the key because $4 
($wep_required) is not given when the function is called from line 776. Removing 
lines 342-345 solves the problem. If a key is given for an ESSID, I think it 
should be assumed that that key is necessary.

I then realised that I don't need to force my ESSID anyway. I used to have to 
but the very very latest madwifi driver seems to pick it up automatically now. 
(-:
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-11-09 23:07:12 UTC
Created attachment 72553 [details, diff]
fixes issue
Comment 2 James Le Cuirot gentoo-dev 2005-11-10 03:29:55 UTC
Ah yep that's a better idea!
Comment 3 Roy Marples (RETIRED) gentoo-dev 2005-11-10 08:11:31 UTC
Fixed in pre10-r1