Android phone can connect to WiFi wireless network, but it only supports simple authentication, such as WEP key, if WiFi has security settings. There is no support for LEAP in current Android. At least no support in GUI configuration wizard. Lots of users have been requesting this feature (1386, 1871) in Android’s Google Code site. But wait a minute, does Android really not support LEAP? Take a look at WifiConfiguration.AuthAlgorithm in apidocs, there is a constant for LEAP. Yes, Android supports LEAP, but there is not option on GUI configuration.
Enter into CLI mode thru Terminal or ConnectBot, change to root user, and edit the wpa_supplicant.conf file.
# cd /data/misc/wifi
# vi wpa_supplicant.conf
The following is the content of my copy. Successfully connected to my company wireless network.
network={
ssid="your_ssid"
key_mgmt=IEEE8021X
auth_alg=OPEN SHARED LEAP
eap=LEAP
identity="your_username"
password="your_password"
}[UPDATE] 2 Jun 2010:
My company changed LEAP security from WEP static key to AES/TKIP recently. The above configuration didn’t work anymore. Now I’m using the following configuration:
network={
ssid="your_ssid"
key_mgmt=WPA-EAP
group=CCMP TKIP
eap=LEAP
identity="your_username"
password="your_password"
}By the way, this configuration works well on Android 1.5, 1.6, and 2.1.
Have fun.
works like a charm ! thanks.
Thanks a lot !!! this worked for me as well. I can connect now to the corporate network.
I was not able to edit the file as suggested from shell vi so I ended up using pull and push.
Thanks again for the tip…
Does your phone have to have root access granted to make this change?
I was able to get a LEAP connection setup on my non-rooted android 2.1 (HTC EVO)…w/o read or write access to wpa_supplicant.conf!
i’m working on a distributable solution at this point. hit me up @realgt on twitter for more info
I bet we’re in the same company according to this post…
Hello, my company use LEAP, and Data encryption is WEP or AES. I used your configuration, but the WIFI can not start up with it.
network={
ssid=”IBM”
key_mgmt=WPA-EAP
group=CCMP TKIP
eap=LEAP
identity=”my_username”
password=”my_password”
}
Do you know how to modify it for AES or WEP? Pls kindly show me, thank you very much in advance.
@Roy, I’m at Ring Building, the configuration works for my G2. Don’t know why it doesn’t work for yours.. Maybe different building has different wireless security within IBM? Not sure..
To modify this file wpa_supplicant.conf, is it necessary for me to root my phone ?
@Roy, I am in ZJ building(LEAP+AES), my configuration is:
network={
ssid=”IBM”
scan_ssid=1
key_mgmt=IEEE8021X
auth_alg=LEAP
eap=LEAP
identity=”my_username”
password=”my_password”
}
And it works well for me.
And as found in google, add a line
phase2=”AUTH=WSCHAPV2″
may help you.
I am @ Diamond, it works well for me. V1.5.
:)
@Roshan, Yes, phone needs to be rooted.
Hi, Im also trying to connect with leap. But I cant find that file on my Galaxy S. Should I just create it, or might there be a different config file for different UI’s?
Thanks in advance,
Kai
Try to connect to any wireless network you can find around, this file should be created automatically. Then you can edit it. – Of course, please make sure that your phone is rooted.
Thanks for the quick reply.
I’ve found the file (on my Galaxy S it was under /system/etc/wifi/). Howerver, I did the change and it still doesn’t seem to work. I’m rooted, edited the file with su and rebooted. File still contains change after reboot. But company Networt does not appear in network list on UI… Home network does… Any other suggestions?
Thanks, Kai
Edit: I just realized, that my home network does not appear in this file either.
Meaning there is no entry in this file stating
network={
ssid=
[...]
}…
So could it be that this file is not used in this particular case?
But Realgt says he did it on his non-rooted Evo with 2.1 software.
I have a Desire on 2.2, non-rooted, and I want to connect to my work LEAP wifi. Any help?
@Kai
I don’t think /system/etc/wifi/wpa_supplicant.conf is the right configuration file. This file is for system-wide configurations. The user data goes /data/…
I just found a post on Android’s dev site, seems that the file on Samsung Galaxy is /data/misc/wifi/bcm_supp.conf. But please be CAREFUL, some guys are failed by hand-editing this file.
I have just released LEAP Configurator. Go to http://code.google.com/p/leapconfigurator/ and find out more.
@Claes
It’s really great!! Lots of people have pain for a long time. Thank you!
Thank you so much! That even worked perfectly on my Galaxy S…. You’re the best!
Just to let you know…works well on Droid X. Thank you!
I know nothing about software stuff on droid and cannot get the LEAP Configurator by following the link, no permission or something. Can you email it to me please?
I have Android 2.1 and DROIDX.
I got ConnectBot installed and tried this command: su root, but the console says permission denied.
Does anyone know how to change to root for my case?
Actually, I used LEAP Wifi (free) application from Android Market and it worked. I am connected to my corporate wifi.
That’s true. More and more configuration tools for LEAP come into Android Market. It’s not necessary to edit the file manually.
Thanks. Your configuration works for me (in Ring).
But one tip: after modify the .conf file, must restart the phone to let it take effect.
network={
ssid=”your_ssid”
key_mgmt=WPA-EAP
group=CCMP TKIP
eap=LEAP
identity=”your_username”
password=”your_password”
}