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 revision Previous revision
Next revision
Previous revision
android_phone_notes [2010/08/31 07:40]
jtkorb
android_phone_notes [2011/02/26 05:30] (current)
jtkorb removed setting for anonymous identity; not needed
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).
Line 140: Line 74:
   * User certificate:​ (unspecified)   * User certificate:​ (unspecified)
   * Identity: <ITaP career account>   * Identity: <ITaP career account>
-  * Anonymous identity: ​<ITaP career account>+  * Anonymous identity: ​(unspecified)
   * Password: <ITaP password>​   * Password: <ITaP password>​
  
 That should do it and PAL2.0 should connect. That should do it and PAL2.0 should connect.
android_phone_notes.1283265604.txt.gz · Last modified: 2010/08/31 07:40 by jtkorb