tried to use an OpenVPN app, but apparently this phone doesn't have the required TUN driver. i've already tried the TUN.ko Installer App, but there's no TUN module for this phone yet. anyone know if there's a current kernel that has the TUN driver active?
TIA
oops, just realized i placed this in the wrong forum. please move to Q/A forum
Related
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....
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
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.
tried to use an OpenVPN app, but apparently this phone doesn't have the required TUN module. i've already tried the TUN.ko Installer App, but there's no TUN module for this phone yet. anyone know if there's a current kernel that has the TUN module active or how i can get the TUN module for this phone??
TIA
phone model: HTCONE
build number: JZO54K
android version: 4.1.2
kernel version: 3.4.10-g30a4e11
1lazysheep said:
tried to use an OpenVPN app, but apparently this phone doesn't have the required TUN module.
Click to expand...
Click to collapse
I don't know the answer, but I've had it working on the 4.2.2 Sense version.
I'm not sure kernel modules are required. After firing up OpenVPN Connect and connecting, I don't have a tun module loaded, but it could be built into the kernel.
ip route show shows a dev tun0 whilst connected.
BenPope said:
I don't know the answer, but I've had it working on the 4.2.2 Sense version.
I'm not sure kernel modules are required. After firing up OpenVPN Connect and connecting, I don't have a tun module loaded, but it could be built into the kernel.
ip route show shows a dev tun0 whilst connected.
Click to expand...
Click to collapse
i use Private Internet Access's app, which uses OpenVPN. it works just fine when i'm using WiFi, but when I'm using 4G i can't load any videos from the youtube/vimeo app.
their tech support thought i may be something to do with my ROM lacking the TUN modules. that's why i tried the TUN.ko app, but apparently there aren't any TUN modules for my phone. i'm using the most current ROM for Sprint version, which was slightly modified (still Android 4.1.2) http://forum.xda-developers.com/showthread.php?t=2391234
Hello,
I am trying to create a tunnel interface on my phone( which has the latest Cyanogenmod 10.2 ) by using this command:
Code:
ip tuntap add dev tun0 mode tun
I get the following error: open: No such file or directory.
I did some research and, apparently, this happens because I don't have installed the tun/tap drivers( the tun.ko module ).
Does anyone have any idea on how to get/install the tun.ko module on my phone ?
Thank you !
vladtp said:
Hello,
I am trying to create a tunnel interface on my phone( which has the latest Cyanogenmod 10.2 ) by using this command:
Code:
ip tuntap add dev tun0 mode tun
I get the following error: open: No such file or directory.
I did some research and, apparently, this happens because I don't have installed the tun/tap drivers( the tun.ko module ).
Does anyone have any idea on how to get/install the tun.ko module on my phone ?
Thank you !
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.aed.tun.installer&hl=pl
I don't guarantee that there will be an module for your kernel, but you can still try
I tried it, but it says:
TUN support is possibly pre-loaded in your kernel.
Click to expand...
Click to collapse
This might suggest that the module might exist, but I double checked with lsmod and the /lib/modules directory.
If you have any idea about a kernel version for the phone that might make the Tun.ko app actually install the module, please share.
Also, if anyone else has a working tun.ko module, the Tun.ko app has an option where you can share your module( probably it's sent
to the droidvpn site ).
Thanks !