Connect Android Phone to LEAP WiFi

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.

This entry was posted in Android and tagged . Bookmark the permalink.

52 Responses to Connect Android Phone to LEAP WiFi

  1. mt says:

    works like a charm ! thanks.

  2. Yahya says:

    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…

  3. bigjobs says:

    Does your phone have to have root access granted to make this change?

  4. realgt says:

    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

  5. Hanson.S says:

    I bet we’re in the same company according to this post… :)

  6. Roy says:

    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.

  7. richard says:

    @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..

    • Try says:

      network={
      ssid=”IBM”
      scan_ssid=1
      key_mgmt=WPA-EAP
      eap=LEAP
      identity=”intranetid@xx.ibm.com”
      password=”password”
      priority=1
      }

  8. Roshan says:

    To modify this file wpa_supplicant.conf, is it necessary for me to root my phone ?

  9. Jing Lv says:

    @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.

  10. Mel says:

    I am @ Diamond, it works well for me. V1.5.
    :)

  11. richard says:

    @Roshan, Yes, phone needs to be rooted.

  12. Kai says:

    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

    • 黄 允松 says:

      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.

      • Kai says:

        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

        • Kai says:

          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?

      • Andy says:

        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?

  13. Richard says:

    @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.

  14. Claes says:

    I have just released LEAP Configurator. Go to http://code.google.com/p/leapconfigurator/ and find out more.

  15. Rakesh says:

    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?

  16. Rakesh says:

    Actually, I used LEAP Wifi (free) application from Android Market and it worked. I am connected to my corporate wifi.

    • Richard says:

      That’s true. More and more configuration tools for LEAP come into Android Market. It’s not necessary to edit the file manually.

  17. Jesse says:

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

  18. Guillermo says:

    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”"”"”"”"!!!!!!!!

  19. Donny says:

    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.

  20. Pingback: Is the AzureWave AW-NU706H card LEAP capable?

  21. Ravi says:

    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

  22. 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.

  23. Blank says:

    Dears,

    Thank u, it’s works for me (in SZ LM)…haha…..

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

  25. Antony says:

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

  26. Prakash says:

    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.

  27. Tiago Daitx says:

    For Samsung Captivate the file can be found under /data/wifi/bcm_supp.conf.

  28. Pingback: Connect to WIFI with LEAP encryption on Android Phone « Space of HU Hui from Beijing, China

  29. GotAQues says:

    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?

  30. mike says:

    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.

    • Larry says:

      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.

  31. Larry says:

    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.

  32. Eddy Avery says:

    I am at this time confident that i should root my mobile phone. Many thanks for the wonderful suggestions

  33. Simon says:

    Could someone can help to take a look? Thanks.

  34. Simon says:

    I used androin 2.3.3(Desire S), I cannot used leap to connect to corp. network, could someone help?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">