I have tried ClassicNerd, CherryKang, and CM9 0.6. In all of them I cannot connect to my VPN. Neither L2TP PSK nor PPTP works. Tries to connect but then displays "unsuccessful" almost immediately.
Any ideas?
Me too!
Any solution?
A helpful user on Rootzwiki posted this usefull information:
"Unfortunately, you are correct that neither PPTP or L2TP work (yet)... It's documented here: http://code.google.c...&sort=milestone you can however use DroidVPN (http://droidvpn.com/) or OpenVPN with another service provider (ie: http://www.strongvpn...roid_open.shtml)"
So it seems OpenVPN does still work. I didn't try it yet, because it is much more of a hassle than the other 2 options.
Oops, silly me. Do these builds include TUN.KO files? Haven't set up OpenVPN in a while, so I forgot about this issue.
Resolved this issue using OpenVPN. Fortunately the Tun.Ko file is included. Followed instructions on this page:
http://rootzwiki.com/topic/7441-openvpn/page__st__10
The only thing that user doesn't mention is the /keys directory. I am using HMA instead of StrongVPN.
So i am running Nexus S CM9 4.0.4 Crespo Nightly and VPN works.
I tried the same setup on HP TP CM9 4.0.4 Tenderloin Nightly and it says unsuccessful, am I "doing it wrong" or it is implemented in some CM9 code and not on the TP?
What setup are you using, exactly? OpenVPN? PPTP? PPTP still doesn't work for me and I am having some throughput problems with OpenVPN. It connects fine but the throughput drops off very quickly. That may, however, be a server side problem. Still looking in to it.
On my nexus S (using the latest nightly CM9 Crespo Nightly) L2TP/IPsec works.
On my Touchpad (using the latest CM9 Tenderloin nightly) it does not work.
My VPN is provided through StrongVPN.
I do NOT have OpenVPN service
OpenVPN is a protocol (just like L2TP/IPSEC and PPTP), not a service. And yes, using L2TP and PPTP both don't work for these ROMs. I also wish some of the powers that be would address this. I am still hoping that they take pitty on us sooner or later.
You can also connect to StrongVPN using OpenVPN protocol. It is just a little more work the first time you install it. Ask StrongVPN for the keys and server lists (there is a direct link for StrongVPN in post 3) and then set up using OpenVPN protocol according to the guide I linked to in the the first post.
I think we are misunderstanding.
I pay StrongVPN for PPTP and L2TP Services. It works on CM9 on my NexusS.
(I don't quite understand why it doesn't work on the TP, unless there is a fork before fixing the VPN protocols, which doesn't make much sense why it wouldn't be the same across the ROMs)
StrongVPN charges more for their OpenVPN service. I don't get that service under my current account.
Ah, now I understand why you don't want to use OpenVPN. HideMyAss charges me the same for all versions. But apparently, on the TouchPad using ICS, you can ONLY use OpenVPN. Unless someone fixes it. This problem has been known for months, the only thing you can do (except wait) is try all the different ROMs to see if any of them work.
I can't remember how,but i make my incredible S successfully connect to a vpn, just for one day...!six days after adding it!
Related
I have a PPTP account with HideIPVPN which works perfectly on my iPod Touch and on my XP computers. It does not work on my Motorola Milestone - the connection is "successful" but no data gets through. At some point on some build of Froyo (I can't remember which), I was quite successfully able to use this VPN on my Nexus One for long extended periods to listen to Pandora Radio.
Recently I tried CyanogenMod 6 RC3, and to my disappointment, I could connect to the VPN but not get any data to go through. So I restored to my nandroid backup on FRF91 (which I'd originally applied via the pre-rooted update.zip). I retried the VPN and it works but after 30-90 seconds the data cuts out and won't work anymore.
Has anyone here had consistent success with a PPTP VPN on FRF91 or CM6 RC3? If so, did you have to do anything special to make it work?
Thanks
Charles
The "cut out" might be related to WiFi keepalive bug. Keep the phone awake and see if the connection still cuts out.
Jack_R1 said:
The "cut out" might be related to WiFi keepalive bug. Keep the phone awake and see if the connection still cuts out.
Click to expand...
Click to collapse
The phone remains awake the whole time. I connect to the VPN and then immediately jump to browser. I load one page and it pulls down successfully. Then I keep clicking links; after the second or third one nothing works anymore, and no apps are able to see data until I disconnect the VPN. This is reproducible.
On my iPod Touch, the same procedure does not have any trouble - I can connect to the VPN and browse for hours.
I located the post on HowardForums where I reported my success with VPN + Pandora on Froyo. It was June 6th, and at that time the latest Froyo build was FRF50.
So I've taken a nandroid backup and I'm going to try a little experiment... roll back to FRF50 via pre-rooted update.zip and see if PPTP works on that build. Don't know if my phone will have a problem with rolling backwards but worst case I can just restore.
Rollback test #1: Didn't clear data/cache first time round. Same results as before, ability to browse cuts out within about 30 seconds of the VPN connection.
Test #2: Wiped cache/data to get a blank (but still rooted) FRF50. Same results again... first page or two I browse to will load but then nothing else will.
Could rooting the phone somehow have destroyed the ability to use a PPTP VPN? So strange, I just can't figure out why it worked in June and not anymore today.
Ah well, since I can't get it working on *any* build right now, might as well go back to CM6 and try out the new stable mod. And I'll keep hoping/wishing/etc for a solution to this problem. Any ideas are welcome.
Well this is interesting. I can't get the VPN to work from my home or office wifi (and it works on both with iPod Touch) - but - when I brought my N1 into a WIND Mobile store and tried their test SIM, I was able to connect to the VPN over 3G just perfectly. The connection didn't stall out and I was able to listen to Pandora through the tunnel. This was using CyanogenMod 6.
I wonder why it's not working on wifi?
Am I the only one who cares about this, or is nobody else experiencing the same bug?
Same problem on the Galaxy S. I think its an Android issue, rather than phone. I understand, though never tested, that it works when doing VPN to a linux box, but never to windows or something like a cisco appliance.
OpenVPN works, but takes a fair amount of messing about to get it working.
On CyanogenMod 6.1 / 6.1.1, I can sometimes stay connected now to a PPTP VPN for 5-15 minutes at a time over Wifi. Not sure when it changed.
Brand, spanking new NC, came with updated software version already installed. Freshly rooted. Won't recognize ad hoc networks, of course :-(
Already tried the most up to date wpa_supplicant file fix, to absolutely no avail. Using rooted droid 1, with well-functioning wireless tether. Barnacle also a no go.
Any suggestions would very appreciated. Pulling my hair out, one by one, getting balder...balder.......
mjf0000000 said:
Already tried the most up to date wpa_supplicant file fix, to absolutely no avail.
Click to expand...
Click to collapse
What does this mean?
Thanks for your help. What I mean is that the wpa supplicant fix (as described in previous threads - I'm using the Droid 1 browser or I would link back to that xda thread - sorry!) produces no effect. When the NC scans for wireless sources it recognizes many hotspots. Including my home wifi router. It simply will not list the phone's ad hoc signal (called either android tether or barnacle, depending which turned on.) The winbox connects just fine, so I don't think it's the phone's signal.
Others have used the wpa supplicant fix and their NC has worked well, but from what I can tell, they have NC's that were not upgraded to latest version, or had upgraded themselves. I wonder if brand new NC with the upgrade installed, needs a different fix. Not to be paranoid, but the wireless tethering apps have fallen out of favor with the powers that be. Maybe there is more disabling going on --- or I could just be doing something wrong. (Would not be a surprise)
Has anyone with a NC that came with the update pre-installed been able to get wifi tether? Using a phone with the paid wifi hotspot function will work with the NC. However, the droid 1 does not have a paid wireless hotspot option (it's too ancient, apparently). I had to sideload the wireless app to my phone, as it's not available on the market anymore, andit works well - just not with NC, even with the standard wpa supplicant fix.
Would upgrading the NC to CM7 take care of this issue? I'm a children's doc with skimpy hacking skills, & am a little afraid to try the procedure. Like doing an appendectomy with without knowing human anatomy
mjf0000000 said:
Has anyone with a NC that came with the update pre-installed been able to get wifi tether? Using a phone with the paid wifi hotspot function will work with the NC. However, the droid 1 does not have a paid wireless hotspot option (it's too ancient, apparently). I had to sideload the wireless app to my phone, as it's not available on the market anymore, andit works well - just not with NC, even with the standard wpa supplicant fix.
Would upgrading the NC to CM7 take care of this issue? I'm a children's doc with skimpy hacking skills, & am a little afraid to try the procedure. Like doing an appendectomy with without knowing human anatomy
Click to expand...
Click to collapse
Wireless tether is working perfectly for me with CM7 right from the get-go, however....It does not work with Honeycomb at the moment (and I have not done the supplicant fix yet).
Thanks, hockeyfamily. I should probably go ahead and do the CM7 ROM.
update
Still have rooted v 1.2, not yet CM7. What finally worked for enabling ad hoc wifi, was deleting everything i had done previously, redoing it over again, & using Barnacle. The Wireless Tether app just giving a message to the effect that it was 'connected, but no internet.'
I updated to 1.2, rooted with an early version of MN, have an Eclair phone running Barnacle and this http://forum.xda-developers.com/showthread.php?t=872521 works great for me.
I'm running Hash's ICS on my D3, and can't seem to do anything with any VPN connections. On MavROM 3.5, I was able to make un-encrypted PPTP connections, because for some reason, MPPE support is missing in the Kernel. I know what an absolute pain in the neck getting a PPTP server up and working on Linux can be, so I can't imagine what a pain getting it running on Android is like.
Has anyone been able to make any kind of VPN connection on their D3 with a CM9 based ROM? I have yet to hit my logs, and start capturing packets, but before I did, I wanted to see if its even possible, since having a locked bootloader makes things a little tougher..
Anyone have anything for this? 3rd party options? This is one area where the iPhone just works, and I have had a hell of a time getting various Android flavors connected to our VPN. Either PPTP or L2TP. It's just not as easy as an iPhone or iPad.
This is certainly been a decision factor for Tablet provisioning for our sales guys. One guy did buy his own Android tablet, and just can't get the VPN working, where all of our iPad's work without modification.
I hear crickets chirping...
I've been searching for months.. I have found no viable fix for VPN on either CM7 or CM9, and from what I've found it's an upstream issue in Android itself. Only solutions I've found connect to other service providers to provide anonymity. i have not tried paid solutions.
Not sure if this is an option, but OpenVPN works flawlessly. Unless you strictly require a PPTP/L2TP solution, try it out. I've got an OpenVPN server running on my router at home so I can connect from my phone at any time and have quasi-LAN access to my home network, comes in really handy. Not to mention it's a billion times more configurable than either of the built-in (and outdated) VPN types.
Android has never been known for its VPN compatibility, surprisingly enough. You'd think it would be a major focal point in terms of customer requirements, but I guess it's sort of slipped through the cracks.
Nevertheless, try searching the Market (or Play, whatever they've called it now) for OpenVPN Installer and OpenVPN Settings, the first app does what you'd think and the second is where you initialize and configure your connections.
Hi everybody.
I would like to know if someone is working on a hack for our NOOKs tablet to access ad-hoc networks. I saw there is some movement on other devices, as android, at least the latest version, does not include support to ad-hoc network. The reasons are obvious, Google team will not implement this in the next version as they are going further to offer mobile services an they would you require that you purchase a new data plan.
So, it is time to have a hack for our android(ed) NOOK devices in order to access ad-hoc networks from our mobile phones.
Does anyone know about a similar movement on NOOK community ?
Regards.
Angelo
I'm not sure what you are trying to accomplish here based on your statement. Ad-hoc networks only allow two individual computers to connect without one being configured as an access point, sort of like bluetooth in terms of functionality. The reason it is unavailable is probably more to do with security as it is a dangerous connection to use or enable. If you are talking about tethering to for instance your phone, that works fine, use it all the time. This doesn't require ad hoc, only a tethering app (e.g. pdanet) or it is built in for many phones.
If you have an old Nokia device, I've noticed that when they tether via JoikuSpot, they create ad-hoc networks. If this is the reason you want ad-hoc networks enabled (to tether), I guess this is a valid reason. To pair two devices together, that may become troublesome (I doubt it'll be working any time soon).
Tethering via ad-hoc is perfectly fine, I'll take a quick look at it for the Nook HD+, and I'll reply back with what I find; hopefully a solution. I'll try and take a look some time this Wednesday or weekend.
I've not fully tested it, but doesn't Cyanogenmod enable ad-hoc networks by default? So, I guess you could go down that route (of course, I do accept that CM10 isn't for everyone).
P.S. If I do, or anyone else enables ad-hoc networks on the Stock ROM, you'll need to be rooted, and with CWM (since you'll need to apply a .zip) to hopefully enable ad-hoc networks.
All the best.
HiddenG said:
If you have an old Nokia device, I've noticed that when they tether via c, they create ad-hoc networks. If this is the reason you want ad-hoc networks enabled (to tether), I guess this is a valid reason. To pair two devices together, that may become troublesome (I doubt it'll be working any time soon).
Tethering via ad-hoc is perfectly fine, I'll take a quick look at it for the Nook HD+, and I'll reply back with what I find; hopefully a solution. I'll try and take a look some time this Wednesday or weekend.
I've not fully tested it, but doesn't Cyanogenmod enable ad-hoc networks by default? So, I guess you could go down that route (of course, I do accept that CM10 isn't for everyone).
P.S. If I do, or anyone else enables ad-hoc networks on the Stock ROM, you'll need to be rooted, and with CWM (since you'll need to apply a .zip) to hopefully enable ad-hoc networks.
All the best.
Click to expand...
Click to collapse
Yes, you are 100% correct. I do have a Nokia and Joikuspot.
The other problem is that I am a complete newbie to android, cyanogenmod etc.
I have rooted my Nook HD, but I dont know if it is using cyanogenmod. I just purchased a microSD card that rooted and installed gapps..
Thank you for your help....
Rooting stock does not add CyanogenMod. You must install that separately by installing it to a bootable SD.
Sent from my Nook HD+ running CM10 on Hybrid SD
I looked around and didn't see ad hoc in my CM10, and there's this: http://forum.cyanogenmod.org/topic/62183-ad-hoc-was-disabled-in-cyanogenmod-10/ Apparently CM has followed google here.
Maybe this can help:
http://forum.xda-developers.com/showthread.php?t=872521
It seems that for NooK Color, this is already done.
AngeloGomes said:
Maybe this can help:
http://forum.xda-developers.com/showthread.php?t=872521
It seems that for NooK Color, this is already done.
Click to expand...
Click to collapse
It does not help on HD+ (included wpa_supplicant binary complains in logs that it does not support wi-fi n spec).So wi-fi does not work at all on Nook HD+ with this hack.
We need a newer patched wpa_supplicant (that supports ad hoc and wifi mode n). Hacked version for any recent android device should go. I'm going to try that http://androidtablethacks.com/android-tablet-hacks/how-to-enable-adhoc-wifi-on-android-tablets/ once have a spare time.
I was talking about the idea of that topic.
But I think you got it.
About to have support to wifi n: I suppose that wifi g support is enough, right ?
AngeloGomes said:
I was talking about the idea of that topic.
But I think you got it.
About to have support to wifi n: I suppose that wifi g support is enough, right ?
Click to expand...
Click to collapse
It would be enough, but supplicant fails to start
I've dedicated some time to study this problem. Here is the result:
Dmitriusan said:
Is there any chance the rom will include the ad-hoc patch? Or maybe there is anybody with configured build environment who can recompile wpa_supplicant binary?
The most recent patch version I've found is http://www.verydemo.com/demo_c131_i18097.html
Old patch discussion http://forum.xda-developers.com/showthread.php?t=754961 and the old patch itself http://szym.net/android/wpa_supplicant-ibss.patch
I've tried downloading few patched wpa_supplicant binaries for another devices, but they all use another wi-fi drivers. Nook HD+ has wl1271l chip and uses wl12xx driver.
Many people seem to use Joikuspot to share GPRS/EDGE/3G to another devices via wifi (mobile ad-hoc spot), but Android does not see any adhoc network and it's really annoying...
EDIT:
Or at least maybe anybody has compiled tun.ko module for the latest kernel? I'm trying to get BlueVPN working (to connect my N78 phone as Dial-up Networking device via bluetooth)
UPD
Finally got Internet tethering working with N78. The tun module is present, but for some reason not autoloaded at startup. So, I performed
$ su
# modprobe tun
and managed to connect via BlueVPN to N78 (EDGE). The name of program is a bit misleading, it just connects to phone with BlueDUN installed or to any (?) cell phone that can work as bluetooth modem. I'm using the second option.
Click to expand...
Click to collapse
Joikuspot is told to discharge Nokia device in ~40 minutes of active usage. So tethering over bluetooth seems to me not only the only available, but also the prefered solution. Almost any phone with bluetooth should feet this purpose.
So, here is the final procedure:
- You need the rooted firmware with any terminal emulator (I use CM10 and build-in Terminal Emulator)
- Install BlueVPN
- pair your devices over bluetooth (may need to repeat pairing from scratch after installing BlueVPN)
- Start terminal emulator and type
su
- type
modprobe tun
- no output is okey. If you get the module not found error, I have bad news to you You need the tun.ko kernel module built exactly for your ROM. But at verygreen CM10 firmware tun.ko is present.
- disable wifi
- Start BlueVPN. Go to the settings and configure you connection options (I've enabled auto-resume and lcp compatibility, yo may need to play with another options to may things work) and GPRS settings (may be found at mobile provider web-site. At least Phone number, Access point need to be configured, in my case I've also set an Authentification to none)
- press back. On your screen you should see the paired device name. Click on it (probably at the button on the right)
- If confirmation appears, say "trust"
- If the text "BluVPN is connected with ..." is displayed on the bottom of your screen, congratulations: you are connected. Otherwise wait for some time and try selecting your device in a list again. Maybe you will have to play with settings / reboot and repeat the whole procedure/reboot your cell phone.
In my case, it takes 1-2 tries to connect, but connection seems to be stable. Don't forget that bluetooth distance is limited
Few notes: you have to run commands su/modprobe tun after every reboot.
Has anyone had any success using OpenVPN (or even the built in VPN function) with their HTC One? I've tried a couple different providers through both methods, and though I can successfully connect to the VPN, I can't receive data.
I currently have ViperROM\Bulletproof Kernel, so my next step is to flash to stock and see if I still have problems...but before I do that I was hoping to find someone confirm they've successfully used a VPN with their HTC One.
Thanks!
evancg said:
Has anyone had any success using OpenVPN (or even the built in VPN function) with their HTC One? I've tried a couple different providers through both methods, and though I can successfully connect to the VPN, I can't receive data.
I currently have ViperROM\Bulletproof Kernel, so my next step is to flash to stock and see if I still have problems...but before I do that I was hoping to find someone confirm they've successfully used a VPN with their HTC One.
Thanks!
Click to expand...
Click to collapse
Mines working perfectly
Sent from my HTCONE using xda premium
luigi311 said:
Mines working perfectly
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
That's interesting...someone in another thread said theirs wouldn't work at all either. I'm getting my OTG cable so I can backup my phone today and wipe it and try from a fresh stock flash to see if that solves my problem.
Did anybody find a solution I am still having problems. I can establish a VPN connection with the vpn of our university it even tells me that packages are beeing sent and received. BUT once i am connected the internet stops working after a 30-60 seconds. I tried even 3rd party apps like vpn root I can't get it to work.
My build is Trickdroid 11.0 with elementalX Kernel 5.2 allthough I tried also installing 4.22 and 4.1 so the issue appears to be somewhere else. The connection is a pptp with encryption enabled. Pretty old fashion but this shouldn't be the problem, right?
DeProf said:
Did anybody find a solution I am still having problems. I can establish a VPN connection with the vpn of our university it even tells me that packages are beeing sent and received. BUT once i am connected the internet stops working after a 30-60 seconds. I tried even 3rd party apps like vpn root I can't get it to work.
My build is Trickdroid 11.0 with elementalX Kernel 5.2 allthough I tried also installing 4.22 and 4.1 so the issue appears to be somewhere else. The connection is a pptp with encryption enabled. Pretty old fashion but this shouldn't be the problem, right?
Click to expand...
Click to collapse
I'm not sure about setting it up manually but I use the VPN app and it seems to be working for me. I'm on beanstock. The Columbus one is from the vpn I'm currently in new mexico.
Sent from my One using xda premium