[Q] PPTP VPN in CM9? - Epic 4G Q&A, Help & Troubleshooting

I'm having a rough time getting my CM9 Epic to connect to my home vpn. Using Windows 7 x64, I've verified that the inbound connection works with other users on other builds of android including a HP touchpad on CM9 so I don't think it's a CM9 issue. Has anybody been able to get this working? I would hate to leave ICS for one silly issue
Update: Seems to be a known issue
http://code.google.com/p/epiccm/issues/detail?id=269

Did you ever get this working? Does anyone have any input on this? I am also trying to set up VPN, and am running AOKP Milestone-6, and cannot get VPN to work. Unlike kitsunpaws though, I cannot get ANYthing to connect. could quite possibly be a bad setup on my router, but I want to find out if I have any chance of this working even if I do get the router correct.

Not PTPP but I use OpenVPN with CM9. It was supported out of the box, no additional kernel modules required. Just installed OpenVPN settings and loaded my configuration files. Works great with a dd-wrt router.
Sent from my SPH-D700 using xda app-developers app

I used openvpn and pptp in cm7/miui. also in the early cm10 builds, haven't checked recently. who's your vpn provider have you tried to contact them about the issue? I needed a set of special directions from mine before the pptp worked for me.

Related

Cisco VPN for EVO

Can someone tell me if they have had any success using VPNC or OPENVPN (or anything else) successfully to connect to a pure ipsec Cisco VPN with group authentication?
Also, could someone include a successful implementation in one of those amazing TIME our Devs have created?
Sent from my PC36100 using XDA App
Evo with Fresh
awwbaw3 said:
Can someone tell me if they have had any success using VPNC or OPENVPN (or anything else) successfully to connect to a pure ipsec Cisco VPN with group authentication?
Also, could someone include a successful implementation in one of those amazing TIME our Devs have created?
Sent from my PC36100 using XDA App
Evo with Fresh
Click to expand...
Click to collapse
I have not been successful but I think I am doing something wrong but here is the article
http://forum.xda-developers.com/showthread.php?t=698099
This one is on the Moment but the instructions may be similiar
http://forum.sdx-developers.com/android-2-1-development/(how-to)-run-a-cisco-vpn-client-(vpnc)-on-moment-2-1-(very-hacked-and-beta)/
Question...
this might seem dumb but I am concerning this...
I connect from remote to my company through Cisco VPN. There is a client on my notebook and I use secure ID.
Can VPN on the EVO allow me to connect with the evo and use it solely to access my company's intranet....or does this just allow vpn connection through tethering though my notebook/evo combo???? or both?
My interest is to use the evo by itself to occasionally log in and complete tasks.
vpnc works for me connecting to vpn 3015 and asa 5510 using ipsec with group authentication. I have heard if you tether while connected to vpn then your laptop will also be in the tunnel but I haven't tried that yet - I have used it for remote desktop directly from the phone.
here is what you need:
1) full root
2) busybox installed with symlinks
3) kernel version 2.6.29-a2443432
4) tun.ko from thread 698099
mostly I used the instructions from hxxp://code.google.com/p/get-a-robot-vpnc/wiki/Motorola_Droid_Support.
If you don't want to deal with installing busybox, I know for sure the fresh rom has it already setup.
copy tun.ko into /system/lib/modules
run the command insmod /system/lib/modules/tun.ko
I occasionally have issues disconnecting and/or losing connection to the internet after disconnecting - just enable/disable airplane mode has always fixed it.
there is also a log file in /data/data/org.codeandroid.vpnc_frontend/files/vpnc that may help troubleshooting connection issues.
edit: you need a farily new version of vpnc from the google code page - I think the one in the market won't work on evo.

Does anyone have VPN Connection running on 2.2

