Jump to content

tun.ko for Froyo 2.2?


Recommended Posts

Guest Shadow128
Posted

Hello @ll,

today i tried to install OpenVPN on my Pulse/Froyo 2.2 (image is from this link), but i have the problem, that there is no tun.ko-module.

Can i take a tun.ko from another device, or is this module device-specific?

Or has anyone else a tun.ko for me, that i can use on my image?

Thanks in advance,

Shadow128

Guest AntonioPT
Posted
Hello @ll,

today i tried to install OpenVPN on my Pulse/Froyo 2.2 (image is from this link), but i have the problem, that there is no tun.ko-module.

Can i take a tun.ko from another device, or is this module device-specific?

Or has anyone else a tun.ko for me, that i can use on my image?

Thanks in advance,

Shadow128

I once had a tun.ko module in my kernel_pulse repo, but I reverted to an older commit and don't have it anymore.

I think that if the module is from the same kernel version (2.6.29) it should work. Try it out.

Guest Shadow128
Posted

I tried some tun.ko-modules, but everytime i get a error like that "insmod: init_module '/mnt/sdcard/tun.ko' failed (Exec format error)"

Has anyone a working module on a pulse?

Guest AntonioPT
Posted
I tried some tun.ko-modules, but everytime i get a error like that "insmod: init_module '/mnt/sdcard/tun.ko' failed (Exec format error)"

Has anyone a working module on a pulse?

You have to use an Android-specific module, that error means you're using a module for another architecture (probably x86 instead of ARM).

Guest Shadow128
Posted

OK, i think i found a version that should be the right, but....

I copied the tun.ko to /system/lib/modules/ (tried also /system/lib/modules/2.6.29-perf/)

Then i executed the following command in AndroidCommander:

insmod /system/lib/modules/tun.ko

After that, the old error message (Exec format error)

With "dmesg | grep tun" i got the following message:

<3>[2007, insmod] [ 422.354329] tun: version magic '2.6.29-8d063048 preempt mod_unload ARMv6 ' should be '2.6.29-perf preempt mod_unload ARMv6 '

Architecture and Kernel version are right, and i think i can use the module on my image, or not?

Or did i make a failure on simple copying the tun.ko to my modules-directory?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.