WPA Manual Setting: Difference between revisions
Jump to navigation
Jump to search
(Wpa.sh has a bug, describe how to fix it since I don't see how to upload a fixed version. -gpshead) |
No edit summary |
||
Line 19: | Line 19: | ||
$ cp /media/USBNAME/Wpa.sh . |
$ cp /media/USBNAME/Wpa.sh . |
||
# Edit Wpa.sh to fix a bug. Replace $pass with "$pass" on the key= line. |
# Edit Wpa.sh to fix a bug. Replace $pass with "$pass" on the key= line. Replace $ssid with "$ssid" on the same line. (someone please upload a fixed version and remove this instruction) |
||
$ nano Wpa.sh |
$ nano Wpa.sh |
||
Revision as of 23:13, 21 December 2007
WPA is not working from the User Interface in build 650. If you can turn off WPA from your router, you should be able to connect by choosing the access point from the neighborhood view.
If you are having trouble connecting to an specific access point and you want to try it manually, you can try using this script: http://wiki.laptop.org/images/4/44/Wpa.sh. Once this procedure is successful, you will not have to do it again as the settings will be remembered when you reboot.
Instructions:
- Copy http://wiki.laptop.org/images/4/44/Wpa.sh to a USB stick. (from a computer other than your XO)
- CAUTION - if your SSID and/or passphrase contain spaces, the original script is not written to handle these. See the Discussion page for details regardin what needs to be changed. --Vlb 11:09, 21 December 2007 (PST)
- On your XO, open the terminal activity from the taskbar on the home page.
- Determine the name of your USB stick (if you do not know it), by typing:
$ df
- Look for the line that starts with /dev/sda1 and read across to get the name of your USB stick. In this example the name is USBNAME.
mtd0 1048576 375772 672804 36% / tmpfs 35676 0 35676 0% /dev/shm /dev/sda1 990432 331024 659408 34% /media/USBNAME
- Copy the Wpa.sh file from the USB stick by substituting your USBNAME when typing this command. Note the period at the end of the command:
$ cp /media/USBNAME/Wpa.sh .
- Edit Wpa.sh to fix a bug. Replace $pass with "$pass" on the key= line. Replace $ssid with "$ssid" on the same line. (someone please upload a fixed version and remove this instruction)
$ nano Wpa.sh
- Execute the script by typing:
$ ./Wpa.sh
- Follow the instructions on screen, providing the SSID, passphrase and WPA version of your Access Point. If you don't know try '2'.
- Reboot the XO by typing:
$ reboot
- When it boots back up, go to the mesh neighborhood view and click on the circle of your AP, that should be showing as open now (no lock attached to the circle)