Title says it all.
All of the 2.2 roms and kernels I have tried will connect to the VPN but must screw up the routes as they shut off my data.
Does anyone have this running?
the only issue i have with "VPN Connections" is that is doesn't pass DNS traffic correctly. hence, i must connect via IP Addy not DNS name. other than that it works fine for me. i'm able to establish a vpn connection then use the WYSE rdc/vnc app to connect to my windows or linux servers ... connnectbot for shell access.
I've also been unable to connect to either a PPTP or IPSec VPN over my 3G connection since upgrading to the official release of 2.2 on my EVO 4G. The connection appears to be established just fine, and the VPN server shows that my VPN client is connected, but I cannot ping to or from the device, nor access any internal resources from it. This is a serious bummer considering that things worked fine under 2.1. Will test over WiFi when I get home. Can't test it at work since we're behind a proxy (which is another gripe I have with Android right now... seriously Google, no proxy configuration options?).
i feel i should clarify the name the application i'm using to establish a vpn tunnel is not the stock android vpn application.
it is called "VPN Connection" http://www.appbrain.com/app/org.codeandroid.vpnc_frontend
amw2320 said:
Title says it all.
All of the 2.2 roms and kernels I have tried will connect to the VPN but must screw up the routes as they shut off my data.
Does anyone have this running?
Click to expand...
Click to collapse
I have some interesting info regarding VPN behavior. With 2.1, of course, it did not work. Here's what I experienced: I rooted my 2.1 with Unrevoked (not a full root) and then I installed OMJ's (8/6?) Froyo and lo and behold, my encrypted PPTP VPN to a MS 2003 server was working perfectly. I assumed that 2.2 resolved the vpn issues. Since I thought 2.2 was a fix, I didn't hesitate to install another ROM. This time, though, I also did a NAND root and installed another 2.2 rom; whose, I don't remember. My VPN was gone. What I discovered was that I COULD connect to an unencrypted MS PPTP server, but still not my encrypted VPN server at work. So, here we are today. I'm running Vael-Pak non-sense rom and after I loaded it I had no vpn, but here's the thing...a couple of days ago I was poking around inside some of the Evo's networking files, I didn't change anything, I just opened them and looked at them with Text Editor, and since then my encrypted PPTP VPN has been working great. I'm very hesitant to reboot my phone because I fear that it won't work anymore. Right now I'm happy.
I'm trying in vain to get VPN connections working too. The only ROM that I had it working with no problems was Cyanogenmod's. All the others don't seem to have it supported in the kernel. Now I'm running a ROM based on the stock 2.2 but haven't found a fix yet.
I'm in the same boat - my pptp vpn worked fine in stock 2.1, but not in stock 2.2...
Sent from my PC36100 using Tapatalk
I can't get a pptp (haven't tried l2tp) to connect from my unrooted 2.2 evo with encryption enabled. I'm trying to connect to my server at home running winxp pro with the default winxp vpn server setup.
Works fine if you disable encryption. But what's the point if it's not encrypted, right? It works fine with encryption using a laptop or my old iphone3G. Seems to be a bug with android.
I'd like to know if someone finds a workaround.
This worked in 2.1 - froyo broke it
liamaa said:
I can't get a pptp (haven't tried l2tp) to connect from my unrooted 2.2 evo with encryption enabled. I'm trying to connect to my server at home running winxp pro with the default winxp vpn server setup.
Works fine if you disable encryption. But what's the point if it's not encrypted, right? It works fine with encryption using a laptop or my old iphone3G. Seems to be a bug with android.
I'd like to know if someone finds a workaround.
Click to expand...
Click to collapse
-mark
I am in the same boat. On CM6 VPN works flawlessly, but it is missing a lot, and kept crashing on me.
On every other ROM and kernel with tun.ko, it says it is connected but no connectivity.
AVA V6 is fast, good battery life, everything works (including hulu, and blockbuster) and very stable, but the only single thing I can't get working is Cisco VPN!!
-David
I am curious, does anyone have VPN working on any Froyo ROM besides Cyanogen?
If so what Rom/kernel are you using?
Interesting observation last night - 4g was temporarily working in sf, and my pptp vpn worked over it. I turned off 4g and retested, pptp vpn didn't work over 3g...
-mark

VPN Connection

Anybody get the VPN connection working on the rooted 2.2 yet? I am trying to get it working for cisco vpn at work.
i'm using this to connect to our ASA.
http://www.appbrain.com/app/org.codeandroid.vpnc_frontend
Thats what I have installed but it crashs as soon as I click connect. I am using the new 2.2 root method
what ROM are you using?
any other apps crash or act odd on you?
any other weirdness?
i've never had the vpn app FC on me. i just tested it again with the WYSE RDC app. the only issue i have is that it doesn't play nicely with DNS, thus i have to connect to everything via IP.

[Q] What VPN solution is best/guaranteed to work

