[android-developers] Re: Android VPN L2TP
Hi ( still cannot know your name :) ) , Ok, a good point for being able to connect already. By "File not found exception", can you give some more details? Like a few piece of code where you configure and how you setup the key and all? Nicolas. On Wednesday, June 13, 2012 11:57:14 AM UTC+7, Евгений Корнейчук wrote: > > Hi Nicolas, thx for reply. Yes, I can connect to my VPN server from PC, I > use pre-shared key, login, password. And yes I tried to use same vpn > connection/authentication logic as Android 2*, but it not help, file not > found exception, I think it try to get network config file. Any other > suggestion? =) -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android VPN L2TP
Hi Nicolas, thx for reply. Yes, I can connect to my VPN server from PC, I use pre-shared key, login, password. And yes I tried to use same vpn connection/authentication logic as Android 2*, but it not help, file not found exception, I think it try to get network config file. Any other suggestion? =) -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android VPN L2TP
Hi ( sorry I cannot read your name... ), If I understand well, you have your VPN server ( that you own? You set it up? ) and you want to allow your app to connect to that VPN. Right? 1st. Did you validate that your VPN server was working? Did you actually connect successfully from any computer? 2nd. You want to authenticate on your VPN. What is the authentication that you enabled on your VPN? Typically it is a shared secret and a user/password ( depends though ). Usually you need to create an authentication object and pass your parameters Some resources that might be interesting to look at: - http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/2.3.7_r1/com/android/settings/vpn/AuthenticationActor.java#AuthenticationActor - http://stackoverflow.com/questions/9690666/android-vpn-authentication-and-encryption Regards, Nicolas. On Wednesday, June 6, 2012 2:14:55 AM UTC+7, Евгений Корнейчук wrote: > > This is my letter of hope. I'm using android 4.* to create a l2tp > connection to the server. The problem is in authorization. I have a server > key , user login and password. I search any solution along the internet, > not for android only but for java at all, and didnt find any code sample > for start. I have no idea how I can authorize on server. ToyVpn in android > samples didnt help, its just sample of regular connection(without any > authorization). Please, somebody, help! I'll be grateful for for any useful > information in this question. > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en