so when I had KK installed on my phone I used openvpn settings app (it's actually the only vpn that made modern combat 5 work without a connection error) now after I have Lollipop I installed openvpn settings and installed busbox and openvpn binary but it won't connect when I selet a configuration it just says starting and then goes back to select to turn on openvpn tunnel
help please
Related
Has anyone figured out how to get OpenVPN working on a Motorola Milestone?
I tried to using the OpenVPN Installer and OpenVPN Settings apps from the Android Market but was not able to get it working.
Made some progress but still not working...
I've managed to install the OpenVPN binary to /system/bin.
Got a Motorola Milestone Tun.ko driver from, http://code.google.com/p/sbdtools/downloads/list. It's been copied to /system/lib/modules. I've been able to enable it using the insmod command in adb shell. Verified it was running with the lsmod command.
I've moved my openvpn .ovpn config files to my SD, /sdcard/openvpn folder. Started the OpenVPN Settings app, configured the tun and path settings.
Then I started my connection and was able to obtain an IP address.
BUT... still not able to surf to Youtube or other China blocked sites.
The upload & download stats appear to be not moving, even when I try to surf to one of these websites (up: 0.02kBps - down: 0.02 kBps).
Will continue at it for some more, but if anyone is able to help, that would be much appreciated.
dysa said:
I've managed to install the OpenVPN binary to /system/bin.
Got a Motorola Milestone Tun.ko driver from, http://code.google.com/p/sbdtools/downloads/list. It's been copied to /system/lib/modules. I've been able to enable it using the insmod command in adb shell. Verified it was running with the lsmod command.
I've moved my openvpn .ovpn config files to my SD, /sdcard/openvpn folder. Started the OpenVPN Settings app, configured the tun and path settings.
Then I started my connection and was able to obtain an IP address.
BUT... still not able to surf to Youtube or other China blocked sites.
The upload & download stats appear to be not moving, even when I try to surf to one of these websites (up: 0.02kBps - down: 0.02 kBps).
Will continue at it for some more, but if anyone is able to help, that would be much appreciated.
Click to expand...
Click to collapse
Hi, same here.. I am based in China and have done the steps you mentioned... I can connect to OpenVPN but there is no traffic.. I subscribe to 12vpn and called the helpdesk, they told me it could be due to DNS poisoning.. but really doubt that.. I got it working like once the first time but never did again...
@ pointdexler & dysa
I've also installed open VPN to system/bin on the droid 2 running 2.2.19. My config and certs have been transfered to /mnt/sdcard/openvpn and I've also setup my config in the open VPN GUI (available on the droid market) to point to this directory for my config.
After launching the app and attempting to connect, I get an error message that the command was not successful (the error is a bit more verbose than that).
I did find another app on Droid market that got me a bit closer to connecting called openVPN settings. The error output on this app is much more verbose and aids troubleshooting better. I was able to workout all of the application problems, but my issue now is with the tun.ko module. It appears that the downloadable modules online are for 2.1 and prior as none seem to work with 2.2. I have the module copied to /system/lib/modules and the app (openvpn settings) has a feature that loads the module (either by modprobe or insmod, you can choose). My problem now is that the tun.ko module seems to be wrong as I keep getting the error "Fatal: cannot allocate tun/tap dev dynamically."
Have either of you come accross this same issue?
Hi, I have running OpenVPN without problems. I use OpenVPN Settings from market, tun.ko on /sdcard and openvpn binary in /system/xbin. Make symlink ln -s /system/xbin /system/xbin/bb. Both files are in this archive http://www.android-hilfe.de/attachm...openvpn-auf-dem-milestone-tun_und_openvpn.zip. Working openvpn.ovpn + CA files in /sdcard/openvpn. In OpenVPN Settings set up Load module using - insmod and Path to module /sdcard/tun.ko. And OpenVPN is working. If not, try run from konsole : insmod /sdcard/tun.ko
Motorola Light 2.1 ROM + JIT
On CyanogenMod 6 for Milestone you need only tun.ko. No openvpn binary, no create symlink. In OpenVPN Settings only set up insmod and path to tun.ko.
(and sorry for my english )
OpenVPN
No worries ZS-Man, your English is much better than some people who are born speaking the language.
I unfortunately already tried loading the kernel module by command line with root (#) access and it gives me this error message:
insmod: init_module '/data/tun2.ko' failed (Exec format error)
I've tried many different versions of the tun.ko file available online. None seem to work with 2.2.20 OS (2.6.32 kernel)
Android version (2.1 or 2.2) is not important, only tun.ko must be compiled from same sources as kernel. You must search module for milestone2, or compile it by yourself from milestone2 kernel sources. Another nice app is Tunneldroid , it has log viewer - good for debugging openvpn connection.
help help help vpn issue
iam from a country that google does not support the market within
i installed the vpn and all works great market apps every thing but 3days later
the market wont open looks like the ip address from us has been blocked(internet sharing device located in us) and i was unable to open market again any way that i can chage the ip or howoften the company changes the ip address (cause its the same every time i connect vpn) or is there a way to use the vpn settings with another server provider than the freeopenvpn.com
where i can download another zip file with configuration to another server
help me please i ll die
Here are the steps I took to make OpenVPN work. You HAVE to be rooted to make this work.
1) I am going to assume you already know how to configure the firewall side and export a legitmate config.
2) I am running TnT 4.2.2 (great ROM IMHO)
http://forum.xda-developers.com/showthread.php?t=842004
3) I had to run Clemsyn's kernel to get the tunnel to nail up. I don't beleive the stock kernel or any of the TnT mods will fix that.
http://forum.xda-developers.com/showthread.php?t=895825
4) Download from market OpenVPN Installer AND OpenVPN Settings.
5) Run OpenVPN Installer first. I selected /system/xbin option on all screens.
6) Make a folder /sdcard/openvpn. Copy your vpnconfigname.ovpn and vpnconfig.p12 files into it.
7) Run OpenVPN Settings. I unselected "Load tun kernel module" option, the "Fix HTC Routes" and (optional) "Show Ads". I did not alter the "TUN module settings in any manner.
No guarantees, but this worked for me without any fiddling.
-D
I'm not being so lucky - I installed Clemsyn's kernel and the same OpenVPN settings / key that I've installed on my Galaxy S so I know they're functional.
It connects and auth's, creates the TUN device, but shows "Connect to (myserver) as" and netcfg always shows:
tun0 DOWN 0.0.0.0 0.0.0.0 0x00001090
It never brings up the tunnel IP on it.
Well I got it working.
I had to install BusyBox from the market - the "FileBox" versions apparently installed in my rom wouldn't do it.
Then I created /system/xbin/bb/route and /system/xbin/bb/ifconfig linked to the /system/xbin/... versions installed by BusyBox.
I even downloaded and installed the statically linked executable from https://github.com/fries/android-external-openvpn/downloads and thought that fixed it, but turned out the MD5 of that and the market one were identical.
*** EDIT ***
Actually the OpenVPN I installed WAS different from the Market and appears to be the actual fix for me. I must have checked the wrong file the first time with md5sum because I double checked the backup I copied to the desktop and it was definitely different.
Does anybody use openvpn with abyss kernel (3.6 in this case)? I have never used openvpn for Android and when I activate it, it gives me the error message below:
"Failed to load tun module. Device node /dev/tun/ or dev/net/tun did not show up."
I have the certs and Conf files in the openvpn folder, busybox installed, and according to the openvpn installer, openvpn is installed. I'm using abyss 3.6.
Can anybody tell me what I'm doing incorrectly or what I have failed to do?
Sent from my GT-N7000 using XDA App
baka2x said:
Does anybody use openvpn with abyss kernel (3.6 in this case)? I have never used openvpn for Android and when I activate it, it gives me the error message below:
"Failed to load tun module. Device node /dev/tun/ or dev/net/tun did not show up."
I have the certs and Conf files in the openvpn folder, busybox installed, and according to the openvpn installer, openvpn is installed. I'm using abyss 3.6.
Can anybody tell me what I'm doing incorrectly or what I have failed to do?
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
faced similar kind of problem when using abyss... restarting the phone helped it somehow and started working again... but my stock rom worked without any problem... download tun.ko app from market and try to install your tun module again... ticking insmod option in advanced settings also might help....
kvsandeepreddy said:
faced similar kind of problem when using abyss... restarting the phone helped it somehow and started working again... but my stock rom worked without any problem... download tun.ko app from market and try to install your tun module again... ticking insmod option in advanced settings also might help....
Click to expand...
Click to collapse
Tried your suggestions, but no luck. :-(
Sent from my GT-N7000 using XDA App
My config for Abyss 3.7
In openVPN Settings -> Advanced:
- 'Load tun kernel' module activated
- 'TUN module settigns' -> 'Load module using' set to insmod
- 'TUN module settigns' -> 'Path to run module' set to /lib/modules/tun.ko
Hope it helps
jolillo said:
My config for Abyss 3.7
In openVPN Settings -> Advanced:
- 'Load tun kernel' module activated
- 'TUN module settigns' -> 'Load module using' set to insmod
- 'TUN module settigns' -> 'Path to run module' set to /lib/modules/tun.ko
Hope it helps
Click to expand...
Click to collapse
Thanks for the ideas. For some strange reason it still won't work. I'm using abyss 3.7 as well and everything is installed and in the proper places.
> I just tried getting openvpn to work on a couple other roms, but same issue. FFFFFFFUUUUUUUUUUUU
Sent from my GT-N7000 using XDA App
old problem, I also tried to fix it but never found a solution. Also would like to have it working.
On older rocketrom versions I was able to connect to my openvpn server (or at least it seemed that way as openvpn showed me as connected and with no errors) but when I tested the connection my IP was still my own and not the one from the vpn server I was supposedly connected to, so I dun think it was really working
A quick summary about my openVPN installation
This is how I installed openVPN on Rocket ROM 22 with Abyss 3.7 (log enabled version, I don't know if it matters).
Maybe something it's different from what you did, or you see anything that can help you to solve your problem.
Download from market (sorry, I can't post links) openVPN Installer and openVPN Settings (Friedrich Schäuffelhut versions). I didn't download any other additional app, library....
Install openVPN with openVPN Installer. During installation set
- target directory to /system/xbin
- ifconfig route to /system/xbin/busybox ifconfig (recommended)
In openVPN Settings:
- 'Load tun kernel' module activated
- 'Path to openVPN binary' set to /system/xbin/openvpn (this was the default setting)
In openVPN Settings -> Advanced:
- 'TUN module settigns' -> 'Load module using' set to insmod
- 'TUN module settigns' -> 'Path to run module' set to /lib/modules/tun.ko
Copy ovpn config files, certificates, etc to your route and ready. With this setup openVPN is working ok for me.
I just had some minor "issues", but I think they're related to mi ovpn config not with the tun module.
1. I had to change some data in ovpn config files, but it's due they were ubuntu ready...
2. I need to apply the 'Fix DNS' option in openVPN Settings. If not applied browser can't solve urls.
Finally.. I have tested openVPN only over 3G connection. This setup is working too on Criskelo ROM.
First, thanks for the thorough explanation. I just flashed chrack v13 and tried both FM 2.0 and abyss 3.7 with success
Sent from my GT-N7000 using XDA App
waaaaa I finally got openvpn to work xD
I got the tun.ko installer from the market, it downloaded the correct module onto /months/sdcard/tun.ko then I used that path in the advanced settings of openvpn and voilá xD it's working! xD
Hi, so i have the XT1064, i rooted it with all the tools(?) [flashable .zip for SuperSU and .img for TWRP] from the Root Guide and root seems to be working fine with all apps requiring it but DroidWall; if i select just some apps to allow data/Wi-Fi consumption it just disconnects all apps, even the ones i select, it only allows connection if i mark the "(Any application) - Same as selecting all applications" box, both in 3G and Wi-Fi
Anyone else having this problem? Any suggestion?
Try another firewell which is based on droidwell.droidwell is discontinue.
I have a Nexus 6 on Verizon running the stock 5.1.1 factory image from Google (LMY47Z).
After flashing the entire stock image using the flash-all.bat, I installed the latest TWRP, installed su and SuperSu, and busybox.
When I enable the built-in wireless hotspot, whether using encryption or not, clients will successfully connect, but never obtain and IP. However, even when I manually assign an IP on the client device, still it appears that no internet is passed to clients.
Any ideas?
*edit*
Looks like it actually does work when I manually set an IP (192.168.43.XXX), I guess I just didn't give it long enough.