New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
yoz1027
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 9
Join Date: Aug 2010
Default Milestone + Froyo + WPA2 Enterprise

Hi,

I have installed Cronos ROM 1.6.1 on my Milestone.
The big problem with this ROM is that WPA2 Enterprise ( WPA2+802.1x) didn't work at all on the new ROM.
There is a known bug in wpa_supplicant v0.6.10 which comes with Froyo -
hxxp:// code.google. com/p /android/issues/detail?id=1386

To make it work I had to copy wpa_supplicant from default Eclair to the Froyo based ROM.
Except wpa_supplicant I have also copied "wlan_loader" and "wlan_cu" from Eclair to Froyo based ROM, but I am not sure if it has any impact.

On the Eclair:
"adb pull /system/bin/wpa_supplicant C:\" to get the file.

On the Froyo based ROM with wireless disbled:
"
adb remount
adb push C:\wpa_supplicant /system/bin/
adb shell chmod +x /system/bin/wpa_supplicant"

check the version of wpa_supplicant:

" adb shell /system/bin/wpa_supplicant -v
wpa_supplicant v0.5.11
Copyright (c) 2003-2008, Jouni Malinen and contributors "

next I edited the wpa_supplicant.conf file to contain this:

"
network={
ssid="Wireless SSID"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="RADIUS username (in my case AD username)"
password="username password"
phase2="auth=MSCHAPV2"
priority=1
}
"

nex push this file to the phone:

" adb push C:\wpa_supplicant.conf /data/misc/wifi/ "

Next turn on your wireless and should get connected to the WPA Enterprise wireless.

I have attached the Eclair files to this post.

regards.
Attached Files
File Type: zip wpa.zip - [Click for QR Code] (183.8 KB, 88 views)
 
yoz1027
Old
#2  
Junior Member - OP
Thanks Meter 1
Posts: 9
Join Date: Aug 2010
Owner and group for file /data/misc/wifi/wpa_supplicant.conf must be wifi user/group.
Otherwise wlan wil stop working after first reboot.