Bug 277 - Cannot set proper key value for WEP index 1
: Cannot set proper key value for WEP index 1
Status: VERIFIED FIXED
: IPW2200
Wireless Tools
: 0.11
: IBM Fedora Core 2
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-10-13 03:16 by
Modified: 2005-10-02 14:43 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-10-13 03:16:36
wireless tools v.26

any attempt to set key for WEP key index 1 failed. The value is alwys 1.
repro:
- reload driver
- iwconfig eth1 key 1111111111 [1] open
- iwlist eth1 key
eth1      2 key sizes : 40, 104bits
          4 keys available :
		[1]: 0100-0000-00 (40 bits)        !!!!!!!!!!!!!!?
		[2]: off
		[3]: off
		[4]: off
          Current Transmit Key: [1]
          Security mode:open

besides, i'm almost sure that this command worked fine once!
------- Comment #1 From 2004-10-15 05:14:51 -------
looks like with Wireless Tools v.26 WEP key index cannot be set after WEP key 
value in a command, for ex.
#iwconfig eth1 key 1111111111 [1]      <-- gives wrong settings
#iwconfig eth1 key [1] 1111111111      <-- gives proper settings

In addition, if we'd like to set WEP key index 1 as active, we have to do that 
before seting its WEP key value, otherwise the settings would be also 
incorrect, for ex.
#iwconfig eth1 key [1] 1111111111 key [1]     <-- gives wrong settings
#iwconfig eth1 key [1] key [1] 1111111111     <-- gives proper settings
------- Comment #2 From 2004-11-18 06:21:51 -------
Fixed in 0.14.
------- Comment #3 From 2004-11-21 21:02:12 -------
v0.14 has merged in the key management from the latest ieee80211 subsystem.  The
problem reported here may or may not have been related to the driver or
subsystem though, and may have been the wireless tools.

With the changes in 0.14, and using wireless tools v27, I can not reproduce this
problem.
------- Comment #4 From 2004-11-22 18:40:47 -------
verified in 0.14.