Can anyone point me at, or know of a cifs.ko kernel module that works with the Desire HD ROM?
cheers!
Thread moved to General.
need the same thing - for cifsmanager
kernel 2.6.32.21-gf3f553d
(1.32.405.6)
me searching also. i dont get cifsmanager to work
both the custom kernels in the development section have cifs.ko
but you need to be rooted,s-off and clockwork recovery to install them
I got custom kernel and cifs manager works.
Sent from my Desire HD using XDA App
cifs.ko for AU Vodafone
This isn't going to be of any help to you guys, however if anyone has an AU Vodafone DHD (2.6.32.21-g66cfb7a), the attached file contains:
slow-work.ko, cifs.ko & nls_utf8.ko
In a terminal app execute the following:
PHP:
su
insmod slow-work.ko
insmod cifs.ko
insmod nls_utf8.ko
Then you can open CifsManager and attempt to mount a share. Use an app like GScript Lite if you don't want to type the above out multiple times.
The zip file also includes tun.ko (unrelated to file sharing, but useful for VPN tunneling). You can delete it if you have no use for it.
tun.ko was easy to compile, the cifs related ones were a pain in the ass. I've tried them, and they do work on a rooted AU Vodafone.
Do any custom roms/kernels allow FUSE? because that would be awesome. I would love a OTFE encryption application, but it would only really be practical with FUSE, if only it was included with stock it would be awesome.
Related
Will someone please make a cifs.ko and nls_utf8.ko for the new released kernel (2.6.32.15-ge2fb08e) or send links on how to and the tools needed? Thanks in advanced.
Never mind. Thanks for everyone's help.
Here is what I did to get the cifs.ko and nls_utf8.ko (from here http://forum.xda-developers.com/showthread.php?t=754793) to work for my kernel.
I took the cifs.ko and nls_utf8.ko created by "snq-" and used a hex editor to edit the kernel number to match mine.
That was all, no re-compile needed. then I followed the rest of the steps laid out by snq- to install the files and test them.
Lastly I installed CifsManager which is available on Market and everything worked.
I am able to connect to my network only locally. Comcast seems to be blocking ports so I cannot access smb from outside my network.
Well.. could ya please post the cifs.ko file that works for the rest of us?
Thanks!
cifs.ko and tun.ko
Yes, please post so we can use it too!
Thanks!
Do you know if this will work for Netarchy's 4.21 cfs kernel?
reekotubbs said:
Never mind. Thanks for everyone's help.
Here is what I did to get the cifs.ko and nls_utf8.ko (from here http://forum.xda-developers.com/showthread.php?t=754793) to work for my kernel.
I took the cifs.ko and nls_utf8.ko created by "snq-" and used a hex editor to edit the kernel number to match mine.
That was all, no re-compile needed. then I followed the rest of the steps laid out by snq- to install the files and test them.
Lastly I installed CifsManager which is available on Market and everything worked.
I am able to connect to my network only locally. Comcast seems to be blocking ports so I cannot access smb from outside my network.
Click to expand...
Click to collapse
Hey,
Not sure if this is the right forum or not. But I have tried a few places and ended up with no reply or a dead end so I'm hoping I will actually get some where here.
But is there any way that makes it possible to get tun.ko working on a stock HTC Desire rom?. I have been searching for god know hows long to find any help or instructions on the matter without much help being offered :/
Its because I want to run VPNC on my Desire and I got all the stuff bar tun.ko, so that is the only thing stopping me from going any further and any and all help will be appreciated.
Kind regards.
Yes, you can download the desire kernel from http://developer.htc.com/
You also need the build toolchain for arm processors, find it on http://developer.android.com/sdk/index.html
You need to root your desire, so you can copy files to the system partition. http://unrevoked.com/
The kernel .config file for making oldconfig is , as far as I remember, delivered with the kernel package by htc. If not you can get it from your phone.
Build tun as module, and copy it on yor device.
Hope thats a good quick start for you.
malachay.
It helped somewhat, althought I am not sure how I actually build something as a module etc considering I dont really have much in the way of linux/unix experience.
But my phone is both rooted and S-OFF.
So considering my lack of experience with these things a more elaborate/comprehensive guide or just the steps I need to reproduce to actually build the file as a module, would be greatly appreciated.
MeX_DK said:
It helped somewhat, althought I am not sure how I actually build something as a module etc considering I dont really have much in the way of linux/unix experience.
But my phone is both rooted and S-OFF.
So considering my lack of experience with these things a more elaborate/comprehensive guide or just the steps I need to reproduce to actually build the file as a module, would be greatly appreciated.
Click to expand...
Click to collapse
You don't have to build one per say, you just need to find the Tun module (Tun.ko) for your specific kernel.
If you go to the "About phone" -> "Software Information" section, you'll see a Kernel version.
For example, the phone I have is using Kernel 2.6.32.15-gf5a401c - so I have a tun.ko that loads for that kernel.
There's quite a few TUN modules posted on this forum for various versions of the HTC kernels.
If you don't find a module that fits your kernel version , I can build it for you if you want.
Sent from my HTC Desire using XDA App
Mekrel said:
For example, the phone I have is using Kernel 2.6.32.15-gf5a401c - so I have a tun.ko that loads for that kernel.
Click to expand...
Click to collapse
My kernel seems to be the same, so would you mind sharing your tun.ko and possibly any instructions on how to get it on my phone and working ?
But my kernel version says: 2.6.32.15-gf5a401c
[email protected] #1
MeX_DK said:
My kernel seems to be the same, so would you mind sharing your tun.ko and possibly any instructions on how to get it on my phone and working ?
But my kernel version says: 2.6.32.15-gf5a401c
[email protected] #1
Click to expand...
Click to collapse
Here's the tun.ko I made for my ROM:
Tun.ko for 2.6.32.15-gf5a401c
It's not a flashable zip though, you need to push it to your phone using ADB (or use QtADB if you want a UI program to help you).
You need to put it in /system/lib/modules/
To load it, run terminal emulator on your device (it's free on the market) and run the command:
Code:
insmod /system/lib/modules/tun.ko
Although, if you're using a VPN application on your phone, the application might have an option to load the TUN module for you - so the insmod command might not be needed.
Mekrel,
Do you have the "exact" ADB command on hand?. Because I know how what ADB is for, but doesn't know the commands etc by heart
This is the error I get when I try :/
D:\Test\android-sdk-windows\platform-tools>adb push D:/tun.ko /system/lib/module
s
failed to copy 'D:/tun.ko' to '/system/lib/modules/tun.ko': Read-only file syste
m
Hi!
Seems like there is the same problem on all Android devices. OpenVPN requires the tun.ko kernel module that is hard to get. And it also seems like it must be compiled more or less exactly to much your rom version :-( .
I have a HTC Desire HD running stock rom kernel version 2.6.32.21-gf3f553d [email protected] #1
I have tried various tun.ko modules I have found, but none is comaptible; insmod tun.ko fails.
Questions:
#1 Where can the right version of this magical module tun.ko be found?
#2 Is it hard to compile it for the correct ROM?
#3 How? Isthere any good step-by-step guides.
This could also be a good way to get introduced to compiling kernel modules fro Android devices.
br akeso
Hi,
originally I wanted to post to the
"[KERNEL] Stock Sense 2.6.32.21-gd2764ed [Mod Ramdisk, CPU governors, CIFS, OC]" thread but since i've just signed up I'm not allowed to post there.
I've taken the cifs.ko module from there but when i try to insmod it I get the error Message "insmod: init_module "/system/lib/modules/cifs.ko" failed (No such file or directory"
Im using the stock kernel (2.6.32.21-gd2764ed on my DesireZ (PermRoot and S-off) and want to use "CifsManager" App to mount my shares after I have established my OpenVPN connection to my ubuntu home server. By the way openvpn works fine I just want to mount my shares since DLNA does not work through the VPN tunnel (broadcast problems trough the tunnel)
Is there someone who can provide a working cifs.ko for that kernel or at least some hints how I can get the kernel sources to compile it by myself?
Thanks in advance!
Hi everyone, I use CM7 roms (keep switching between various flavours, just about to flash CM7 RC3 by kali http://forum.xda-developers.com/showthread.php?t=957336
My question is this. How do I get 'TUN' module support in a CM7 ROM. The reason I (think) I need it is because OpenVPN asks for it. I want to use OpenVPN to connect to my work. I've seen at least 3 kernels which support TUN, but they all work with Sense ROMs.
So, at present stage, would it not be possible for me to get TUN support in a CM7 ROM?
TIA.
Bump...
Anybody? Any other solution to connect to an openvpn server?
Sent from my Desire HD using Tapatalk
Tun Support for Gingerbread on Galaxy Tab
Hi everybody,
i have installed Gingerbread with CF-Root from Chainfire and everything is fine. But i need TUN support in the Kernel or by Module. So it is possible to make this running on that CF-Root-Kernel ?
I have start to build my own Kernel but when i load the zImage the Tab always restart with no funktion... When i load only the Build tun.ko module in then CF-Root-Kernel i got the message from insmod:
insmod: can't insert 'tun.ko': invalid module format
dmesg:
tun: exports duplicate symbol tun_get_socket (owned by kernel)
TAB-DATA:
Mod= GT-P1000
Firmware= 2.3.3
Basisbandversion=P1000XXJPZ
Kernel=2..3.7 [email protected] #2
Buildnumber=Gingerbread.XXJQ1
Hope anybody can help me.
Thanks
I have compiled some modules for my i927r and i thought that someone with special needs like myself might want them so i upload them here. the modules are for nfs and cifs. For nfs to work the modules have to be loaded in this order
sunrpc.ko
auth_rpcgss.ko
rpcsec_gss_krb5.ko
lockd.ko
nfs_acl.ko
nfs.ko
I also include a busybox compilation that includes nfs mount support, because the one installed on the market does not. I can now mount everything from console and from mount manager. I hope it helps someone.
ntfs.ko and iso.ko
Following my previous post about (probably useless to most ) modules, i thought I also upload the isofs.ko and ntfs.ko module i compiled and use. And a small detail on the previous subject, to mount nfs shares one has to give the -o nolock option on busybox mount because it seems that there is some problem with locking on mounting and it gives connection refused... I also have some other obscure modules like squashfs and udf, and modules for nfsd and exports for nfs server that i will upload once i get a chance to try them out and make sure they work ok.
CostasTf said:
Following my previous post about (probably useless to most ) modules, i thought I also upload the isofs.ko and ntfs.ko module i compiled and use. ...
Click to expand...
Click to collapse
Can you check the version of your kernel?
If it is version 2.6.34, pls upload the isofs.ko and udf.ko modules.
I nedd them to mount DVD image files.
Thanks.
Great... How do I go about installing them? I have a rooted captivate glide on stock ICS 4.0.4. I have busybox installed and I'm trying to mount a SMB drive as a folder. When I try and load the modules with insmod I get errors. Can you please assist me with this, it would be most helpful! Thanks!