What is OpenVPN ?
Google is your friend...
Requirements:
- SGS Galaxy 3 phone (with root access)
- OpenVPN installer (available on market)
- OpenVPN steetings (available on market)
- TUN module compiled successfull (tun.ko, you can download it below)
To install it just copy it on your phone '/system/lib/modules' is the better place but it works on your sdcard.
Tested only on firmware [I5800XXJH1]
Tun.zip : for kernel 2.6.29 (Eclair) only work if the comand 'uname -r' in a terminal give you '2.6.29'
Removed - Tun-2.6.32.zip : for kernel 2.6.32 (Froyo)... I am workin on it.
JPB gives 2.6.32.9 does it mean it will not work?
Nop i will try to compile it for this kernel.
PS: thx for the pm
Please build tun.ko for 2.6.32.9 (JPB). If you can share instructions that will be really great.
psyckotic said:
Tun-2.6.32.zip : for kernel 2.6.32 (Froyo) only work if the comand 'uname -r' in a terminal give you '2.6.32'
Click to expand...
Click to collapse
Its really correct?
Code:
[email protected]:~/Download/modules> strings tun-2.6.32.ko
#K10
alias=char-major-10-200
license=GPL
author=(C) 1999-2004 Max Krasnyansky <[email protected]>
description=Universal TUN/TAP device driver
depends=
vermagic=2.6.29 mod_unload ARMv6
&list->lock
include/net/netns/generic.h
tun%d
tap%d
<3>RTNL: assertion failed at %s (%d)
drivers/net/tun.c
<6>tun: %s, %s
Universal TUN/TAP device driver
<6>tun: %s
(C) 1999-2004 Max Krasnyansky <[email protected]>
<3>tun: Can't register pernet ops
<3>tun: Can't register misc device %d
look at:
vermagic=2.6.29 mod_unload ARMv6
with your tun-2.6.32.ko (renamed of course) on Samsung GT-I5500L
Code:
tun: version magic '2.6.29 mod_unload ARMv6 ' should be '2.6.32.9-perf preempt mod_unload ARMv6 '
Coud You help?
Thanks!
That's right. I have some trouble with that i am workin on it.
Hi..im.using openvpn on my galaxy i9000t with froyo..could you try use my tun.ko? Maybe it works..its same version..
No i don't think so because SGS i9000 arm cpu support arm v7 instruction and SGS i5800 arm cpu is only a arm v6l...
psyckotic said:
No i don't think so because SGS i9000 arm cpu support arm v7 instruction and SGS i5800 arm cpu is only a arm v6l...
Click to expand...
Click to collapse
Exactly.
Still no success
Code:
# insmod /system/lib/modules/tun.ko
insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
# dmesg |grep tun
<6>[ 1.467749] IPv6 over IPv4 tunneling driver
<3>[ 1092.896562] tun: version magic '2.6.32.9 mod_unload ARMv7 ' should be '2.6.32.9-perf preempt mod_unload ARMv6 '
Hi, does anybody have any new information about tun.ko for android 2.2 ?
volkovski said:
Hi, does anybody have any new information about tun.ko for android 2.2 ?
Click to expand...
Click to collapse
Well, i don't know for the others, but i can't run a module compiled for 2.6.32 in Samsung's kernel..
Have you tried to compile your own tun.ko for I5800 froyo ?
OK, guys!
ROll it tun.ko and cifs.ko
http://www.multiupload.com/LOWCT9PHBJ
What is OpenVPN?
Sent from my GT-I5800
abhimukesh25 said:
What is OpenVPN?
Sent from my GT-I5800
Click to expand...
Click to collapse
Virtual Private Network
A virtual private network (VPN) is a computer network that uses a public telecommunication infrastructure such as the Internet to provide remote offices or individual users with secure access to their organization's network. It aims to avoid an expensive system of owned or leased lines that can be used by only one organization.
more info from OpenVPN:
http://openvpn.net/index.php/open-source/333-what-is-openvpn.html
Thank for information.
Sent from my GT-I5800
tun module for Froyo
Here is the Froyo tun.ko. Should work with any 2.6.32.9 (Froyo i5800) kernel.
mizch said:
Here is the Froyo tun.ko. Should work with any 2.6.32.9 (Froyo i5800) kernel.
Click to expand...
Click to collapse
Can you kindly help combine cifs.ko as well. Many Thanks!
kenblat said:
Can you kindly help combine cifs.ko as well. Many Thanks!
Click to expand...
Click to collapse
See Mounting CIFS (Windows) shares on Froyo.
giovannivl said:
Hi..im.using openvpn on my galaxy i9000t with froyo..could you try use my tun.ko? Maybe it works..its same version..
Click to expand...
Click to collapse
Well, It works for me, I've just upgraded my Galaxy S to Froyo.
This version of tun.ko was the only one wich woks with vermagic=2.6.32.9 mod_unload ARMv7 this is the version released for this phone sold by movistar Colombia.
Julian-
I need tun.ko kernel module for creating openvpn connection.
Is there any chance that somebody compile this driver for me?
Thanks in advanced
Hi,
I can't find a working tun.ko for my Desire S with kernel version 2.6.35.10-gcdeea98 (stock rom T-Mobile Germany).
dmesg says:
<3>[ 1869.000762] tun: version magic '2.6.35.10-g0956377 preempt mod_unload ARMv
7 ' should be '2.6.35.10-gcdeea98 preempt mod_unload ARMv7 '
Version checking seems to be very strict.
Can someone build a tun.ko for gcdeea98 please?
Thanks!
Hi,
just compiled it from saga source 2.6.35 with your specific extension.
Cheers
Hi,
thanks for your work.
The module won't load. dmesg says:
<3>[36546.249511] tun: unknown relocation: 3
Someone fixed it by setting some special flags before compiling:
http://www.android-hilfe.de/android...ule-kompilieren-erster-versuch.html#post49036
or the same error on xda:
http://forum.xda-developers.com/showthread.php?t=1194089
Is someone able to compile a working one?
Thanks!
f.reddy said:
The module won't load. dmesg says:
<3>[36546.249511] tun: unknown relocation: 3
Click to expand...
Click to collapse
Dunno if it really helps, but can you please provide your ".config"
as described in the first link. Maybe our ".configs" differ in some
point as the kernel modules I compiled for myself work flawlessly.
Currently on stock with 2.6.35.10-g2ee27f5.
Cheers
Meanwhile ...
... before someone else is also asking : here is the tun.ko for the 2.6.35.10-g2ee27f5 kernel.
Good luck!
Cheers
Hello,
sorry if this is not the appropriate area to post a request...
Do we have some dev here who can do a favor and upload the modules matching XXKPH kernel:
cifs.ko
slow-work.ko
which are needed to get a stock XXKPH ROM for the I9003 working with CifsManager?
My 9003 is rooted but I cannot load cifs.ko using insmod. Always get 'exec format error'...
Thanks so much in advance!!!!!!
Best regards,
Werner
Hello
I have a Samsung Galaxy Ace S5830D from Koodo Mobile. I am completely unable to find the kernel or a tun.ko for it.
My kernel is 2.6.35.7-perf-CL568978 on Gingerbread 2.3.4 .
Where can I find the tun.ko or the kernel so I can compile it myself. I really need to use OpenVPN.
I've tried several versions of tun.ko but they all fail to enable
insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
Click to expand...
Click to collapse
Thank you!
Prosis said:
Hello
I have a Samsung Galaxy Ace S5830D from Koodo Mobile. I am completely unable to find the kernel or a tun.ko for it.
My kernel is 2.6.35.7-perf-CL568978 on Gingerbread 2.3.4 .
Where can I find the tun.ko or the kernel so I can compile it myself. I really need to use OpenVPN.
I've tried several versions of tun.ko but they all fail to enable
Thank you!
Click to expand...
Click to collapse
Alright so I downloaded my device's kernel, the SDK and the NDK, followed this tutorial:
http://www.ostalks.com/2011/03/21/how-to-compile-tun-ko-for-android-commtiva-z71/
No luck, still getting the same error...why? It should work now shouldn't it?