WPA Manual Setting: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: If you are having trouble connecting to an specific access point, you may want to try connecting manually. Once this procedure is successful, you will not have to do it again as the settin...)
 
No edit summary
Line 1: Line 1:
If you are having trouble connecting to an specific access point, you may want to try connecting manually. Once this procedure is successful, you will not have to do it again as the settings will be remembered when you reboot.
If you are having trouble connecting to an specific access point, you may want to try using this simple 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:
# Open a virtual terminal: hold down Alt, Ctrl, and Neighborhood Mesh (3rd key from the left on the top row)
# Copy http://wiki.laptop.org/images/4/44/Wpa.sh to your XO (any directory)
# Type 'root' for the login
# Open the terminal activity
# Type
# Change to the directory you copied wpa.sh on step 1

# Execute the following command to have administrative privileges "su -"
# killall NetworkManager
# Execute the script "sh wpa.sh"
# if [ -e /etc/wpa_suplicant/wpa_suplicant.conf ]; then
# Follow the instructions on screen, providing the SSID, passphrase and WPA version of your Access Point
> rm /etc/wpa_suplicant/wpa_suplicant.conf'
# Reboot the XO (as instructed in the end of step 6)
> fi
# Go to the mesh view and click on the circle of your AP, that should be showing as
# wpa_passphrase <ssid> <passphrase> > /etc/wpa_suplicant/wpa_suplicant.conf
open now (no lock attached to the circle)
# wpa_supplicant -ieth0 -Dwext -c/etc/wpa_suplicant/wpa_suplicant.conf
# dhclient eth0

# Then type 'reboot' to re-start the laptop.

When the laptop boots up it will try your new settings automatically. You may need to use a hex key rather than a password or passphrase. You can use this website to convert from a password to a hex key: [http://www.xs4all.nl/~rjoris/wpapsk.html Hex Converter]

Revision as of 17:28, 12 December 2007

If you are having trouble connecting to an specific access point, you may want to try using this simple 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:

  1. Copy http://wiki.laptop.org/images/4/44/Wpa.sh to your XO (any directory)
  2. Open the terminal activity
  3. Change to the directory you copied wpa.sh on step 1
  4. Execute the following command to have administrative privileges "su -"
  5. Execute the script "sh wpa.sh"
  6. Follow the instructions on screen, providing the SSID, passphrase and WPA version of your Access Point
  7. Reboot the XO (as instructed in the end of step 6)
  8. Go to the mesh view and click on the circle of your AP, that should be showing as

open now (no lock attached to the circle)