Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)
FunkyFender said:
Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)
Click to expand...
Click to collapse
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko
Haha, awesome! Flashing now. I'll update with my results.
Edit: Works fantastic! Thanks so much Conap!
Conap said:
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko
Click to expand...
Click to collapse
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!
workshed said:
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!
Click to expand...
Click to collapse
lol yeah i figured i'd post it over on the cfs thread too lol....
Conap said:
lol yeah i figured i'd post it over on the cfs thread too lol....
Click to expand...
Click to collapse
I seen that lol, thanks for answering that question too, even though I was comfortable in assuming it was the same... but that gets me in trouble sometimes, had to ask.
cifs.ko and tun.ko for Eris
Hi
I was looking for a tun.ko for my Eris as well, and was excited to see this thread... unfortunately it appears the link above is now broken.
Conap, I'm running Condemned CM7 on my Eris and I was looking for a tun.ko and cifs.ko. I looked at your kernel thread here
http://forum.xda-developers.com/showthread.php?t=774211
and downloaded DecufuctCFSV9, where I found a tun.ko in /system/lib/modules. However when I tried installing this on my phone via insmod, I got a "failed (exec format error)" so I presume it is not compatible.
Does anyone know where or how I can get the correct cifs and tun kernel modules? Thanks!
Wow, Resurrection lol. All the way from September 2010!
http://forum.xda-developers.com/showpost.php?p=19787703&postcount=6887
tun.ko, but no cifs.ko unless I built it into the kernel and don't remember
i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.
sirblacknite said:
i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.
Click to expand...
Click to collapse
? I was talking about this thread.
Mongoose didn't compile the one I linked you to, this is the .29 kernel I compiled with a tun.ko module and will be in my next eris rom.
... you don't have to use it.
yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!
sirblacknite said:
yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!
Click to expand...
Click to collapse
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
I tried
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much
EasyVictor said:
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much
Click to expand...
Click to collapse
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.
Working!
workshed said:
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.
Click to expand...
Click to collapse
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!
EasyVictor said:
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!
Click to expand...
Click to collapse
Glad you got it working, congrats!
Thank you for testing and sharing your findings, always helpful. Let me know if you run into any weird problems with it, and thank YOU for the contribution!
Hi,
Is there a vibrant custom rom that has a built-in openvpn or tunnel droid? I'm having hard time finding tun.ko for my eclair 2.1 -update1. JFD... thanks...
bump......
CM is starting to port a rom for the vibrant and he is known for having OpenVPN installed right into the main system(OpenVPN addition in the VPN menu of settings/wireless). I know there is a project by someone named fries and if you dig a little further you can find the tun.ko on this site but not sure if it was built for vibrants, i will try it later.
o2cool said:
CM is starting to port a rom for the vibrant and he is known for having OpenVPN installed right into the main system(OpenVPN addition in the VPN menu of settings/wireless). I know there is a project by someone named fries and if you dig a little further you can find the tun.ko on this site but not sure if it was built for vibrants, i will try it later.
Click to expand...
Click to collapse
Did you ever find anything?
Hi,
is there any chance that anybody can already supply the mentioned kernel modules?
I didn't find any kernel sources yet for the 10.1v so I'm wondering if there's a way yet.
Thanks alot,
Dan
Sent from my GT-P7100 using Tapatalk
Any update on this? I would love to be able to use OpenVPN to tunnel my traffic while on public hotspots.
based on the source thread under the developers forum, it was noted that the tunnel driver is in the kernel already. I had issues using openvpn as well, but I have not tried to tweak the config file for openvpn.
Hello,
I had a tun.ko working with FROYO, but this tun.ko module doesn't work with Gingerbread 2.3.4 anymore.
Where can I find a new tun.ko module for Gingerbread 2.3.4 (XXJVP) ?
Thanks in advice
Use Darky's rom (10.1). Works great with OpenVPN.
Check load tun kernel module using insmod
Location is /lib/modules/tun.ko
Binary is installed to /system/xbin/openvpn
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
xdadev_user said:
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
Click to expand...
Click to collapse
Don't have time right now, but I'll try to compile it for JVP tomorrow.
Sent from my GT-I9100 using Tapatalk
don't know if it works, but this is the one extracted from latest darky's rom kernel.
I'm still on 2.2.1, but you may try it and post some feedback..
xdadev_user said:
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
Click to expand...
Click to collapse
I had a quick look, and as far as I can tell tun.ko should not be required as it should be built into the kernel in Gingerbread (that is, if you are not using a custom kernel). At least it is enabled in the kernel config that comes with the sources, can't confirm if it's actually enabled in the shipped kernel, but it should be.
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.
@jps1974
lsmod shows me no tun device
Or can someone explain me how I can build my tun.ko ?
xdadev_user said:
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.
@jps1974
lsmod shows me no tun device
Or can someone explain me how I can build my tun.ko ?
Click to expand...
Click to collapse
That's because it's not a kernel module but built into the kernel instead. So whatever you're trying to do should, from what I understand, work without having to load any module. Anyway, here's a tun.ko that you can try.
my question was stupid
thanks @jps1974,
but with your tun.ko I got the same error message
invalid module format
Click to expand...
Click to collapse
Any idea, what I'm doing wrong ? With Froyo I had no problem.
A module must only be compiled for correct kernel version 2.6.35.7, or?
My Basisbandversion: I9000XXJVP
Kernel-Version: 2.6.35.7-I9000XXJVO-CL182937
Buildnumber: GINGERBREAD.XXJVP
sorry for my dump question, but i´ve never heard about tun.ko
can someone tell me what the **** that is ?
xdadev_user said:
thanks @jps1974,
but with your tun.ko I got the same error message
Any idea, what I'm doing wrong ? With Froyo I had no problem.
A module must only be compiled for correct kernel version 2.6.35.7, or?
My Basisbandversion: I9000XXJVP
Kernel-Version: 2.6.35.7-I9000XXJVO-CL182937
Buildnumber: GINGERBREAD.XXJVP
Click to expand...
Click to collapse
Oh, so you have a JVP firmware with a JVO kernel - you neglected to mention that
Try the attached file.
The module must be compiled using the exact same source code that was used to build the kernel, and also in this case the version string (2.6.35.7-I9000XXJVO-CL182937 ...) must match exactly the kernel. I believe this is because the kernel is compiled without module versioning support, someone please correct me if I'm wrong.
Did you really need the tun.ko? I think thats compiled in the kernel and you don´t need that any more. I have vpncwidget for my vpn connection to my fritzbox.
Hi,
thanks @jps1974,
but with your tun.ko I got the same error message :-(
But I thínk Woddi123 and you jps1974 (mentioned before) are right.
I still have a /dev/tun device. So maybe I really don't need a tun.ko anymore.
Edit: Yes vpnc works. Sorry for this confusions.
Hey,
today I tought about mounting my Windows network share on my rooted Nexus 4.
I searched a bit and found the App CifsManager, but it doesn't seem to work.
I think the problem is a missing module the kernel needs, cfis.ko rather.
Are I am right when I think there needs to be a device-specific module?
If so, is there already a module out there? If not, can you post a link to the needed module?
When I'm out in left field, how do I mount my network shares?
Greetings
I would also very much appreciate it if someone could direct me to a cifs module for the stock 4.2.1 kernel.
Bump -- anyone know which kernels include a cifs module or where one could get a cifs module for use with 4.2 on the N4?
Thanks
Bump.
Bump.
HashWorks said:
Bump.
Click to expand...
Click to collapse
I understand CM 10.1 has CIFS support built into the kernel. That said, I still cannot get it to work - neither through cifsmanager or through adb shell manually.
I am going to post some request for assistance to see if I can get this working and will post back here if I do.