User Tools

Site Tools


android_phone_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
android_phone_notes [2010/08/31 07:40] jtkorbandroid_phone_notes [2010/09/24 12:29] jtkorb
Line 56: Line 56:
  
 Thanks, Kip. Thanks, Kip.
-===== Configuring the Android Dev Phone to Work with PAL2.0 =====+===== Configuring Android Phones to Work with PAL2.0 =====
  
-**NOTE: These instructions are somewhat dated due to upgrades to the Android OS in fall 2009.  Specifically, PAL2.0 can now be configured from within the phone UI, obviating the need to copy and paste the wpa_supplicant.conf configuration file.  See next section for details.** +To configure Android-based phones to work with PAL2.0...
- +
-1. Install the Android SDK.  Open a local shell window.  Plug in the Android via USB. +
- +
-2. Start the adb daemon as root... +
- +
-<code> +
-% adb root +
-</code> +
- +
-3. Get a copy of the ''Thawte_Premium_Server_CA.pem'' file from [[http://www.cs.purdue.edu/homes/fultz/Thawte_Premium_Server_CA.pem|here]] (or elsewhere).   +
- +
-4. Save the certificate to a local file, say ''cert.pem''+
- +
-5. Copy the certificate to the phone... +
- +
-<code> +
-% adb push cert.pem /sdcard/certs/Thawte_Premium_Server_CA.pem +
-</code> +
- +
-6. Get the current ''wpa_supplicant.conf'' file from ''/data/misc/wifi'' (if it exists)... +
- +
-<code> +
-% adb pull /data/misc/wifi/wpa_supplicant.conf x.txt +
-</code> +
- +
-7. Copy the text below into your (scratch) ''x.txt'' file.  Be sure to edit in your login id and password (sigh). +
- +
-<code> +
-ctrl_interface=tiwlan0 +
-update_config=1 +
- +
-network={ +
- ssid="PAL2.0" +
- id_str="pal20" +
- scan_ssid=1 +
- proto=WPA RSN +
- key_mgmt=WPA-EAP +
- pairwise=TKIP +
- group=TKIP +
- eap=PEAP +
- ca_cert="/sdcard/certs/Thawte_Premium_Server_CA.pem" +
- identity="***LOGIN***" +
- password="***PASSWORD***" +
- phase2="auth=MSCHAPV2" +
-+
-</code> +
- +
-8. Copy your modified ''x.txt'' file back out to the ''wpa_supplicant.conf'' file.  (Delete ''x.txt'' when you're done, since it contains your password!) +
- +
-<code> +
-% adb push x.txt /data/misc/wifi/wpa_supplicant.conf +
-</code> +
- +
-9. Turn off WiFi, and then turn it back on.  If that doesn't do it, then reboot the phone... +
- +
-<code> +
-% adb shell +
-# reboot +
-</code> +
- +
-Thanks, Charlie. +
- +
- +
-===== Configuring (Newer) Android Phones to Work with PAL2.0 ===== +
- +
-To configure newer Android-based phones to work with PAL2.0...+
  
 1. Settings (from home screen, press option hard key). 1. Settings (from home screen, press option hard key).
android_phone_notes.txt · Last modified: 2011/02/26 05:30 by jtkorb