Too new to post in develop forum. Hope some dev will check here also.
As title, has someone cross-compiled nls_utf8.ko and tun.ko for 3.1 kernel?
Kernel - 2.6.36.3-00001-gf377a2b
Thx in advance.
Hi all,
I've looked at forums in the DEV section and can find a tun.ko module for an earlier kernel of the TF101. None of the ROMs including Clemsys, Revolver's, Netformer's, Prime's and any other I have download include this module in their kernel builds. I would like for this module to be included, which was in Prime 1.2, but that was for a kernel that is no longer in use and that is for Honeycomb 3.0. So my question to the Devs is, why no compile tun.ko for any and all the ROMs you deploy?
Thanks for your response.
In case people don't know, tun.ko is the module that allows a rooted device use an app like VPNC to log into and create a VPN tunnel through a Cisco VPN Concentrator.
jamdev12
Are you sure, TUN isn't in prime 1.6? I see it listed as added in version 1.4, so I don't think that it would have been removed in updated versions.
All the ROMS you mentioned (clemsyn, PRIME, Revolver) include the tun.ko compiled into the kernel. You do not need any external tun.ko module for VPN to work.
However, the trick to get VPNC to work is to rename the file /system/bin/ip to /system/bin/ip.bak. This causes the /system/xbin/ip to be picked up instead while works fine.
guptaavi,
Thanks for the info. I'm stupidfied and you have enlighten me. I know that sounds corny, but I appreciate the help here, because since I did not see the module in the /system/lib/modules folder, I thought it wasn't compiled. Now I know the difference between compiling it into the kernel and compiling it for the kernel.
jamdev
Hi guptaavi,
So I must be stupid, because I did what you just told me about changing the file name for the /system/bin/ip to ip.bak, but the VPNC widget takes forever to start and it just fails. I know the settings are correct because I can run VPNC on my OG Droid without issues. I'm running CWM7.
Do you have any suggestions?
jamdev12
If tun.ko is build into the system, how do we setup OpenVPN to use tun.ko? How do i tell OpenVPN where the tun.ko file is?
Pls help as im using PRIME 1.8.4.
TIA
JL
Anyone have cifs.ko for 2.3.3 working?
Not until se publishes kernel sources. I'm waiting for tun.ko myself.
I am attempting to get vpnc (for cisco vpn) working . However I could not locate the tun.ko
Anyone can extract that for me.
i am using the KJ1 firmware now.
thanks
Hello everybody,
I am new at kernel building and so please bare with me. I have been using kernel modules for CIFS from this thread http://forum.xda-developers.com/showthread.php?t=2003836http://forum.xda-developers.com/showthread.php?t=2003836 by H3g3m0n and all is working fine.
But since I couldn't find modules for NFS I decided to compile them myself. I had no problem in building the kernel and modules for stock android kernel gaf9c307 4.2.2 but the modules just won't load. That is why I also created the CIFS modules. I taken a look at the md4.ko modules with modinfo command and they both seem exactly the same. I have attached the md4.ko module which is used in CIFS just to show the example, the md4_works.ko is the module by H3g3m0n and the md4.ko is mine.
Can anybody please help me. What am I doing wrong. I have appended the steps I have taken when building modules.
git clone https://android.googlesource.com/device/samsung/manta
cd manta/
git log --max-count=1 kernel
git clone https://android.googlesource.com/kernel/exynos.git
cd exynos/
git checkout af9c307
export PATH=$(pwd)/arm-eabi-4.6/bin:$PATH
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/home/ziga/ndk/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
make manta_defconfig
make
make menucofing
make modules
Click to expand...
Click to collapse
Thank you for all your help
Come on guys, nobody knows this? Then please tell me how I can get in touch with H3g3m0n who compiled the working modules!
Thank you.