Hello! I'm a newbie around here and in the Android land in general so please have mercy if I'm saying or doing something wrong here!
I just bought an S5570 and did an OTA update to 2.3.5 with kernel 2.6.35.7-perf-CL650682.
The problem is when I've tried to install OpenVPN. I've used the apps, got superuser, busybox, tun.ko installer, openvpn-installer and openvpn-settings.
I've loaded the module tun.ko manually (and moved to /system/lib/modules ), it loads fine, but when I cd /mnt/sdcard/openvpn and do openvpn client.conf the connection is established but then the phone restarts instantly.
I don't know what could be the problem, the module (tun.ko), the openvpn binary, or what? The client.conf file is fine, it works for my laptop so I don't think there's a problem with the conf file.
Any ideas?
Thanks in advance!
Ok, problem solved by flashing with emanoN v4
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
hi. I installed CM6.1.2 for milestone (thanks doshaska) beta on my milstone (not droid) mainly because I really want to use openvpn .
However there seems no tun/tap module in /system/lib/modules (i first looked /lib/modules hoping modules lies in the normal linux module path) and also can't connect to the openvpn server with the default vpn setting program.dmesg says "Cannot allocate TUN/TAP dev dynamically"
Is the missing tun module the reason ? If so , any possiblity in the future that someone can compile the tun module for the CM6 kernel?
btw, I heard something about 2nd-boot . Is there any possiblity to run a complete new kernel avoiding the the damn locked bootload using the 2nd-boot?
PS: sorry for my poor english....
Hi
I've got a Galaxy S and I've install Gingerbread (2.3.4 JVP) and the voodoo lagfix (stock JVP with hacks (here)).
I've installed Superuser and restarted the phone, but can't get busybox to install, as it says I don't have root.
I can get root in Terminal Emulator and so have tried "busybox --install -s /system/xbin/", but both busybox executables (/bin/busybox and /sdcard/busybox) on my phone say applet not found.
I want to restore my backups from Titanium Backup, but it also says I don't have root and so I can't use it to install busybox.
I know that I can use "am start" to run an app, but is it possible to run an app as root (I tried su and then am start)?
I've searched the forum, but can't find any advise, besides install superuser, restart and update busybox. Could any please help me get root, so I can restore my backups.
Thank you
That kernel is for jvb/jvh! Problem solved! Think he had done one for jvp
GTi9000 insanitycm010/insaneglitch
Apologies, just noticed that link has jvp too, did you install correct one?
GTi9000 insanitycm010/insaneglitch
Yes my phone shows firmware version 2.3.4 and baseband version I9000XXJVP.
Something I realised, after getting help on the project-voodoo IRC from supercurio, was that I have two su files. One in /system/bin which is 0 bytes and one in /system/xbin which works. This may have been due to superuser wanting to update su and maybe broke it instead. I assume that this would be causing my problems?
I've tried to copy the one from /system/xbin into /system/bin, but the folder is read only. I'll try to find a copy of su to flash (superuser gives me a signed copy, but CWM recovery says that its broken) and see if that will fix the problem.
I decided to reflash and not install superuser from the market place, as the voodoo lagfix includes one (I didn't realise this before), and now everything works fine .
Ah, nice to see you sorted our yourself, its great when people take it on themselves to at least try well done dude
GTi9000 insanitycm010/insaneglitch
Hello everybody
i downloaded openvpn on my galaxy note
then when i start to install it it opens then on the screen there is Binary not installed
it asks me for things like install or exit
i choose install a screen appeared asking to choose target directory
1: /system/xbin
2: /system/bin
if i choose 1
4 options appears
1: /system/xbin/busybox ifconfig
(recommended)
2: /system/xbin/ifconfig
3: /system/xbin/bb/ifconfig
4: /system/bin/ifconfig
i tried every thing but it insists on not to install
please provide me with any thing that helps me install it
or any program similar to it and doing the same job
if there is any video tutorial please post it
Are u rooted??? openvpn requires root...
If u r rooted and face difficulty installing openvpn try droidvpn from market... it is free and easy to use... go to their official site for getting a free account for logging in....
Sent from my GT-N7000 using XDA App
yes, i rooted it
okay i'll try to download that program
thanks
and waiting for anyone who had installed openvpn on his galaxy note to help
7esain said:
yes, i rooted it
okay i'll try to download that program
thanks
and waiting for anyone who had installed openvpn on his galaxy note to help
Click to expand...
Click to collapse
try this
http://vpnblog.info/android-openvpn-strongvpn.html
worked for me without any prob...
both openvpn and droidvpn are working fine in my note
---------- Post added at 12:45 AM ---------- Previous post was at 12:37 AM ----------
7esain said:
Hello everybody
i downloaded openvpn on my galaxy note
then when i start to install it it opens then on the screen there is Binary not installed
it asks me for things like install or exit
i choose install a screen appeared asking to choose target directory
1: /system/xbin
2: /system/bin
if i choose 1
4 options appears
1: /system/xbin/busybox ifconfig
(recommended)
2: /system/xbin/ifconfig
3: /system/xbin/bb/ifconfig
4: /system/bin/ifconfig
i tried every thing but it insists on not to install
please provide me with any thing that helps me install it
or any program similar to it and doing the same job
if there is any video tutorial please post it
Click to expand...
Click to collapse
i think u forgot to install busybox... try installing it first..
thanks mate for helping
now i did everything except one
i can't install the tap/tun driver
i don't knew where to find?
7esain said:
thanks mate for helping
now i did everything except one
i can't install the tap/tun driver
i don't knew where to find?
Click to expand...
Click to collapse
i dont think ul b needing it... i think its already compiled in stock firmware... if u r having any trouble... try installing abyss kernel from development section... then go to market and install tun.ko app and install tun.ko from there...
P.S. dont forget to check the insmod option in advanced options of openvpn...
hope it will work for u this tym
How to root galaxy note and install openvpn
Dear Sandeep,
Could you please share the steps to root the galaxy note and install openvpn on it?
Model: GT-N7000
Android Version: 2.3.6
Baseband Version: N7000XXLA4
Kernel Version: 2.6.35.7-N7000XXLA6-CL907341
[email protected] #2
Build Number:
GINGERBREAD.XXLA6
solved openvpn installer problem, solved routing issues
I just installed openvpn on my GNote N7105 running stock 4.1.1 but rooted
The problem I solved was that openvpn* installer couldn't find busybox, but I have a good on in /data/local/bin, so I remounted / as read-write and made a link at /system/xbin/busybox to /data/local/bin/busybox
Then the installed couldn't find the "cp" command to copy the binary over, so I made a in in /system/xbin from busybox to cp
And then the openvpn installer ran OK but didn't see my openvpn configs and keys.
Because I moved from non-samsung device I had to move my openvpn files from /storage/extSdCard to the "internal" card.
And then the openvpn installer allowed me to start up openvpn. And I saw a tun0 device. But no traffic flows over the VPN. I checked the routing tables (main, default, local) and tried adding routes but no luck
So I searched xda devs and found this thread.
Any idea please?
--EDIT--
I restarted the openvpn server on the remote linux box and everything started working. I realised there was a problem when I used tcpdump and could see ping requests going over the tunnel to the server and nothing coming back. My laptop could also bring up the tunnel and also not send/receive traffic.
* https://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn
Hello
I'm testing this nice rom since 3 days.
After an update from googleplay, openvpnsetting now opens a prerequisite screen and check my device for root, busybox tun.ko and openvpn binary.
It's all ok , just TUN device driver isn't installed . Is this device mandatory for using openvpn ?
[edit] Okay, after searching a bit on openvpn, it seems that tun is not mandatory. Explanations here
Most of openvpn settings use TAP device, so missing TUN should not be a problem...
sksbir said:
Hello
I'm testing this nice rom since 3 days.
After an update from googleplay, openvpnsetting now opens a prerequisite screen and check my device for root, busybox tun.ko and openvpn binary.
It's all ok , just TUN device driver isn't installed . Is this device mandatory for using openvpn ?
[edit] Okay, after searching a bit on openvpn, it seems that tun is not mandatory. Explanations here
Most of openvpn settings use TAP device, so missing TUN should not be a problem...
Click to expand...
Click to collapse
It just need to copy tun.ko from /etc/modules to /system/lib/modules... It will be done for next release, but anyway you can do it by yourself via root browser.
Regards.
Huexxx said:
It just need to copy tun.ko from /etc/modules to /system/lib/modules... It will be done for next release, but anyway you can do it by yourself via root browser.
Regards.
Click to expand...
Click to collapse
Tested : works fine, but had before to create /system/lib/modules with root permissions
Thanks a lot.