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, 2.1, and 2.2.
Have fun.
works like a charm ! thanks.
Can you send me a e-mail with all the steps on how to make the changes. My e-mail id is amol.thorat@hotmail.com
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..
network={
ssid=”IBM”
scan_ssid=1
key_mgmt=WPA-EAP
eap=LEAP
identity=”intranetid@xx.ibm.com”
password=”password”
priority=1
}
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.
JingLv:
I’m also in IBM ZJ building; but can not connect follow your config, any suggestion? thx
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?
Another option:
http://www.oneguyinabasement.com/apps/leapwifi/
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”
}
Hi all,,, I hope you can help me,,,i have the backflip cell phone..i work for IBM argentina,,,and I can not connect to our leap wifi…I tried all the options that you listed on the top…could you please help meeeeeeeeeeee”"”"”"”"!!!!!!!!
I did lots of test to connect to my companys hidden leap-wifi.
Finally I succeeded with two apps. First I used “HiddenSSID Enabler”, than I added the Wifi with “leap wifi”. I just had to fill in the SSID my user/password and it worked.
Pingback: Is the AzureWave AW-NU706H card LEAP capable?
i have successfully configured LEAP with the following app:
http://www.androidzoom.com/android_applications/tools/wifi-advanced-config-editor_juoq.html
settings:
SSID: give your companys SSID
BSID: leave blank
hidden SSID: not selected
adhoc: not selected
adhoc channel frequency : not selected
key management:select WPA_EAP + IEEE8021x
Auth protocols: select LEAP
Group ciphers: select CCMP
Pairwise ciphers: select CCMP
security protocol: WPA + RSN
enterprise configuration:
EAP: LEAP
Phase 2: blank
identity: your network id
anonymous identity: leave it blank
password: give your network password
Client certificate, CA certificate, and private key: leave blank
Thx for the information!
I think the Auth Protocol (auth_alg) need to be “LEAP” and “OPEN”
according to the description: http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=wpa_supplicant/wpa_supplicant.conf
Hope this help
Sweet post, thanks. I’ve been planning on submitting a post along these kinds of lines for some time, do you mind if I quotation you? I’ll link back to you needless to say.
sure. you can do that. thanks for linking back.
Dears,
Thank u, it’s works for me (in SZ LM)…haha…..
I had problems connecting from 2.3 Gingerbread (Oxygen 2.0 pre[1-3]) to you-all-know-which LEAP-protected network until I created this entry:
network={
ssid="XYZ"
scan_ssid=1
key_mgmt=WPA-EAP IEEE8021X
auth_alg=OPEN SHARED LEAP
eap=LEAP
identity="my_name@realm"
password="my_password"
}
cool thanks
I think save your LEAP pwd in a andorid is very dangerous for your company, It’s not cool at all, as some free apk may read your configuration file and leak your leap account!!!
yes, it’s true. android should provide a secret approach to protect username/password pairs.
Hi,
I am Windows guy and dont have much idea on linux, Can any body Please let me know how to Enter into CLI mode thru Terminal or ConnectBot and change to root user.
Please update any one.
For Samsung Captivate the file can be found under /data/wifi/bcm_supp.conf.
Pingback: Connect to WIFI with LEAP encryption on Android Phone « Space of HU Hui from Beijing, China
My corporate wifi ssid shows up as WEP but it won’t connect. If I create another network with same SSID will it not create collision?
I thought this was cool and that it would work. I copied over the conf file from a different working android device I had. Now the wifi is broken – it always says “Unable to start Wifi”. I even copied back the original settings, but it still wont start. sad face.
You can delete the wpa_supplicant.conf and restart your phone. In my case, my phone HTC hero ver2.1 generate its version starts ok again.
I got the same issue with you. I rooted the phone (HTC hero) and mannually modified the wpa_supplicant.conf. But my phone doesn’t use my configuration. It seems like my phone recognize leap as WEP.
I am at this time confident that i should root my mobile phone. Many thanks for the wonderful suggestions
Could someone can help to take a look? Thanks.
I used androin 2.3.3(Desire S), I cannot used leap to connect to corp. network, could someone help?