I have 2 old PIX firewalls I can use, or I could could use OpenVPN inside WRT, or anything. I have nothing setup yet.
What's the easiest VPN for the EVO to hook to?
I'm running unrooted 2.2.
There is no PIX or OpenVPN support in Android. If you root and download "VPN Connections" you can connect to a PIX or OpenVPN server. I have connected to each. Make sure to read through the bug reports. The version I was using had a routing problem that had to be corrected in vpnc-script.
I've managed to get my evo to connect a winxp pro box set up as a pptp vpn server. but only if I disable encryption on the evo. which kind of defeats the purpose.
Basically, android VPN support is spotty at best. There is an epically long google code thread on the subject.
For the time being setting up an ssh server and using connectbot seems to the best way to securely access remote networks. It's far from perfect but it's the best solution I've seen.
Some people have reported vpn success using custom roms. But they are the exception. And setting up an ssh server is probably easier than tweaking a custom rom, IMHO.
This conversation is over my head, but Logmein Ignition owns my soul.
Thanks everyone.
I might have to root my EVO again(last one was rooted, but had to get a new EVO through warantee)

[Q] KF can't connect to my phone's Wifi Hotspot?

I have an old Windows Mobile 6.5 phone (Touch Pro 2). I have an app that allows it to run as a wifi hotspot (install file is called mobilewifirouter.cab).
Other devices connect to the hotspot fine, but the kindle just doesn't see it... even when they're right next to each other. Otherwise the kindle wifi works ok.
Is there any way I can get this going? It's tedious having to constantly consider wifi availability when I'm travelling with it. Maybe the KF doesn't see anything using a very old 802.11 standard?
ad-hoc vs infrastructure
I think the issue is the phone itself. Or rather, the chip/radio only being able to broadcast on ad-hoc which the KF (and other new 'droid devices) doesn't support. I used the same wifi manager you did, same results...
I have a ATT Tilt 2, btw
I guess I have the same problem:
I'm trying to have my lg p500 (android 2.2.1) working as a wifi hotspot and access it from my galaxy tab (3.2) but I can't never "see" my network from it.
Other devices (laptop, nokia E71) can connect, but not the galaxy tab.
Galaxy tab can connect to other wifi networks, but not the one I create in my phone with "Wifi Thether" app.
Any workaround to fix this?
Thanks,
João
I think WM6.5 wifi router software uses Adhoc mode for wifi rather than infrastructure mode. Android cannot connect to adhoc wifi network unless you have a modified WPA supplicant file (which can make your android device unstable).
Kindle Fire and many smartphones/tables cannot connect to the internet via ad-hoc.
Use Connectify software to create a access point from your laptop.
It's a problem that is corrected easily, all you need is ZT-180 Adhoc Switcher. It works, VERY well.
king_xerxes said:
It's a problem that is corrected easily, all you need is ZT-180 Adhoc Switcher. It works, VERY well.
Click to expand...
Click to collapse
If you are on Stock ROM and rooted, this is perfect
But, if you are on a CM9 ROM(unsure about others), there is no ad-hoc support yet...
Cl8rs said:
If you are on Stock ROM and rooted, this is perfect
But, if you are on a CM9 ROM(unsure about others), there is no ad-hoc support yet...
Click to expand...
Click to collapse
He didn't really say if he was using stock or not. I just posted what I know works. If it is wrong for him/her, then I am wrong!
I tried the app on CM9 ROM's, it doesn't play friendly...
For anyone else who searched this thread and they're trying to connect to an android phone... just wanted to recommend FoxFi. I tried several other apps and they all failed (probably due to some quirk of the Kindle Fire's, everyone's recommending these apps). But FoxFi got the job done. But only if you run it without a password. If you're fed up trying to make the kindle connect to your phone, try it.
CreeDo said:
For anyone else who searched this thread and they're trying to connect to an android phone... just wanted to recommend FoxFi. I tried several other apps and they all failed (probably due to some quirk of the Kindle Fire's, everyone's recommending these apps). But FoxFi got the job done. But only if you run it without a password. If you're fed up trying to make the kindle connect to your phone, try it.
Click to expand...
Click to collapse
the problem here is that KF running CM9 or CM10 cant connect to an adhoc wifi yet, not the problem of the phone.

Categories

Resources