My wireless network password is two words with an ampersand (&) between them. iwconfig won't accept the password, and the error messages suggest the ampersand is confusing it. (Sorry for the awkward way of quoting my command, but I shouldn't display either the essid or password.) I entered:
Quote:
iwconfig wlan0 essid ****************** key s:[first word]&[second word]
|
The system responded:
Quote:
[1] 5233
bash: [second word]: command not found
Error for wireless request "Set Encode" (8B2A) :
invalid argument "[first word]".
|
Obviously, the ampersand confused the system. So I tried the same password enclosed in single quotation marks and then tried it again enclosed in double quotation marks. For both, I got this result:
Quote:
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
|
Is this all because my password contains an ampersand? I don't know what else it would be, because I'm typing the command exactly as my source says (
http://www.ghacks.net/2009/04/14/con...-command-line/
I am not the administrator of my network, and therefore can't change the password to remove the ampersand. There's no possibility I have the wrong password; I know it too well. I added "s:" before the password because the website says to do that for an ASCII password, which mine is.