Bugzilla – Bug 277
Cannot set proper key value for WEP index 1
Last modified: 2005-10-02 14:43:53
You need to log in before you can comment on or make changes to this bug.
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!
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
Fixed in 0.14.
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.
verified in 0.14.