802.11 w/ WEP requires deftxkey explicitly set after 2007-08-24

Tom Uffner tom at uffner.com
Tue Nov 27 15:52:26 PST 2007

Last night when i updated my laptop from June 26's CURRENT to CURRENT
as of a few days ago my wireless connection stopped working for no
apparent reason.

What was wrong became painfully obvious once I tracked the problem
back to this commit:

sam         2007-08-24 15:44:27 UTC

   FreeBSD src repository

   Modified files:
     sys/net80211         ieee80211_output.c
   drop frames marked for encryption when no key is available

   Reviewed by:    avatar
   Approved by:    re (kensmith)
   Obtained from:  madwifi

   Revision  Changes    Path
   1.51      +1 -0      src/sys/net80211/ieee80211_output.c

Up until this change i didn't need to set deftxkey, it seems to have
defaulted to wepkey 1 which i did have set. It is an obvious workaround
now, but a note in UPDATING would have saved me about 9 hours of reading
commitlogs, building kernels and rebooting (on an old slow laptop).

If it doesn't violate the standard, could we make deftxkey default to
the lowest indexed WEP key that has been set? if not, could we mention
it in UPDATING and/or ifconfig(8) lest it bite someone else.


More information about the freebsd-current mailing list