[Q] 'TUN' Support in a CM7 ROM? Kernel? - Desire HD Q&A, Help & Troubleshooting

Hi everyone, I use CM7 roms (keep switching between various flavours, just about to flash CM7 RC3 by kali http://forum.xda-developers.com/showthread.php?t=957336
My question is this. How do I get 'TUN' module support in a CM7 ROM. The reason I (think) I need it is because OpenVPN asks for it. I want to use OpenVPN to connect to my work. I've seen at least 3 kernels which support TUN, but they all work with Sense ROMs.
So, at present stage, would it not be possible for me to get TUN support in a CM7 ROM?
TIA.

Bump...
Anybody? Any other solution to connect to an openvpn server?
Sent from my Desire HD using Tapatalk

Tun Support for Gingerbread on Galaxy Tab
Hi everybody,
i have installed Gingerbread with CF-Root from Chainfire and everything is fine. But i need TUN support in the Kernel or by Module. So it is possible to make this running on that CF-Root-Kernel ?
I have start to build my own Kernel but when i load the zImage the Tab always restart with no funktion... When i load only the Build tun.ko module in then CF-Root-Kernel i got the message from insmod:
insmod: can't insert 'tun.ko': invalid module format
dmesg:
tun: exports duplicate symbol tun_get_socket (owned by kernel)
TAB-DATA:
Mod= GT-P1000
Firmware= 2.3.3
Basisbandversion=P1000XXJPZ
Kernel=2..3.7 [email protected] #2
Buildnumber=Gingerbread.XXJQ1
Hope anybody can help me.
Thanks

Related

[Request] tun.ko for EVO kernel 2.6.32.15-g746f4f0

I am attempting to get vpnc (for cisco vpn) working on my evo but I have looked everywhere and not been able to find the tun.ko module for my kernel.
There is a post here by sjakub: http://forum.xda-developers.com/showpost.php?p=5692491&postcount=12 which describes how to compile it, but I do not have access to linux currently.
Would anyone be kind enough to compile the proper file for me please? Thank you very much!
Bump
Looking for the same thing using DC 3.5
Help?
Is anyone able to help with this? Or offer any other suggestions? Thank you.
-David
I'm using netarchy's 4.0.* kernels (with tun.ko already loaded) but I'm still unable to VPN to my Cisco concentrator through VPN Connections
Have either of you tried netarchy's 4.0 kernel?
I'm running Fresh 3.1 with netarchy 4.0.3 kernel, VPN Connections says I'm connected, but when I try to access anything internal... no dice.
My company uses OpenVPN and I had it working with the tun.ko on the 2.1 roms. Also looking for a recompiled version for 2.2 kernels.
also interested in this one
Need this too
My kernel is also 2.6.32.15-g746f4f0 and I need the tun.ko file for this. How can I look/compile this? Is it safe to install another kernel? Very new to this, but I was able to successfully install 3.26.651.6 Froyo DeOdexed RevE.1, but don't know how to update a kernel that will work with VPN Connections.
Thanks very much in advance!
I had the same problem, until I switched to CM6 -- It's become a solid ROM and I've learned to live without sense, every time I kick my VPN in and fix a server issue I miss sense less and less. IMHO every ROM should look to integrate this feature.
Kernel
I am using AVA V5 and the Netarchy Kernel caused me problems, so I am using stock. I may try it again shortly if there is not anyone out there who can compile tun.ko for it.
drizkol said:
I'm using netarchy's 4.0.* kernels (with tun.ko already loaded) but I'm still unable to VPN to my Cisco concentrator through VPN Connections
Have either of you tried netarchy's 4.0 kernel?
I'm running Fresh 3.1 with netarchy 4.0.3 kernel, VPN Connections says I'm connected, but when I try to access anything internal... no dice.
Click to expand...
Click to collapse
I installed Netarchy 4.1.8 today and my VPN no longer force closes. However now it says connected, but I cannot access anything inside my work network same as you. Did you find a solution to this?
I have TUN vermagic=2.6.32.15-g746f4f0
I compiled TUN using the HTC sources see my post below
FYI, looks like tun.ko creates the /dev/tun device, but vpnc is looking for /dev/net/tun
will be looking into this next but tun.zip is attached to the post below
http://forum.xda-developers.com/showthread.php?p=7913695#post7913695
btedeski said:
I compiled TUN using the HTC sources see my post below
FYI, looks like tun.ko creates the /dev/tun device, but vpnc is looking for /dev/net/tun
will be looking into this next but tun.zip is attached to the post below
http://forum.xda-developers.com/showthread.php?p=7913695#post7913695
Click to expand...
Click to collapse
sweet, let me know if you get anywhere with this..
Symlink /dev/net/tun to /dev/tun
>> Symlink /dev/net/tun to /dev/tun
yes that is on the top of the list to try,
unfortunately my work is getting in the way of finding time to relax and play with my phone (as the girl friend calls it)
Bill

[Q] cifs.ko

Can anyone point me at, or know of a cifs.ko kernel module that works with the Desire HD ROM?
cheers!
Thread moved to General.
need the same thing - for cifsmanager
kernel 2.6.32.21-gf3f553d
(1.32.405.6)
me searching also. i dont get cifsmanager to work
both the custom kernels in the development section have cifs.ko
but you need to be rooted,s-off and clockwork recovery to install them
I got custom kernel and cifs manager works.
Sent from my Desire HD using XDA App
cifs.ko for AU Vodafone
This isn't going to be of any help to you guys, however if anyone has an AU Vodafone DHD (2.6.32.21-g66cfb7a), the attached file contains:
slow-work.ko, cifs.ko & nls_utf8.ko
In a terminal app execute the following:
PHP:
su
insmod slow-work.ko
insmod cifs.ko
insmod nls_utf8.ko
Then you can open CifsManager and attempt to mount a share. Use an app like GScript Lite if you don't want to type the above out multiple times.
The zip file also includes tun.ko (unrelated to file sharing, but useful for VPN tunneling). You can delete it if you have no use for it.
tun.ko was easy to compile, the cifs related ones were a pain in the ass. I've tried them, and they do work on a rooted AU Vodafone.
Do any custom roms/kernels allow FUSE? because that would be awesome. I would love a OTFE encryption application, but it would only really be practical with FUSE, if only it was included with stock it would be awesome.

[Q] cifs.ko for 2.6.32.21-gd2764ed kernel on DesireZ

Hi,
originally I wanted to post to the
"[KERNEL] Stock Sense 2.6.32.21-gd2764ed [Mod Ramdisk, CPU governors, CIFS, OC]" thread but since i've just signed up I'm not allowed to post there.
I've taken the cifs.ko module from there but when i try to insmod it I get the error Message "insmod: init_module "/system/lib/modules/cifs.ko" failed (No such file or directory"
Im using the stock kernel (2.6.32.21-gd2764ed on my DesireZ (PermRoot and S-off) and want to use "CifsManager" App to mount my shares after I have established my OpenVPN connection to my ubuntu home server. By the way openvpn works fine I just want to mount my shares since DLNA does not work through the VPN tunnel (broadcast problems trough the tunnel)
Is there someone who can provide a working cifs.ko for that kernel or at least some hints how I can get the kernel sources to compile it by myself?
Thanks in advance!

[Q]tun.ko module for 2.6.35.10 htc kernel

Hey all,
Anyone has got the tun.ko module for this kernel? Or anyone could compile one? Thanks!
Hi,
I tried to compile a matching tun.ko module. However, I have currently no possibility to test if it works. If someone wants to try it, I would be glad to hear, if it works or not. (As always, don't blame me, if it breaks anything.)
[Edit: OK. I removed this version, as it obviously did not work. A working tun.ko can now be found in post #8]
it loaded successfully but then i get FCs in settings ever since
it indeed does not work
I tried to use it in console
it loads OK, but when creating a tunnel interface the phone reboots unexpectedly
has anybody succeeded in building tun.ko against this 2.6.35.10-g0956377 kernel version?
thank you very much in advance
OK
since HTC has not release 2.6.35.10 kernel sources for DHD I was not able to build tun.ko against DHD kernel
I grabbed the only 2 kernel sources with this version that are available on developer.htc.com and tried to build tun.ko agains them
the one from HTC Desire S works fine on my phone
I will recompile it against DHD kernel once it gets released
so far you can try the one attached and report if it works or not
if was build with magic version number g0956377
just unpack
rename to tun.ko
insmod
and report if it works
Have a nice day
Martin
have not use
<s>Would you please build it against desire s's own g13f6602 ?</s>
thank you for the common idea
The official kernel sources for the 2.6.35.10-g0956377 kernel used in the 2.36.405.8 software for the DHD are now available. I have therefore compiled the tun.ko module again from these sources. This module works now also on my phone. You find it attached below.
Hi can anyone help me get a tun.ko for my HTC DHD, kernel is 2.6.32.21-gbe90714 ... Thanks
Can somebody please build tun module against 2.6.35.10-g13f6602 kernel?
Someone has already done this for this version of kernel (2.6.35.10-g13f6602), so tun module and everything else is in the archive.
openvpn got working
Posted by Karthik on May 8, 2011 in Android Support, Rooting and Mods | 0 comments
For those who have already rooted their phones and need ovpn, i’ve compiled tun.ko module, which suites stock ROM (2.6.35.10-g13f6602)
All you need is to put it into /system/lib/modules/ from the archive attached.
Also, you can find there working binary (and lib) from cm7.
Just place the binary into /system/xbin/ and lib to /system/lib/
Enjoy!
Click to expand...
Click to collapse
Hi
Has anyone got the tun.ko for 2.6.35.10-gd2564fb?
Thanks!

[Q] OpenVPN & [ROM][JB][JZO54K] CyanogenMod 10 ALPHA by arco

Hi everybody,
i have a question about tun.ko in this named rom.
It is possible to get it work and is tun.ko module compiled in the kernel?
When i use the app "OpenVPN connect", it says, that there is no tun.ko module loaded in the kernel...
Thanks for every replay!
greets,
techbarney

Categories

Resources