Wednesday, March 31, 2010

"Too long WEP key" Problem Resolved?

I know many of you using IZ2S have had trouble with getting your Zipit to accept a 128-bit WEP key in hexadecimal format (26 characters).

I may have traced the problem to the use of double quotation marks in the configuration file. It seems that wpa_supplicant assumes that if you are wrapping your key in quotation marks, then it must be ASCII.

I have made some changes to the wifi script which will now ask the user if they are inputting a Hexadecimal or ASCII key. Ideally it would be nice to have the Zipit figure this out on it's own and not even have to ask the user. But I am providing a quick fix for those of you have been struggling with this.

First, you will want to get the latest version of IZ2S which at present is the BETA. If you are all ready running the BETA, don't re-download it. It's unchanged.

http://www.oddree.com/zipit/Z2S-v205-BETA.zip

Then, you will want to grab this new script ...

http://www.oddree.com/zipit/setup-wifi.sh

Put it in /mnt/sd0/bin or the "bin folder" of your SD card. You can replace or overwrite the current file. Then, reboot and choose yes when asked if you want to change your wireless settings. You should get a new question after choosing WEP. If you have a long 26 character key, you should choose "H)exadecimal".

Please post your success and failures to me in the comments area. I can't do much testing here without reconfiguring my own access point (and my wife wouldn't appreciate that too much because she is using it).

Also - sorry for the absence lately. I hope to be back to developing soon!