Wednesday, July 6, 2011

How to add a wpa 2 enterprise network on android 1.5

Get root console access (look for that in this blog) and edit the /data/misc/wifi/wpa_supplicant.conf adding the network.
Wpa supplicant is standard unix so you can easily find informations on how to set up the network.
here is an example that worked for me (actually i have to test it on the mobile but i'm sure the wpa_supplicant works)

network={
    ssid="yourssid (network's name)"
    key_mgmt=IEEE8021X
    eap=TLS
    identity="identity"
    ca_cert="/sdcard/cert/ca.pem file (the file of the CA)"
    private_key="/sdcard/cert/cert.p12 (the cert file)"
    private_key_passwd="password of the cert"
}

this sets the network for access with a certificate which is on the sd card in the cert folder

NOTE: i have tested this trick on my enterprise network and it did not work. After a few try the network manager crashed and the phone was not turning on (seems like lagging on the boot). I solved simply moving outside the range of the wifi network and disabling wifi on the phone. I hope to solve this problem quickly

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.