Jump to content

tun.ko for Froyo 2.2?


Guest Shadow128
 Share

Recommended Posts

Guest Shadow128

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

Link to comment
Share on other sites

Guest AntonioPT
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.

Link to comment
Share on other sites

Guest Shadow128

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?

Link to comment
Share on other sites

Guest AntonioPT
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).

Link to comment
Share on other sites

Guest Shadow128

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?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...

Important Information

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