Talk:WPA Manual Setting: Difference between revisions
Line 47: | Line 47: | ||
- Bill Shepherd |
- Bill Shepherd |
||
I've checked the networks.cfg file that is created by the shell script. There are no entries for "key" or "bssids": is there supposed to be something there? |
|||
[network name] |
|||
timestamp = 1198154678 |
|||
we_cipher = 0 |
|||
key = |
|||
key_mgmt = 2 |
|||
bssids = |
|||
wpa_ver = 4 |
Revision as of 23:56, 19 December 2007
Got our olpc from G1G1 on Dec 15, build 650. The WPA instructions do not work. There is a file created on /home/olpc/.sugar/default/nm/networks.cfg. The bssids is empty. I tried wpa_ver 2 and 4. I tried putting in AP from iwconfig on this laptop for bssids (without colons to mimic key). Our WPA access point does not show up on the neighborhood.
-- StuartGathman 23:25, 16 December 2007 (EST)
Please see the Release Notes General_Release_Notes for details on this bug. We have a fix now and should be able to release the patch to the general public in another week or so.
-- kim
Looks like it might work!
I just received my children's OLPC yesterday (2007-12-17) and my biggest disappointment was the lack of WPA support. Anyone who is serious about wireless security (which may include the vast majority of G1G1 participants!) would not use any less than WPA2 at home.
I am using an Apple Airport Extreme router which did work for me last night without encryption at all, but that's an unacceptable option. I literally put the OLPC back in the box it came in, until a solution became available. Now I am betting on the power of Linux to come through with what looks like an extremely simple fix. Will post again with the results!
-Jeff Robelen, NY
A small error
The script does not quote the passphrase before passing it to wpa_passphrase, so if it is truly a phrase and contains spaces or other shell chars, it won't work. To fix this just change the line
- key=`$wpapass $ssid $pass | grep psk= | grep -v "#" | cut -d= -f 2`
to
- key=`$wpapass $ssid "$pass" | grep psk= | grep -v "#" | cut -d= -f 2`
It worked!
I got it to work on my WPA network, although not before making yet a further modification to the script. You do in fact have to allow for both password and ssid to contain spaces (as mine do). Once you change
key=`$wpapass $ssid $pass | grep psk= | grep -v "#" | cut -d= -f 2`
to
key=`$wpapass "$ssid" "$pass" | grep psk= | grep -v "#" | cut -d= -f 2`
you are good to go!
And after playing with this system, I am ready to get another one, so both children can have one, and grow up with these. Awesome!
-Jeff
Doesn't Work for Me
I've tried this (with and without the suggested emendations) several times to no avail. Usually the "lock" would still appear on the circle, though once it did not appear (but the dialog asking for a password still came up when I clicked on it).
I've now typed that 64-digit string created by the Hex converter several dozen times--is there any way to paste into the Terminal? Or to add the string to a file on my connected computer and transfer it to the OLPC?
Apple Airport Express WPA2 OPLC Build 650 Firmware Q2D06
- Bill Shepherd
I've checked the networks.cfg file that is created by the shell script. There are no entries for "key" or "bssids": is there supposed to be something there?
[network name] timestamp = 1198154678 we_cipher = 0 key = key_mgmt = 2 bssids = wpa_ver = 4