[Q] tun.ko for kernel 2.6.36.3-g111d827 - General Questions and Answers

Hi,
I'm a totally new to android. Can anyone help me find a compiled tun.ko driver for kernel 2.6.36.3-g111d827. I am trying to get Cisco Anyconnect working on my Xoom without much success.
Any help will be appreciated.
Regards,
Donny

Here is tun.ko compiled specifically for vermagic=2.6.36.3-g111d827 SMP preempt mod_unload ARMv7 (that is, for kernel 2.6.36.3-g111d827, motorola xoom).
I've also included a version of the vpn connections APK. Even with the updated version of tun.ko (freshly compiled from git source), I couldn't get vpn connections to connect to the VPN to save my life with HTK75D. So I learned about VPNC-debug.apk and it works like a charm.
Good luck.
Sov

Related

[Q] Compile tun.ko for ME511

Hi folks!
My intention is to get openvpn working: I'm relatively new to Android and I'm trying to convince my ME511 on a one-click rooted 2.6.29-omap1 kernel with Android 2.1-update1 to load the tun.ko extension.
I think I need a newer build due the device is relatively new, too.
Builds I googled throughout the internet don't load with insmod. Nor do I have modprobe... so there's no tun support by default and I need to solve that as the last missing problem to get openvpn working.
Could someone give a short walkthrough on how this is done? For the Droid 2 and Droid X devices people have working builds.
Thanks for answers,
Marius

OpenVPN works now on SGS Galaxy 3 (TUN compiled successfull for Android 2.1)

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-

Impossible to find working tun.ko

Hello people,
i'm looking for a working tun.ko for my motorola xoom device:
uname tells me:
Code:
# busybox uname -a
Linux localhost 2.6.36.3-00010-g3139c20 #1 SMP PREEMPT Fri Jul 8 06:11:47 CDT 2011 armv7l GNU/Linux
any help is really appreciate.. i do need openvpn to work.. thank you
--edit--
eventually, please redirect where i can find instructions on how to build such a module.. i mean.. i can easly do it for my linux distro, but no idea about androd versions and arm stuff
No one? I'm running stock 3.1 rom, this is a 3G european tablet
Thank you
is it really so impossible to get that?
please guys, i need some help
Its hard to find anything that works right if you are stock Tun.ko works fine on Tachi. Get root sir. You will lead a happier more fruitful life
bigrushdog said:
Its hard to find anything that works right if you are stock Tun.ko works fine on Tachi. Get root sir. You will lead a happier more fruitful life
Click to expand...
Click to collapse
I'm am root, of course (or there would be no reason nor way to use openvpn itself) i'm just using stock rom intead of other flavors.
all other tun.ko i found are not working because of a different kernel version number. mine again, is:
2.6.36.3-00010-g3139c20
anubisg1 said:
I'm am root, of course (or there would be no reason nor way to use openvpn itself) i'm just using stock rom intead of other flavors.
all other tun.ko i found are not working because of a different kernel version number. mine again, is:
2.6.36.3-00010-g3139c20
Click to expand...
Click to collapse
Gotcha. Just flash Tachi or latest Launchpad kernel and you should be good to go.

[Q] does anyone have XOOM ftdi_sio.ko kernel driver?

Hi there,
did anybody build ftdi_sio kernel driver for XOOM? I desperately need it and I doesnt know how to compile it against xoom kernel.
my kernel version is:
Code:
Linux version 2.6.36.3-gc2bee64 ([email protected]) (gcc v
ersion 4.4.3 (GCC) ) #1 SMP PREEMPT Tue May 3 15:33:26 PDT 2011
If anyone has it or can do it for me, I would be very happy
jupiik said:
Hi there,
did anybody build ftdi_sio kernel driver for XOOM? I desperately need it and I doesnt know how to compile it against xoom kernel.
my kernel version is:
Code:
Linux version 2.6.36.3-gc2bee64 ([email protected]) (gcc v
ersion 4.4.3 (GCC) ) #1 SMP PREEMPT Tue May 3 15:33:26 PDT 2011
If anyone has it or can do it for me, I would be very happy
Click to expand...
Click to collapse
Tell me more about this module. We can likely add it to our kernel config.
that's the usb to serial i/o driver. Also known as pl2303 chipset support. It would go great with the bt5 mod. Would allow connection to ttl serial ports likethe ones in routers, phones, and NAS devices. I.d be glad to test it as I've got several pl2303 serial converters.
I'd like this too. Have several FTDI usb/serial devices.. but only used in Windows. Is there a terminal app that could talk to a virtual com port? I see FTDI even has pages devoted to Android!
+1
+1
i can test it if will be possible
I use FTDI on android with the RXTX library: v-lad.org/projects/gnu.io.android witch allows me to work only in java and this library creates input output streams for me. Its fine but my application has to actually instal ftdi_sio.ko to kernel every time it is running first time after reboot and for xoom I cannot even find this module and I dont know how to build one. It would be nice if there were some kernels supporting this so that it can be used straight away after pluging in usb2serial chip.
+1 for the USB to serial adapter support. I use these guys all the time with windows to talk to FPGAs and the sort. I'd be willing to test, possibly even assist with the work (though I've never successfully compiled a kernel before - I tried tiamat once).
Thanks.
OK guys ill cook this up. Nice to get to a "more experienced " user thread.
Ok guys, give this a run
http://goo.gl/MhIBX
The link to the driver is not working anymore. Would the driver work for the ICS stable version of the eos ROM?

