User Tools

Site Tools


obsolete:configuring_the_android_dev_phone_to_work_with_pal2.0

OBSOLETE: Configuring the Android Dev Phone 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.

1. Install the Android SDK. Open a local shell window. Plug in the Android via USB.

2. Start the adb daemon as root…

% adb root

3. Get a copy of the Thawte_Premium_Server_CA.pem file from here (or elsewhere).

4. Save the certificate to a local file, say cert.pem.

5. Copy the certificate to the phone…

% adb push cert.pem /sdcard/certs/Thawte_Premium_Server_CA.pem

6. Get the current wpa_supplicant.conf file from /data/misc/wifi (if it exists)…

% adb pull /data/misc/wifi/wpa_supplicant.conf x.txt

7. Copy the text below into your (scratch) x.txt file. Be sure to edit in your login id and password (sigh).

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"
}

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!)

% adb push x.txt /data/misc/wifi/wpa_supplicant.conf

9. Turn off WiFi, and then turn it back on. If that doesn't do it, then reboot the phone…

% adb shell
# reboot

Thanks, Charlie.

obsolete/configuring_the_android_dev_phone_to_work_with_pal2.0.txt · Last modified: 2010/09/24 12:29 by jtkorb