wpa_supplicant.conf and WEP key indicies -- off by 1?

From: Alexandre \ <Alex.Kovalenko_at_verizon.net>
Date: Tue, 02 Aug 2005 21:34:33 -0400
Good people,

on my system (7.0-CURRENT as of 7/24 18:82 EST) following entry
in /etc/wpa_supplicant.conf would cause wepkey 1 set and deftxkey set to
1.

network={
  ssid="MYSSID"
  scan_ssid=1
  priority=5
  key_mgmt=NONE
  wep_key0=11111111111111111111111111
  wep_tx_keyidx=0
}

consequently

network={
  ssid="MYSSID"
  scan_ssid=1
  priority=5
  key_mgmt=NONE
  wep_key1=11111111111111111111111111
  wep_tx_keyidx=1
}

would cause wepkey 2 to be populated and deftxkey set to 2.

I do not know whether this is by design or mistake, but I figured
posting it here just might save someone some frustration.

-- 
Alexandre "Sunny" Kovalenko (Олександр Коваленко)
Received on Tue Aug 02 2005 - 23:35:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC