tun.ko for G9 ICS (Kernel 3.0.8) - Gen9, Gen10 General

Hi everyone,
i have the rooted ICS on my G9 - but the tun-module is not shipped with this kernel (not as module and not compiled), so i can't get a /dev/tun Node. Therefore my OpenVPN is not working.
Does anybody have a tun.ko Module for me? It's an Archos 101 G9 with ICS (Firmware 4.0.4, Andriod 4.0.3, Kernel 3.0.8 armv7l)
Did search the hole Internet, but couldn't find one...
Thanks in advance...

Check my overclocked kernel there, it has tun.ko. You're not forced to overclock it, it defaults at 1.0 ghz.
Let me know if it worked for you...

I tried the Cisco AnyConnect ICS which does not require root and it does not work and when I contacted cisco with the error report and logs they told me :
"The ICS image installed on your ARCHOS does not have tuntap (Tun.ko). Is this an Archos provided image or something you loaded up on your own? If this image is from Archos, it is defective and you should put in a report to Archos to have them fix it."
The ICS I have is 4.0.3 from the standard update 4.0.4, no root, no kernel replacement, nothing fancy

Yes, stock kernel doesn't support tap and doesn't have the module. If you have SDE and root firmware, you can try the kernel, else you have to bug Archos to include it in their next firmware.

Works perfectly!!!
Thank you very much, the tun.ko works great!
Now I can connect to my VPN, hoooray! RDP is much easier to handle on a 10inch display than on a smartphone...

Related

openvpn anyone?

hi,
did anyone find a way to use openvpn on htc hero?
Catscrash said:
hi,
did anyone find a way to use openvpn on htc hero?
Click to expand...
Click to collapse
Not yet, but I am using the CyanogenMod 4.0.1 on my Dream and I have seen Donut on the HTC Click -- in both cases, Settings --> Wireless Controls is showing an option for VPN Settings, so I'm guessing that it would be a matter of time before this is available on the Hero and Magic firmware
Be patient, or wait for someone to cook a ROM with this feature
VPN wil be in Donut.
For now, it seems possible to implement it.
For the program GUI, it should good to extand that program to support openvpn and pptp vpn.
First of all tun driver is needed, you'll find it here.
Install and, as root, type:
# insmod /system/lib/modules/tun.ko
lsmod command should give you:
tun 11300 0 - Live 0xbf000000
That should load the tun kernel module.
I think we should then have to compile openvpn using android ndk.
A guy did it for the dream. Worth trying it. Maybe someone else could tell if binaries compiled for Dream can work on Hero
OpenVPN ist working on hero. I used the binaries for the G1. But the CIPHER is different: AES-256-CBC. I'm now testing it and if it's stable, perhaps I'm gonna compile openvpn with complete static openssl, so all functions should work.
If someone is interested, I can post my scripts and settings.
gogh57 said:
OpenVPN ist working on hero. I used the binaries for the G1. But the CIPHER is different: AES-256-CBC. I'm now testing it and if it's stable, perhaps I'm gonna compile openvpn with complete static openssl, so all functions should work.
If someone is interested, I can post my scripts and settings.
Click to expand...
Click to collapse
I am REALLY interested to now how you compiled it.
Hi!
I haven't compiled openvpn until now. I used this one:
https://www.digital-bit.ch/wiki/OpenVPN_auf_dem_G1
Just tried, may work. But i can't connect to my astaro because the key needs auth wit user and pw.
This Version hasnt been compiled with --auth-ask-pass. And reading from commandline doesn't work either..
I did compile it on my G1 with CyanogenMod ROM.
As far as I can see, it is working perfectly: I'm using it with certificates for 3 different VPNs.
Only issue: I wasn't able to complile a shared version of liblzo, so the binary is statically linked against liblzo.a (751 KB... )
Ah, yes, of course no GUI interface, shell only...
Hi!
Cool, could you post the binary? Could you give me a hint how you did it? I had several problems.
Would be perfect if someone could compile openvpn with " --enable-password-save"
Please post it, when a OpenVPN GUI for the HTC Hero / Magic is available.
Thans alot
wolfiedk said:
Please post it, when a OpenVPN GUI for the HTC Hero / Magic is available.
Thans alot
Click to expand...
Click to collapse
The great spam protection measures in this forum deny posting links for new users, so you have to manually follow them.
See: github.com/fries/android-external-openvpn
There is also an app and a statically linked openvpn binary at github.com/fries/android-external-openvpn/downloads
The openvpn binary has the following features:
* --enable-password-save
* statically linked against a blowfish enabled openssl
* statically linked against liblzo
Build:
* openvpn-static.bz2 was build on a donut-tree (1.6) for htc-magic
* openvpn-android-2.1.tar.bz2 was build on a cupcake (1.5) tree for htc-magic
* should run on a verity of (rooted) phones, please try it an give feedback.
A dynamically linked version is also available. The above git repo integrates seamless into the android build system. Some instructions may be found here: wiki.github.com/fries/android-external-openvpn/
Any feedback is welcome. Enjoy.
read this first -> http://sourceforge.net/projects/tunneldroid/files/README/download
First make sure kernel is compile with tun module
install tunneldroid from market
binary download -> http://sourceforge.net/projects/tunneldroid/files/openvpn-binary.zip/download
The newest version of my 'OpenVPN Settings' app is available at github.com/fries/android-external-openvpn/downloads

[Request] tun.ko for EVO kernel 2.6.32.15-g746f4f0

I am attempting to get vpnc (for cisco vpn) working on my evo but I have looked everywhere and not been able to find the tun.ko module for my kernel.
There is a post here by sjakub: http://forum.xda-developers.com/showpost.php?p=5692491&postcount=12 which describes how to compile it, but I do not have access to linux currently.
Would anyone be kind enough to compile the proper file for me please? Thank you very much!
Bump
Looking for the same thing using DC 3.5
Help?
Is anyone able to help with this? Or offer any other suggestions? Thank you.
-David
I'm using netarchy's 4.0.* kernels (with tun.ko already loaded) but I'm still unable to VPN to my Cisco concentrator through VPN Connections
Have either of you tried netarchy's 4.0 kernel?
I'm running Fresh 3.1 with netarchy 4.0.3 kernel, VPN Connections says I'm connected, but when I try to access anything internal... no dice.
My company uses OpenVPN and I had it working with the tun.ko on the 2.1 roms. Also looking for a recompiled version for 2.2 kernels.
also interested in this one
Need this too
My kernel is also 2.6.32.15-g746f4f0 and I need the tun.ko file for this. How can I look/compile this? Is it safe to install another kernel? Very new to this, but I was able to successfully install 3.26.651.6 Froyo DeOdexed RevE.1, but don't know how to update a kernel that will work with VPN Connections.
Thanks very much in advance!
I had the same problem, until I switched to CM6 -- It's become a solid ROM and I've learned to live without sense, every time I kick my VPN in and fix a server issue I miss sense less and less. IMHO every ROM should look to integrate this feature.
Kernel
I am using AVA V5 and the Netarchy Kernel caused me problems, so I am using stock. I may try it again shortly if there is not anyone out there who can compile tun.ko for it.
drizkol said:
I'm using netarchy's 4.0.* kernels (with tun.ko already loaded) but I'm still unable to VPN to my Cisco concentrator through VPN Connections
Have either of you tried netarchy's 4.0 kernel?
I'm running Fresh 3.1 with netarchy 4.0.3 kernel, VPN Connections says I'm connected, but when I try to access anything internal... no dice.
Click to expand...
Click to collapse
I installed Netarchy 4.1.8 today and my VPN no longer force closes. However now it says connected, but I cannot access anything inside my work network same as you. Did you find a solution to this?
I have TUN vermagic=2.6.32.15-g746f4f0
I compiled TUN using the HTC sources see my post below
FYI, looks like tun.ko creates the /dev/tun device, but vpnc is looking for /dev/net/tun
will be looking into this next but tun.zip is attached to the post below
http://forum.xda-developers.com/showthread.php?p=7913695#post7913695
btedeski said:
I compiled TUN using the HTC sources see my post below
FYI, looks like tun.ko creates the /dev/tun device, but vpnc is looking for /dev/net/tun
will be looking into this next but tun.zip is attached to the post below
http://forum.xda-developers.com/showthread.php?p=7913695#post7913695
Click to expand...
Click to collapse
sweet, let me know if you get anywhere with this..
Symlink /dev/net/tun to /dev/tun
>> Symlink /dev/net/tun to /dev/tun
yes that is on the top of the list to try,
unfortunately my work is getting in the way of finding time to relax and play with my phone (as the girl friend calls it)
Bill

