[Q] tun.ko v20n p970 - LG Optimus Black

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?

Related

[Q] Intersectraven's kernel??

I would like to know if config_tun is set to Y or M?
thanks in advanced
For most kernels (including IR's), you can extract the .config file from /proc/config.gz
ch33kybutt said:
For most kernels (including IR's), you can extract the .config file from /proc/config.gz
Click to expand...
Click to collapse
Thanks man. BTW yesterday i switch back from CM 7.0.2.1 to CM 6.1.1 coz of wonk issues and i really want the vpnc app to work. i'm looking for a good battery life kernel currently i'm using WM last kernel version for CM6, if someone can give me a link for IR kernel (latest) that works with CM6.1.1 coz on IR's download page i tried all the kernel's for CM6 eventually i got boot loops and on RS kernel i got FC's & i can't find those with OC/UV. for now i don't have any issues with WM but i really want IR for comparison Thanks

[Q] CIFS support in gingerbread kernel?

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

Request tun.ko for Lg Optimus 2X v20l

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

[Q] tun.ko

anyone having working tun.ko for galaxy note???????????
try downloading tun.ko app from market... its working for me....
kvsandeepreddy said:
try downloading tun.ko app from market... its working for me....
Click to expand...
Click to collapse
for me says its not compatible
install some kernel like abyss and then try...
kvsandeepreddy said:
install some kernel like abyss and then try...
Click to expand...
Click to collapse
right now i am on the stock rom with root is any other rom having tun.ko
Check out speedmod kernel in the dev section.
Franco has disable tun/tap driver in his kernel. I don't know why. Although he has great kernel, I was forced to use speedmode kernel, where tun/tap working great.
mrdaco said:
Franco has disable tun/tap driver in his kernel. I don't know why. Although he has great kernel, I was forced to use speedmode kernel, where tun/tap working great.
Click to expand...
Click to collapse
i am on stock kernel if i flash speedmode kernel will the yellow triangle issue occur and will my counter increase???????
can anyone tell me how to flash kernel
mrdaco said:
Franco has disable tun/tap driver in his kernel. I don't know why. Although he has great kernel, I was forced to use speedmode kernel, where tun/tap working great.
Click to expand...
Click to collapse
i flashed speed mod kernel
now where is tun located ?????
did you downloaded tun.ko?????
Doesnt our note already have a tun module loaded by default? Its what tun.ko installer says. I've been using droid vpn since i got my note.
Kcube989 said:
Doesnt our note already have a tun module loaded by default? Its what tun.ko installer says. I've been using droid vpn since i got my note.
Click to expand...
Click to collapse
Pre patulong naman. Ics ba note ko. May available ba na tun.ko.
romzzp said:
i flashed speed mod kernel
now where is tun located ?????
did you downloaded tun.ko?????
Click to expand...
Click to collapse
Hey @romzzp, did you ever manage to load tun.ko using the SpeedMod kernel? I have posted a more recent question but got no replies yet. Thanks for any info you could give.

Loading tun.ko (for SpeedMod kernel 3-7)

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:

Categories

Resources