• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

dynamic WEP 802.1x MSCHAPV2 wireless

tkahn6

Lurker
Jan 10, 2010
1
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"
}

2m46q15.png
 
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
 
Upvote 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:
ctrl_interface=tiwlan0
update_config=1

network={
ssid="MYNETWORK"
group=WEP104 WEP40
auth_alg=OPEN SHARED
scan_ssid=1
key_mgmt=IEEE8021X
eap=PEAP
phase1="peapver=0"
phase2="auth=MSCHAPV2"	
priority=1

}
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:
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
 
Upvote 0
Upvote 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?

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

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

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones