Page 1 of 1
wifi wep encryption in iwconfig
Posted: Mon Dec 19, 2005 10:55 am
by bezomo
when specifiying the encryption , i use s:password in ascii characters as the manual specifies.. It still doesnt work. It detects everything else, i get signal, when the wep is off it works.. Its just that my linksys isnt using hex for some [censored] reason..too user friendly. Its long long numbers..any solution?
Posted: Mon Dec 19, 2005 4:50 pm
by teetee
It might help if you can post the whole iwconfig command you used.
Posted: Mon Dec 19, 2005 9:40 pm
by yorn
I'll take a guess:
the iwconfig s:password thing creates a 1 to 1 ASCII to HEX key whereas your linksys might create the key with a "passphrase" which is not the same algo. Maybe thats the problem. Try to set the key on the router with some sort of HEX or ASCII mode and disable the passphrase.
Maybe thats the problem...
Greetz!
Posted: Tue Dec 20, 2005 12:41 am
by bezomo
i didnt use a passphrase for the 128bit or 64bit encryption cause i know it doesn't support it. I made up the code.
..the command looked like, iwconfig eth0 key open s:1a1b1c1d1e (64 bit which i made up)
This command is done prior to setting up the essid and mode etc...
I have gotten it working without encryption ..
Posted: Tue Dec 20, 2005 2:50 pm
by karmaflux
bezomo wrote:iwconfig eth0 key open s:1a1b1c1d1e
When you directly enter the hex digits like that, you don't need the s: prefix. That's only for if you're entering the key as an ascii string, which you're not doing there. It should work fine if you remove the "s:" part.
man iwconfig wrote:You can also enter the key as an ASCII string by using the s: prefix. Passphrase is currently not supported.
Posted: Wed Dec 21, 2005 4:40 pm
by bezomo
i figured it out. I found a hex 128 bit generator, and just used that number.
linksys firmware sucks