From: hutch_at_psfc.mit.edu
Date: 2002-06-30 13:06:33 UTC
On Sun, 30 Jun 2002, Jouni Malinen wrote:
> On Sat, Jun 29, 2002 at 06:05:22PM -0400, hutch_at_psfc.mit.edu wrote:
>
> > But if I want to use it on a WEP AP, I can give the key using iwconfig by
> > hand, but if the driver then drops out, even if it restarts itself, it
> > seems not to know the key thereafter till I tell it, by hand, again.
> > Obviously a pain, since the drop-outs tend to happen quite regularly (at
> > least on the older version, I've only just upgraded to 05-19).
>
> I do not know what you mean with "drop-opt". If the driver gets
> unloaded, yes it will certainly lose WEP configuration. However, if
> the card is only resetted, driver should reconfigure WEP (this was
> fixed in 2002-04-21 release, so if you are using older one, it will
> lose keys even on card reset).
OK, I was using an earlier version, and that probably explains why it forgot the WEP key when the card was reset.
(At least it is certainly the case that the driver was not unloaded, I can't be sure what caused the reset. However, I did notice that the resets often occurred when the hard disk spun up, or other hardware activity was occuring.)
>
> > Is there a way to put the required key into a configuration file? Or is
> > there a way to get the driver to remember it?
>
> You can configure WEP keys, just like other wireless related setup, in
> pcmcia-cs's configuration files. See /etc/pcmcia/wireless.opts for an
> example.
>
I was discouraged by the statement in wireless.opts:
# Note also that this script will work only with the original Pcmcia scripts, # and not with the default Red Hat scripts. Send a bug report to Red Hat
since I am on a Red Hat system. So I ignored the wireless.opts file.
Thanks for the pointers.
-- Ian Hutchinson, Plasma Science and Fusion Center, MIT. http://www.psfc.mit.edu/people/hutch/index.html