[Q] 'TUN' Support in a CM7 ROM? Kernel?

Hi everyone, I use CM7 roms (keep switching between various flavours, just about to flash CM7 RC3 by kali http://forum.xda-developers.com/showthread.php?t=957336
My question is this. How do I get 'TUN' module support in a CM7 ROM. The reason I (think) I need it is because OpenVPN asks for it. I want to use OpenVPN to connect to my work. I've seen at least 3 kernels which support TUN, but they all work with Sense ROMs.
So, at present stage, would it not be possible for me to get TUN support in a CM7 ROM?
TIA.
Bump...
Anybody? Any other solution to connect to an openvpn server?
Sent from my Desire HD using Tapatalk
Tun Support for Gingerbread on Galaxy Tab
Hi everybody,
i have installed Gingerbread with CF-Root from Chainfire and everything is fine. But i need TUN support in the Kernel or by Module. So it is possible to make this running on that CF-Root-Kernel ?
I have start to build my own Kernel but when i load the zImage the Tab always restart with no funktion... When i load only the Build tun.ko module in then CF-Root-Kernel i got the message from insmod:
insmod: can't insert 'tun.ko': invalid module format
dmesg:
tun: exports duplicate symbol tun_get_socket (owned by kernel)
TAB-DATA:
Mod= GT-P1000
Firmware= 2.3.3
Basisbandversion=P1000XXJPZ
Kernel=2..3.7 [email protected] #2
Buildnumber=Gingerbread.XXJQ1
Hope anybody can help me.
Thanks

[Q]tun.ko module for 2.6.35.10 htc kernel

Hey all,
Anyone has got the tun.ko module for this kernel? Or anyone could compile one? Thanks!
Hi,
I tried to compile a matching tun.ko module. However, I have currently no possibility to test if it works. If someone wants to try it, I would be glad to hear, if it works or not. (As always, don't blame me, if it breaks anything.)
[Edit: OK. I removed this version, as it obviously did not work. A working tun.ko can now be found in post #8]
it loaded successfully but then i get FCs in settings ever since
it indeed does not work
I tried to use it in console
it loads OK, but when creating a tunnel interface the phone reboots unexpectedly
has anybody succeeded in building tun.ko against this 2.6.35.10-g0956377 kernel version?
thank you very much in advance
OK
since HTC has not release 2.6.35.10 kernel sources for DHD I was not able to build tun.ko against DHD kernel
I grabbed the only 2 kernel sources with this version that are available on developer.htc.com and tried to build tun.ko agains them
the one from HTC Desire S works fine on my phone
I will recompile it against DHD kernel once it gets released
so far you can try the one attached and report if it works or not
if was build with magic version number g0956377
just unpack
rename to tun.ko
insmod
and report if it works
Have a nice day
Martin
have not use
<s>Would you please build it against desire s's own g13f6602 ?</s>
thank you for the common idea
The official kernel sources for the 2.6.35.10-g0956377 kernel used in the 2.36.405.8 software for the DHD are now available. I have therefore compiled the tun.ko module again from these sources. This module works now also on my phone. You find it attached below.
Hi can anyone help me get a tun.ko for my HTC DHD, kernel is 2.6.32.21-gbe90714 ... Thanks
Can somebody please build tun module against 2.6.35.10-g13f6602 kernel?
Someone has already done this for this version of kernel (2.6.35.10-g13f6602), so tun module and everything else is in the archive.
openvpn got working
Posted by Karthik on May 8, 2011 in Android Support, Rooting and Mods | 0 comments
For those who have already rooted their phones and need ovpn, i’ve compiled tun.ko module, which suites stock ROM (2.6.35.10-g13f6602)
All you need is to put it into /system/lib/modules/ from the archive attached.
Also, you can find there working binary (and lib) from cm7.
Just place the binary into /system/xbin/ and lib to /system/lib/
Enjoy!
Click to expand...
Click to collapse
Hi
Has anyone got the tun.ko for 2.6.35.10-gd2564fb?
Thanks!

[Q] OpenVPN Support "tun.ko"

I was wondering if the Galaxy Nexus stock ROM had OpenVPN support in kernel and if someone was contemplating compiling tun.ko for the less tech savy users
Would also like to know if it's possible to use OpenVPN on the GN.
If it is not in there stock, I am sure one of the many kernel devs will add it for us.
Apparently...
"It should now be possible to write a OpenVPN client for Android."
According to:
https://code.google.com/p/android/issues/detail?id=3635#c87
So it's just a waiting game now for an app it looks like.
openVPN works
Hi,
Just wanted to let you know I got openVPN working. (pic below)
I have Revolution 1.3.0 ROM and Franco's kernel installed, both excellent I must add.
I didn't need a tun.ko, did on my sgs2.
There are 2 programs you need on the market, openVPN installer and openVPN setting. Run those and you should be good to go. The only thing I had to do was create a /system/xbin/bb folder and copy ifconfig into it. This may have been something to do with the way I installed busybox.
I use the last MCK kernel compatible with Android Revolution HD.
Will check if the kernel have support.
I can't wait to be able to watch Netflix from the USA again.
Unfortunately, stock ICS on the GN has no tun support. We still need a tun.ko. So far I didn't find one, so I guess I need to compile it myself...
I believe it stock ROM does have tun support. See this thread:
http://android.modaco.com/topic/349642-tunko-for-openvpn/
Steps are here for anyone else looking to get it working (which I gleaned from here http://forum.xda-developers.com/showpost.php?p=17233744&postcount=9):
Install Busybox from Market
Install OpenVPN Installer from Market and install to:
binaries: /system/xbin
route/ifconfig: /system/xbin/bb
Create /system/xbin/bb with Root Explorer or from shell
Create link to busybox for ifconfig and route
ln -s /system/xbin/busybox /system/xbin/bb/route
ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
taylormadearmy said:
I believe it stock ROM does have tun support.
Click to expand...
Click to collapse
Indeed, you're right. Although my OpenVPN installer indicated my kernel was lacking a tun module, I justed ignored it and now I'm running OpenVPN on rooted/unlocked ICS. Great!
Mark
I would ideally like this to work without rooting. Hopefully a proper app gets made!
Great News though!
Indeed, I thought that I needed Franco's kernel to get openVPN to work, but when I flashed back to stock kernel (I had some battery issues) the openVPN still worked.
Everything worked fine, I can now connect on my VPN servers through OpenVPN Settings (On the Android Market) : D. Awesome ! Many thanks
nvm
10 characters
Just in case you haven't heard yet: The official Cisco AnyConnect VPN Beta has been released in the market a week or two ago. It supports all ICS devices (tested it on my Asus TF101 with stock 4.0.3). Works great on my unrooted GN!
Gesendet von meinem Galaxy Nexus mit Tapatalk
Help with OpenVPN setup
Hello,
I followed all the instructions on this post regarding install and reconfiguration of folder permissions. I'm running AOKP Milestone 3 and Franco kernel Milestone 2. My phone connects to openVPN but it's clear that data isn't flowing through it (i.e., I'm in China and still can't use Facebook or Youtube apps)
Any suggestions? OpenVPN app connects to the server very quickly but when visiting Facebook.com, I can see very easily that the download rate is 0.0kbps, then the page times out.
Any help would be appreciated!
romerjon said:
Just in case you haven't heard yet: The official Cisco AnyConnect VPN Beta has been released in the market a week or two ago. It supports all ICS devices (tested it on my Asus TF101 with stock 4.0.3). Works great on my unrooted GN!
Gesendet von meinem Galaxy Nexus mit Tapatalk
Click to expand...
Click to collapse
Does this work with open vpn? Sorry if this is a dumb question, I am a new user to open vpn. I am about to setup an open vpn server on my dd-wrt router.
does anyone know where the tun.ko module is located on stock rom?
i can't find it no matter how i search for it. will it be possible for someone to upload it and give us the link?
thank you...

Categories

Resources