Monday, April 9, 2012

Re: [android-developers] How to Configure WPA2 Enterprise in Wifi

For debugging, you might want to set up a test network with freeradius, and watch the logs.

Also, configuring and connecting to 802.1x secured networks, is, AFAIK, not something third party applications have access to.

There are undocumented functions, somewhat varying with platform versions, but they are 1) undocumented 2) inaccessible without reflection.

Besides configuring the WiFi side of things, you also need to make sure the device's certificate store is unlocked before you try to connect (at least prior to Android 4.0).

In short, if you really really really needed this, it could be implemented but there are limitations and the result would be somewhat fragile.

-- K
 
9 апреля 2012 г. 16:43 пользователь Raj Chinna <rajendran.bits@gmail.com> написал:
Hi,

I aprogrammatically trying to configure our organization WiFi access point which requires the following settings, 

Sec.Type  : WPA2-Enterprise 
Enc.Type  : AES
Net.Auth.Method : PEAP

Also it requires the org Active Directory user name and password for authentication. 

In iPhone I could easily able to configure this with the WPA2-Enterprise security type with AD user name and password. 

But, in Android I could configured the same access point with the following details. 

Security : 802.1x EAP.
EAP Method : PEAP
Phase 2 authentication : None.
CA Certificate : Unspecified.
user certificate : Unspecified.
Identity : ad user name.
password : ad password.

Once I configure the about network it authenticates and connects to the network with valid ip. 

But, the trouble comes here, even after connecting to the network am not able to browse anything also not even able to ping laptops which all are connected in the same WiFi network.

Any pointers or suggestions needed.

Regards,
Rajendra

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment