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!
Hello guys. I know this is for Android development while what im posting should be in general section but i want to point out that on certain custom ROM like Darky ROM, when i apply Voodoo lag fix, my wifi connection on the galaxy S stopped working on WPA/WPA2 EAP.
According to a few sites, this is normal in 2.2.1 as the software itself is buggy. I dont experience this on my Motorola Droid running 2.2.1 but on galaxy s, it doesnt work.
I search in this forum but ive found no ans, so i google it. and apparently theres a bug fix for the wpa_supplicant
http://www.dead-end.info/wp-content/uploads/2010/12/wpa_supplicant_froyo_eap.gz
Download this in replace your current one in system/bin/wpa_supplicant.
Credit goes to Cova at http://www.dead-end.info/2010/12/13/samsung-galaxy-s-froyo-wpa_supplicant-fix.
All developers should replace their WPA_supplicant with these in all the 2.2.1 rom and perhaps 2.3 rom too.
Cheers! Now my galaxy S is able to connect to my home network on wpa2!
Hi,
me run Darky v.7 Rom too, and guess what ... no wifi wpa/wpa2 problems here!
so no need to install stuff like this
Yeah. Only for those who have these problem. i have the problem after i enabled voodoo. I tried reflashing clean and then apply darky rom, i dont have tht problem too. but once i enabled voodoo, the problem came. Ures has voodoo on?
yep voodoo enabled! even on /system
Just for Info:
On 2.6.35 / gingerbread the kernel module bcm43XX.ko at /system/modules/ must match the kernel.
It means when you compile a kernel, you've to use the bcm kernel module which will be compiled with these kernel. Otherwise Wifi won't work at all.
It's not possible to flash another kernel without replacing the module.
Hi
Running darkys 8.0 rom and it's not working on the WPA/WPA2 EAP at work. Tried your file change but it did nothing ..
codeworkx said:
Just for Info:
On 2.6.35 / gingerbread the kernel module bcm43XX.ko at /system/modules/ must match the kernel.
It means when you compile a kernel, you've to use the bcm kernel module which will be compiled with these kernel. Otherwise Wifi won't work at all.
It's not possible to flash another kernel without replacing the module.
Click to expand...
Click to collapse
Good info to know.
Thanks codeworkx
Your File is Not Working Here is Working file with how to do it
http://www.emoiz.com/how-to-connect-samsung-galaxy-s-to-ad-hoc-wifi-network
this worked 100%
you neet to root the phone and use root explorer to acces it, replace the file with the new one, good as new
but this files still doesn't work with WPA-EAP access points
On xwjv1, no need this, as I can connect to most wifi network...
Sent from my GT-I9000 using XDA App
Anyone know of a working tun.ko module for the XOOM? Trying to get OpenVPN working.
Depends on what kernel your using, but yes. Just google "xoom tun.ko " and it will be your first result.
Weird, I searched earlier and must of overlooked it LOL. Thanks and sorry about that.
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.
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.