Oh, forgot to mention. My test setup was DD-WRT on a Linksys 54GL, with freeradius2 on Linux serving as the authentication server.
I suppose that's as far from Active Directory as you can get :) -- K 10 апреля 2012 г. 0:37 пользователь Kostya Vasilyev <[email protected]>написал: > Whether or not you need a certficate depends on the particular 802.11x > scheme actually in use. > > In my tests, I haven't had any trouble connecting to a 802.1x TLS secured > network with a self-signed certificate, but that's a different scheme than > you're using. > > There was no need for any extra steps - once the network's properties were > set up on the Android side and the certificate storage unlocked, the device > connected and was able to get on the Internet. > > Not sure about the certificate requirements for PEAP, I think it's not > required, but don't take my word for it :) > > So, I would try to check any logs on the router and/or the authentication > server for clues. Searching b.android.com for PEAP may also be useful. > > -- K > > 9 апреля 2012 г. 21:11 пользователь Raj Chinna > <[email protected]>написал: > > Kostya, >> >> Thanks a lot for the quick reply. >> >> I understood that it can't be done without using reflection, but I use >> reflection in my program. >> >> Currently am just trying to define the access point and manually trying >> to connect. Unfortunately now am able to connect to the secured network and >> getting DHCP assigned IP address. But, the problem is that am not able ping >> my org proxy or any other PC. >> >> Do I need to install any specific certificated from my network admin on >> my device to access the network completely. Or do I need to do any >> more authentication after it gets connected to the network???? >> >> Regards, >> Rajendra >> >> >> On Monday, April 9, 2012 7:06:05 PM UTC+5:30, Kostya Vasilyev wrote: >> >>> 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 написал: >>> >>> Hi, >>>> >>>> I am programmatically 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 <[email protected]> >>>> To unsubscribe from this group, send email to >>>> android-developers+**[email protected]<android-developers%[email protected]> >>>> For more options, visit this group at >>>> http://groups.google.com/**group/android-developers?hl=en<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 [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

