Hi, I have been searching - to no avail - some existing answers that seemed relevant.
My question is simple: my Galaxy Note N7000 is running the recently rolled out stock ROM ICS 4.0.4 (LRG), to which I flashed the K3-7 SpeedMod kernel (which works fine - including NTFS support - apart from the bluetooth problem etc).
However, it seems that it is missing tun.ko and I cannot run OpenVPN (which is a must for me).
I have tried using the tun.ko loader app from the market but it tells me that there is no available module for my combination (ROM, kernel, model).
Can someone please help? Thanks very much!
PS. I am a new member and cannot post to dev forums (ie directly to the kernel discussion)
tasism said:
Hi, I have been searching - to no avail - some existing answers that seemed relevant.
My question is simple: my Galaxy Note N7000 is running the recently rolled out stock ROM ICS 4.0.4 (LRG), to which I flashed the K3-7 SpeedMod kernel (which works fine - including NTFS support - apart from the bluetooth problem etc).
However, it seems that it is missing tun.ko and I cannot run OpenVPN (which is a must for me).
I have tried using the tun.ko loader app from the market but it tells me that there is no available module for my combination (ROM, kernel, model).
Can someone please help? Thanks very much!
PS. I am a new member and cannot post to dev forums (ie directly to the kernel discussion)
Click to expand...
Click to collapse
It may be silly to reply to one's own post, but I found the problem and would like to share it just in case someone else encounters it.
It was not at all a kernel problem, in fact SpeedMod indeed includes the tun.ko module (if you run the tun.ko finder app it will tell you that it is already loaded). My problem was ifconfig, in the OpenVPN installer configuration I had to set the ifconfig path to: /system/bin/ifconfig (and not /system/xbin/...). It all became apparent after looking at the openvpn log files and understanding where it was failing.
Thumbs up for the SpeedMod kernel! :good:
Related
Hi guys, today tried access my pc shares by sgs, and it looks like my current kernel doesnt have cifs module (cf 3.2).
My question, is there any kernel for jvh with cifs support available? or can I add cifs module to current kernel, if yes how?
polariscon said:
Hi guys, today tried access my pc shares by sgs, and it looks like my current kernel doesnt have cifs module (cf 3.2).
My question, is there any kernel for jvh with cifs support available? or can I add cifs module to current kernel, if yes how?
Click to expand...
Click to collapse
Try this kernel module: http://forum.xda-developers.com/showpost.php?p=12997697&postcount=123 (also linked in one of the first posts in chainfire's thread, IIRC).
thanks. it worked.
slow-work.ko + cifs.ko for JVZ (2.3.6)?
about five days ago, i flashed stock JVZ firmware to my SGS. so far, my experience has been excellent: smooooth(!!!), quicker browser, no battery drain, stable.
rooted it with CF root 4.3, works fine.
i just need new CIFS kernel modules - anyone know where to get compatible slow-work.ko and cifs.ko?
i am aware of this post/thread: http://forum.xda-developers.com/showthread.php?t=761414. they used to work on my previous JVP firmware, but none of the modules shown there can be loaded in JVZ. insmod slow-work.ko always returns "exec format error".
or, if anyone cares to explain to a non-developer (but a power-user) how to compile them myself...in plain ENGLISH please ;-)...i'll make some and post them here. sorry, all the threads i have found here so far regarding self-compiling kernel modules assume reasonable pre-requisite knowledge, which i dont have... :-(
thanks in advance!
Do you have any progress with the issue, damazta? I have same problem: slow-work.ko + cifs.ko for XWJVZ (2.3.6) on SGS. No compiled modules for the params.
thanks already.
Yes there is. I am using alliance rom's base release jw6 right now.
It is very close to stock samsung FW, runs super smooth, fast and stable AND includes a pre-compiled cifs.ko module, which works like a charm!
Highly recommended. Great forum over there with idiot-proof installation instructions. Go for it!
Sent from my GT-I9000 using Tapatalk 2
Hi everyone,
I need tun/tap driver to get openvpn working. I know some kernel/rom have that, like CM, neoblaze, djdroid etc. But I want to keep stock kernel with stock rom because I have tried every roms and the stock one satisfies me the best! But it only lacks tun driver !
Can somebody compile a tun.ko file working with the stock rom and kernel? Thank you.
I've tried and I don't think it's possible. tun.ko requires the kernel to export the symbol "outer_cache" which it does not. (only tegra kernel seems to be missing this as default...). It's an easy fix, but to use the generated module you would have to replace the kernel as well (to one that exports the required symbol)
Thank you for you answer.
I have tried to do that too and wasted 2 hours. I wonder if I do it right. I downloaded not the aosp kernel but the v20l kernel source from http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGP990. I used this tutorial http://stevechui.blogspot.com/2011/10/compiling-kernel-modules-tunko-for.html. But the Lg sources doesn't include the tegra folder.
ergoen, you seem to say that you managed to create a tun.ko file with a slightly modified stock kernel ? That would be what I search for.
just flash spica HP kernel SR2 and if you want flash the PP7. it does support tun.ko and cifs.ko already tried. good luck if you want to try (in his kernel it's not module but it's on built in driver)
i use vpn to my office with vpnc connection and it good to go
here is the link if you want to download vpnc connection
Code:
http://code.google.com/p/get-a-robot-vpnc/downloads/list
just download the vpnc connection.apk don't download anything else in there
Or try the Modaco custom kernel r26 with GR5. You can get a nearly stock phone with that.
ergosum said:
Thank you for you answer.
I have tried to do that too and wasted 2 hours. I wonder if I do it right. I downloaded not the aosp kernel but the v20l kernel source from http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGP990. I used this tutorial http://stevechui.blogspot.com/2011/10/compiling-kernel-modules-tunko-for.html. But the Lg sources doesn't include the tegra folder.
ergoen, you seem to say that you managed to create a tun.ko file with a slightly modified stock kernel ? That would be what I search for.
Click to expand...
Click to collapse
I can build a kernel based on stock source with tun enabled and provide a cwm flashable.
ergosum said:
Hi everyone,
I need tun/tap driver to get openvpn working. I know some kernel/rom have that, like CM, neoblaze, djdroid etc. But I want to keep stock kernel with stock rom because I have tried every roms and the stock one satisfies me the best! But it only lacks tun driver !
Can somebody compile a tun.ko file working with the stock rom and kernel? Thank you.
Click to expand...
Click to collapse
It's not possible to keep stock kernel and just add the modules as if... You have to recompile the whole kernel and flash it... So why doing this as other kernel based in stock sources are available? Install SR2 kernel from spica and it will be perfect. A you perhaps... Know if you change only kernel it won't affect your /system, so you ROM will be stock like...
Don't waste time trying to make things that have already been made and working.
You have to recompile the whole kernel and flash it... So why doing this as other kernel based in stock sources are available?
Click to expand...
Click to collapse
Because I tested other kernels and even if there are lots of improvement authors do, there are some bugs they introduce (ex: neoblaze => tethering not working, thanatos 4.2 => mybackuppro not working, cm7 => hdmi partialy working, djdroid => changements I don't like, etc) or changements I don't like. That's why I like the principle of using the stock rom/kernel as long as everything works.
I don't know about spica kernel, it's the only one I've not tried with swiftextreme. I will try it maybe later because restoring apps takes some time.
ergosum said:
Because I tested other kernels and even if there are lots of improvement authors do, there are some bugs they introduce (ex: neoblaze => tethering not working, thanatos 4.2 => mybackuppro not working, cm7 => hdmi partialy working, djdroid => changements I don't like, etc) or changements I don't like. That's why I like the principle of using the stock rom/kernel as long as everything works.
I don't know about spica kernel, it's the only one I've not tried with swiftextreme. I will try it maybe later because restoring apps takes some time.
Click to expand...
Click to collapse
Flashing kernel doesn't touch /data you don't need to restore apps.
NeoBlaze seems not working with 20L. swiftextreme works only with CM7.
Hey there,
i've just built tun.ko vor v20l stock kernel.
Added a "struct outer_cache_fds outer_cache" in tun.c to replace a missing symbol in the stock kernel.
Greetings
Thank you so much tantalus! Although today I just installed Django with spica kernel (so with tun), that file should be usefull to other people!
tantalus1983v2 said:
Hey there,
i've just built tun.ko vor v20l stock kernel.
Added a "struct outer_cache_fds outer_cache" in tun.c to replace a missing symbol in the stock kernel.
Greetings
Click to expand...
Click to collapse
Hi there.
How can I install this module?
I have the v20o stock kernel: will it work?
Thank you!
svetj said:
Hi there.
How can I install this module?
I have the v20o stock kernel: will it work?
Thank you!
Click to expand...
Click to collapse
OK, I've solved using Module Loader.
Using VPNC widget I get connected to cisco our vpn gatway.
Hope this help.
Bye
I recently flashed my Captivate (I897) to stock leaked 2.3.5 I897UCKK1
I am trying to understand what my options are for rooting to regain wifi tethering capability. Unfortunately, I really don't understand the kernel interaction and the potential compatibility issues. Normally, I understand I just need to stay on a kernel that was sourced from the same version (in this case KK1).
Anyway, I am hoping for some information on what kernels might be OK to use with my current ROM. My wish list in a kernel at this point would be BLN, EXT4 Lagfix (Voodoo or new CWM) and Root. From reading, it sounds like there is a lot more support for KK4.. Maybe I need to move to a KK4 ROM as well?
Thank in advance for not flaming the noob (I hope)
Davensocal said:
I recently flashed my Captivate (I897) to stock leaked 2.3.5 I897UCKK1
I am trying to understand what my options are for rooting to regain wifi tethering capability. Unfortunately, I really don't understand the kernel interaction and the potential compatibility issues. Normally, I understand I just need to stay on a kernel that was sourced from the same version (in this case KK1).
Anyway, I am hoping for some information on what kernels might be OK to use with my current ROM. My wish list in a kernel at this point would be BLN, EXT4 Lagfix (Voodoo or new CWM) and Root. From reading, it sounds like there is a lot more support for KK4.. Maybe I need to move to a KK4 ROM as well?
Click to expand...
Click to collapse
I suspect you're right. KK4 does have a good following since it is the newest leak, and there are several KK4 based ROMs out there in active development that support lagfix.
You won't find BLN on any i897 ROMs, though. There's no source code from Samsung so there is no way for the devs to add it in. For that, you would need to use an i9000 ROM or a 2.2 i897 ROM.
Thank you!
Hi!
I flashed the v20n this afternoon and it works fine but the vpnc client is no longer working. It says there is no tun.ko. So i learned that i have to flash my kernel...
No idea how to do that and how to get the right one...
Pls help !!!
I dont know if the tun.ko is enough, or if you really need a whole new kernel. If you need another kernel, you can go to Huexxx' Zeus thread in dev section and take one of his diana kernels, cause those have got VPN enabled and tun.ko is in his ROMs, too. But I am going to make a flashable zip for you and then you can test and see if it is enough
---------- Post added at 12:51 AM ---------- Previous post was at 12:33 AM ----------
Here is my flashable .zip with tun.ko in it, from Zeus ROM, so credits to Huexxx
http://www.mediafire.com/?vtrb50zxqpmhamt
I flashed the zip file, but unfortunatly it´s not working, vpnc still says no tun.ko. I found a support site and they say there must be a tun.ko in system - lib - modules. right now its in system - etc -modules.
Would you be so nice and modify that zip file for me...
Thx..
Golga said:
I flashed the zip file, but unfortunatly it´s not working, vpnc still says no tun.ko. I found a support site and they say there must be a tun.ko in system - lib - modules. right now its in system - etc -modules.
Would you be so nice and modify that zip file for me...
Thx..
Click to expand...
Click to collapse
Here you go, hope you get it working. And if not, simply flash a custom kernel of Huexxx
So. Now i flashed Kernel_4.4.3_eabi by Huexxx and it works!!!
Thx for the help!!!
Did you flash my tun.ko as well, or was the kernel already enough?
i flashed only the kernel. it´s a bit unstable at the moment. it crashed twice today. have to do it once again all over again. Any recommendations which kernel i can try instead of huexxx´s with my rooted v20n?
Try one of these: http://forum.xda-developers.com/showthread.php?t=1536264
All stock or diana kernels
Hm, the only one working with vpnc is the Kernel_4.4.3_eabi. So i give it another try and set up my system again..
Update: the system is too unstable . So if anyone has another tun.ko or a kernel which fits into the rooted v20n i would be the happiest ob user ever
Any Solution For PPTP, L2TP VPN On Stock Firmwares ...
I Have Requested This Many Times ...
PPTP, L2TP VPN Working On CM7 ...
Golga said:
Hm, the only one working with vpnc is the Kernel_4.4.3_eabi. So i give it another try and set up my system again..
Update: the system is too unstable . So if anyone has another tun.ko or a kernel which fits into the rooted v20n i would be the happiest ob user ever
Click to expand...
Click to collapse
Ok, I had the same problem, but I found solution - you should compile tun.ko by yourself. I've done it yesterday - the result was tun.ko working on rooted v20n (kernel version: 2.6.35.7+). Download and try tun.ko from attachment
Thanks!!!
Hey, thanks, great job, vpn is working!!!
I would like to compile it myself, but actually i don´t have a clue how to do it
Is there a thread or guide somewhere?
I've compiled tun.ko module for Arc 4.0.3 stock kernel.
Since the firmware I use is the Arc S one (ICS 4.0.3) - I believe this module will also work for Arc S.
Download:
Use it at your own risk!
tun_arc_ics.zip
This was was a difficult one to make, Sony choosed to disable some features within the kernel, but I was able to finally build it correctly so that the phone doesn't reboot.
One more reason I don't like other kernels beside what producer put - they have more 'junk' just because the PC can build it. Sony seems to keep everything very controlled and slim. Replacing the kernel usually puts something not phone optimized.
Enjoy!
PS: I will create a small installer with the modules, so you don't have to use other kernels and complex procedure if you want other governors and tun.ko (before this I will build cifs).
you should make a thread for all your modules..it will be much better. nice work man.
How to use it? Please teach me! Thanks
error01671 said:
How to use it? Please teach me! Thanks
Click to expand...
Click to collapse
This module was meant to be used with OpenVPN .. or other things where you might need the tun module ?
You could start here: https://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer