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/05/08 13:10]
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.**+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.+1. Settings (from home screen, press option hard key).
  
-2. Start the adb daemon as root...+2. Wireless & Networks.
  
-<​code>​ +3. Wi-Fi settings.
-% adb root +
-</​code>​+
  
-3Get 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) +4Add Wi-Fi network (at bottom ​of screen). 
 +  * Network SSIDPAL2.
 +  * Security: 802.1x EAP 
 +  * EAP method: PEAP 
 +  * Phase 2 authentication:​ MSCHAPV2 
 +  * CA certificate: ​(unspecified) 
 +  * User certificate:​ (unspecified) 
 +  * Identity: <ITaP career account>​ 
 +  * Anonymous identity: (unspecified) 
 +  * Password: <ITaP password>​
  
-4. Save the certificate to a local file, say ''​cert.pem''​. +That should do it and PAL2.0 ​should connect.
- +
-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.+
android_phone_notes.1273349430.txt.gz · Last modified: 2010/05/08 13:10 by jtkorb