[Q] MK802IIIS Android Stick + AX88179 kernel module compile

ok so I got a lot of help here getting this compiled from this site, this is where I'm at.
I have this: BobjGear USB 3.0 SuperSpeed to RJ45 Gigabit Ethernet Adapter (on amazon)
and it has linux driver source I got from the manufacturer, but running into "version magic" problems starting with the "usbnet" driver in the official source (the driver requires this, plus its a good "test" to see if I can compile these things).
I have the NDK toolchain stuff and ran it against the git depository "linux-sunxi" (sorry can't post links yet )
It seems I'm missing the SMP support for this thing, and I'm not completely sure how to add that in
This is the dmesg on the successful compile: usbnet: version magic '3.0.8+ preempt mod_unload ARMv7 ' should be '3.0.8+ SMP preempt mod_unload ARMv7 ' '
Seems I'm close, just need SMP support to be loaded in. Any help would be appreciated. This is the command I ran to compile against this kernel:
Code:
make ARCH=arm CROSS_COMPILE=~/Downloads/android/android-ndk-r8d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- -C ~/Downloads/android/linux-sunxi/ -j4 modules
Someone has to know how to get this done lol, doesn't SEEM like it's hard and I've been poking around in menuconfig for some way to find this and it seems the git repository for linux-sunxi doesn't have SMP listed in it's kernel config, I've used both that and lichee-3.0.8-sun4i branches linux-sunxi 3.0 recommended branch to try to compile these modules (usbnet and ax88179_178a).
Again, this is a MK802IIIS with a usb ax88179 chipset gigabit ethernet adapter. The modules compile a-ok, but there is a version magic problem and I do believe it has to do with the lack of SMP support that seems to be nowhere to be found in this kernel source.
ax88179
hello, I wanna ask if somebody can help me to compile this Linux driver ax88179 for ainol novo7 venus 4.1.1 android version,3.4.0+
AX88179 simple method for installing on many device?
portacosmin said:
hello, I wanna ask if somebody can help me to compile this Linux driver ax88179 for ainol novo7 venus 4.1.1 android version,3.4.0+
Click to expand...
Click to collapse
I need same thing, i would like to create a driver of this ax88179 adapter that i could insert in all my rooted Android (4.x.x all) device, using if possible TWRP recovery.
Thanks in advance
any news on this??
desperately trying to find kernel for mk802iiis which supporty ax88179!!
any help appreciated!
thank you very much!
lord boeffla might help you guys
Still no compiled drivers for this chipset?
I have this USB adapter and would like to use it.
Anyone have the compiled Android drivers?
Wilsonb said:
I have this USB adapter and would like to use it.
Anyone have the compiled Android drivers?
Click to expand...
Click to collapse
I haven't worked on it since just getting a more compatible USB 10/100 mbit network adapter. It was really *****y and kind of a shame since would it would've been nice to take advantage of some gigabit speeds in my house. Maybe I'll pick it up again and try it for the heck of it. I think there might be more required kernel support for this thing to work that I simply didn't put together. If anyone has progress on this, it seems a lot of us have this adapter sitting around, there really needs to be some android driver builds.
Same here
I just picked up a Galaxy Tab Pro 12.2 along with an Aluratek ether net adapter/USB hub. Tried to download the driver directly from manufacturer, but it will not install. I know literally nothing about compiling drivers. Any and all help would REALLY be appreciated!

Categories

Resources