Red Hat Bugzilla – Bug 129930
$KEY Should Be Surrounded by Quotes
Last modified: 2014-03-16 22:47:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)
Gecko/20030624 Netscape/7.1 (ax)
Description of problem:
The $KEY variable, used to store the encryption key for WEP, can be a
passphrase (like mine is) through the use of the "s:" prefix, and
therefore can contain spaces (like mine does). I suggest that the
iwconfig $DEVICE key $KEY
be changed to:
iwconfig $DEVICE key "$KEY"
to support such a situation, assuming this change has not already been
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure a wireless network card using a WEP passphrase that
contains a space.
2. Try "ifup ath0" (or "ifup eth0", or whatever).
3. Note that the WEP key does not get initialized properly (e.g., with
Actual Results: The WEP key was not set to the appropriate phrase
Expected Results: The WEP key should have been set
Oops. I meant to mention that this was for the
/etc/sysconfig/network-scripts/ifup-wireless script. I don't know of
any other occurences.
Added, will be in 7.62-1.
*** Bug 121436 has been marked as a duplicate of this bug. ***