dynamic WEP 802.1x MSCHAPV2 wirelessGeneral


Last Updated:

  1. tkahn6

    tkahn6 New Member This Topic's Starter

    Joined:
    Jan 10, 2010
    Messages:
    1
    Likes Received:
    0
    Hi. Got my Droid Eris after being unhappy with Moto Droid. I do not regret the decision at all.

    My school uses an 802.1x Dynamic WEP MSCHAPV2 authentication stack for the wifi.

    I believe that this is supported by the Eris (Android 1.5) but when I enter these details after tapping "Add Wi-Fi network", the old network is still there but the one I just created cannot find a signal.

    Below is my wpa_supplicant.conf for my laptop (running Linux) for the same network (if that helps).

    network={
    ssid="AHA-NET"
    auth_alg=OPEN
    key_mgmt=IEEE8021X
    eap=PEAP
    phase2="auth=MSCHAPV2"
    identity="MY_USERNAME"
    password="MY_PASSWORD"
    ca_cert="PATH_TO_USER_CERTIFICATE.cer"
    }

    [​IMG]
     

    Advertisement
  2. erisuser1

    erisuser1 Well-Known Member

    Joined:
    Nov 11, 2009
    Messages:
    1,644
    Likes Received:
    759
    Just poking around in the menus, I don't see any evidence that suggests the Eris supports the PEAP extension to 802.1x - only LEAP

    Did you find some docs that suggest otherwise?

    Good luck!
     
  3. erisuser1

    erisuser1 Well-Known Member

    Joined:
    Nov 11, 2009
    Messages:
    1,644
    Likes Received:
    759
    You might want to look through this Open enhancement request at Google:

    http://code.google.com/p/android/issues/detail?id=1386

    It appears that the wpa_supplicant process on the phone is perfectly capable of doing exactly what you want, and in fact also uses a 'wpa_supplicant.conf' file - which is a root-owned file.

    So probably the phone can do it - but you can't get there because the UI doesn't provide you a means to get that info into the right place.

    Got root? (It happened two days ago for the Moto Droid...)


    eu1
     
  4. bliedel

    bliedel New Member

    Joined:
    Apr 22, 2010
    Messages:
    1
    Likes Received:
    0
    Has anyone been able to solve this? I have a moto droid, but am having the exact same issue.
     
  5. Wooglin

    Wooglin Member

    Joined:
    May 13, 2010
    Messages:
    8
    Likes Received:
    0
    Yes, there is a fix for this but you need to have Root access.
    Disclaimer: doing this worked for me without any trouble, but if you brick your phone because you mistyped something I take no responsibility.

    Steps to fix this:

    1) Paste the following text into notepad and save it as "C:\wpa_supplicant.conf"
    When saving, make sure you do not save it as a .txt (by selecting "all files" in the Save As Filetype menu.

    Code (Text):
    1.  
    2. ctrl_interface=tiwlan0
    3. update_config=1
    4.  
    5. network={
    6. ssid="MYNETWORK"
    7. group=WEP104 WEP40
    8. auth_alg=OPEN SHARED
    9. scan_ssid=1
    10. key_mgmt=IEEE8021X
    11. eap=PEAP
    12. phase1="peapver=0"
    13. phase2="auth=MSCHAPV2" 
    14. priority=1
    15.  
    16. }
    17.  
    Note: Don't forget to put your own SSID, username and password into these fields.

    2) Connect your phone with usb debugging enabled and turn off the WiFi card (via the settings menu). In a command prompt window browse to your Android SDK > Tools folder. Run the following:
    Code (Text):
    1. adb push C:\wpa_supplicant.conf  /data/misc/wifi/wpa_supplicant.conf
    3) Turn on the WiFi card in the settings menu.

    4) Dance for joy as you watch your beloved android phone connect to your WiFi.

    Original post courtesy of clueless_user at XDA
     
  6. osama_zabin

    osama_zabin New Member

    Joined:
    Sep 29, 2010
    Messages:
    4
    Likes Received:
    0
    when i enter this adb command, i get permission denied, please advice.

    thanks in advance
     
  7. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,676
    Likes Received:
    22,034
  8. osama_zabin

    osama_zabin New Member

    Joined:
    Sep 29, 2010
    Messages:
    4
    Likes Received:
    0
    I forgot to tell you that i'm using xperia x10, already rooted, but wifi folder is at:

    /system/wifi/

    Is this workaround valid for all android phones or only Droid Eris?
     
  9. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,676
    Likes Received:
    22,034
    Well, not having needed or used this modification myself, I'm not sure. But a quick Google search of "xperia x10 wpa_supplicant.conf" yielded lots of results that appear similar to what was suggested for the Eris.

    Try the search and see if those results help. Good luck!
     
  10. osama_zabin

    osama_zabin New Member

    Joined:
    Sep 29, 2010
    Messages:
    4
    Likes Received:
    0
    I couldn't push the config file, so i did it manually, but after replacing old config file, Wifi can't start...
    I returned the old file, and Wifi works fine,, but still cannot use WEP network :(
    Any idea?
     
  11. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,676
    Likes Received:
    22,034
    I'm sorry, I do not...:(

    Perhaps the folks in this thread http://androidforums.com/sony-ericsson-xperia-x10-mini/201619-wifi-autoconnect.html#post1761559 over in the Xperia forums might be able to help? (or perhaps in this subforum X10 - All Things Root - Android Forums).

    Good luck!
     

Share This Page

Loading...