[Q] cifs.ko for 2.6.32.21-gd2764ed kernel on DesireZ - G2 and Desire Z Q&A, Help & Troubleshooting

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!

Related

[Request] cifs.ko for kernel 2.6.32.15-ge2fb08e

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

[Q] cifs.ko

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.

[Q] 'TUN' Support in a CM7 ROM? Kernel?

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

cm7 2.6.37.6 openvpn tun.ko needed!

HTC Desire with CM7.2.0.1 kernel 2.6.37.6-cyanogenmod-g2a32a61
tun.ko is missing from /system/lib/modules
Needed to work with openvpn to connect to pfsense firewall (or any other openvpn)
Tried tun.ko installer but tun.ko for device above doesnt exists in db.
Any help will be apreciated!

Xperis S: cifs support?

Does XS has a cifs.ko in stock rom to use samba shares? If not, as I assume, is there a way to get this module for an rooted XS? Or are there any custom kernels with cifs support, which I can use on a stock rom?
stm999999999 said:
Does XS has a cifs.ko in stock rom to use samba shares? If not, as I assume, is there a way to get this module for an rooted XS? Or are there any custom kernels with cifs support, which I can use on a stock rom?
Click to expand...
Click to collapse
If you gain root access to your XPERIA S(LT26i) you should be fine.
You can then use CIFS Manager and Samba Fileshaing as is your want.
I chose to use RaymanFX' ELiTE V2 Kernel on my XPERIA S in case that is a factor in making CIFS and Samba share operational, but I don't think it's required.
I'm using CIFS and Samba file sharing without any problems, no *.ko downloads required.
CIFSManager is only a manager, it needs cifs support in kernel.
But I will have a closer look at your kernel, at first sight it looks interesting.
I'm am using an SXAS and I've been looking into this, tool.
After some trying with different kernel modules I downloaded the kernel sources from Sony's developer webpage. And then it became very clear:
Theoretically our 6.2.B.0.200 firmware's kernel has integrated cifs support. The kernel config says so.
So I connected with adb and tried to mount via command line and looked at dmesg. It says: "CIFS VFS: Connecting to DFS root not implemented yet". This means: The kernel should be able to handle cifs, but there is a bug. Either it is the mount utility from the busybox I've installed or it is a bug in the kernel. Since our firmware uses a 3.4.0 Linux kernel and due to some googleing, I assume this to be a kernel bug.
You can find some source code patches in the internet. Maybe I'am patient enough to try building my own kernel.
stm999999999 said:
CIFSManager is only a manager, it needs cifs support in kernel.
But I will have a closer look at your kernel, at first sight it looks interesting.
Click to expand...
Click to collapse
mattes13 said:
Maybe I'am patient enough to try building my own kernel.
Click to expand...
Click to collapse
I did build the kernel with the applied patch, but it didn't solve the problem. I guess I have to do some more research within the kernel forums. So no cifs yet.
mattes13 said:
I'm am using an SXAS and I've been looking into this, tool.
After some trying with different kernel modules I downloaded the kernel sources from Sony's developer webpage. And then it became very clear:
Theoretically our 6.2.B.0.200 firmware's kernel has integrated cifs support. The kernel config says so.
So I connected with adb and tried to mount via command line and looked at dmesg. It says: "CIFS VFS: Connecting to DFS root not implemented yet". This means: The kernel should be able to handle cifs, but there is a bug. Either it is the mount utility from the busybox I've installed or it is a bug in the kernel. Since our firmware uses a 3.4.0 Linux kernel and due to some googleing, I assume this to be a kernel bug.
Click to expand...
Click to collapse
Okay, for anybody, who is interested: I have not tried the following using the stock kernel of .200 or .211 since I'm on Forzaferrarileo's JB kernel at the moment. However, after a lot of internet research I found out how to configure the cifs manager app to mount Samba shares again.
Share Path: //<ip>/<share>
Mount Point as you like it
Username as needed
Password as needed
Options: sec=ntlm,iocharset=utf8,unc=\\\\<ip>\\<share>
It appears that the Samba developers changed their mounting syntax. Although the app states to start the share path with the ip, you need the double slash. And although the share path is already defined, they want it again in the options with the unc option. There you need to double all backslashes. If you have spaces in the unc path, use double quotation marks around your path.
Additional info: currently, I'm using busybox version 1.20.2.
Cifs is enabled and the module is built in kernel . Need only right use of cifs manager
Sent from my LT26i using xda app-developers app
Forzaferrarileo said:
Cifs is enabled and the module is built in kernel . Need only right use of cifs manager
Click to expand...
Click to collapse
Forgot to mention that explicitly, thx.

Categories

Resources