Showing posts with label encryption. Show all posts
Showing posts with label encryption. Show all posts

Saturday, November 17, 2007

OpenWRT WPA Gives Me Problems... and WEP Works!

So I thought WPA was working perfectly. But then it started dropping out on me every now and then. I can't find a pattern to it. But I did leave the SSH connection to the router open on my desktop and the error message "wl0: Invalid argument" was displayed repeatedly.

Sometimes the connection get reestablished after a while. Sometimes I get impatient and reboot the router.

So I gave the instructions for WEP setup on OpenWRT Kamikaze one more try, except this time instead of using my old WEP key I followed all the steps and generated a new key as instructed. And now 128-bit WEP works! I'll have to see if it's stable but I'm hopeful.

Also, "Encryption key:<too big>" still appears when I run "iwconfig". Maybe 128-bit key is too big to display in what they allocated for the field to use? I dunno.

Wednesday, November 14, 2007

OpenWRT WEP Trouble

I had some trouble with enabling 128-bit WEP encryption on OpenWRT Kamikaze 7.09 (kernel 2.4). I'd run iwconfig and see "Encryption key:<too big>" but could not figure out how the key could be too big as I entered into "/etc/config/wireless" file, under "key" option, a 26-digit hexadecimal number as the WEP key.

As to be expected someone else ran into the same problem and discussed it in OpenWRT Forum and references a link with the solution. The solution did not work for me, though.

So I followed the instructions here to use WPA instead of WEP. It's working great. Don't know why WEP wouldn't work.

Afterthought: The router I am using is Linksys WRT54GL v1.1. I didn't try WPA2.