Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,562 Members 37,686 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Tun.ko module

Tip us?
 
vladtp
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Jun 2014
Default [Q] Tun.ko module

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 !
 
adi9981
Old
#2  
Member
Thanks Meter 7
Posts: 96
Join Date: May 2013
Quote:
Originally Posted by vladtp View Post
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 !
https://play.google.com/store/apps/d...nstaller&hl=pl

I don't guarantee that there will be an module for your kernel, but you can still try
My Device : Galaxy S3 Mini i8190, running NovaFusion CyanogenMod 10.2.
 
vladtp
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Jun 2014
I tried it, but it says:

Quote:
TUN support is possibly pre-loaded in your kernel.
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 !
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes