Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mittu1
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: May 2005
Cool OPEN VPN

Has anyone managed to get Open VPN working on a Galaxy S? I have a SPICA on which it is working but I cant find a TUN.KO that works on the Galaxy S. Thanks
 
chafw
Old
#2  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jul 2010
Location: Madrid
Also trying to find a proper TUN.KO for the Galaxy S.

No luck so far.
 
tids2k
Old
#3  
tids2k's Avatar
Senior Member
Thanks Meter 598
Posts: 2,122
Join Date: Apr 2009
Location: Sydney

 
DONATE TO ME
Read here: http://android.modaco.com/content-pa...droid/page/20/
s IV>htc one>sgs III>huawie quad xl>ipad 3>lg x3>htc z3tA>samsung galaxy note>samsung galaxy s II lte hd>iphone 4(g)>samsung galaxy s2 >htc desire hd>samsung galaxy s >htc desire (cancelled) :d>htc touch hd2>htc touch hd>nokia n97>iphone 3g>nokia n96>nokia n95> nokia n70
 
chafw
Old
#4  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jul 2010
Location: Madrid
None of the methods described for other phones worked for Samsung Galaxy S. I tried with several tun.ko and all where giving me "format errors" as the kernel was not matching.

Last resort, I compile it myself from Samsung I9000 kernel sources.
Tested it and worked. I know have OpenVPN in Galaxy S (I9000)!

I attach the tun.ko file. I hope other guys out there with I9000 can use it.
Attached Files
File Type: zip tun.zip - [Click for QR Code] (64.8 KB, 3251 views)
 
mittu1
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: May 2005
Excellent. Will give it a go. Which ROM are you running?
 
chafw
Old
#6  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jul 2010
Location: Madrid
I'm currently running I9000BGF1, I will be soon upgrading to new Firmware.
Kernel Version: 2.6.29 root@SE-S602 #2
 
mittu1
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: May 2005
Hi Chafw,

Can you talk me through where you put the tun.ko, and where you put your OpenVPN files in the directories? I'm getting no where fast on this!

Thanks

SA
 
chafw
Old
#8  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jul 2010
Location: Madrid
Hi mittu1,

I believe you are already root and busybox/openvpn installed.

I used the same link that tids2k wrote above to setup the whole thing up.

I used openvpn-settings application for starting up openvpn configurations.
In openvpn-settings you can define where the tun.ko driver is located.
Anyway, the simplest thing to do firdst to test whether the tun.ko works for you is to
load it by hand using a root shell:

insmod <path to tun.ko>

I have it installed in /system/lib/modules/tun.ko.

Hope this helps.
 
raphman
Old
#9  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jul 2010
The tun.ko is ok, it loads nicely. Many many many thanks !!!

In the "OpenVpn Settings" app, my connection ask me for a password, I see "auth", then nothing, I fall back in front of the "select to turn on OpenVPN tunnel" button.

I have tried with stock libcrypto.so and libssl.so, and then with those from openvpn-binary.zip at hxxp://sourceforge.net/projects/tunneldroid/files/

The OpenVPN app still don't want to establish the connection... In no ways... And no log message in dmesg at all (neither for tun)

So it's enough for this night, but if someone have an idea, you are (really) welcome !!!
 
Anduru
Old
(Last edited by Anduru; 26th July 2010 at 11:36 AM.) Reason: color, ps
#10  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2010
Does the module have to match the kernel version exactly? Running european JM2,
kernel is 2.6.29 root@SE-S603#2

PS. 1st Post :)

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more

Sony Continues AOSP Initiative on the Tablet Z

Sometimes, you can harp on a subject so much that you end upbeating a dead horse. In our eyes, … more