[Q] Cifs Manager - Streak 5 Q&A, Help & Troubleshooting

Hi all,
Has anyone been able to succesfully use Cifs Manager or Mount Manager to mount a network smb drive?
I tried both but without a success. I am running Steve's 1.5.1 at the moment.
If anyone managed to get it working, would you mind posting a detailed how-to? In addition I wouldn't mind learning about what "Cifs" are or the cifs modules.
Thank you in advance.
Bledula

Everything is working perfect, I'm using CifsManager (runnig Stock 318 with Performance Fix).
I connect my SMB shares to watch my movie collecten. As settings, i simply used my fileservers ip adress and the folder i want mounted on my streak.

Both my desktop and laptop are running Win7 and I encounter no problems browsing their files using Es file manager for example (astro doesnt work for some reason). Someone in Cifs manager thread suggested I check my file permissions but failed to specify which ones.
Cifs manager did not give any error when I tried to mount anything, while mount manager simply states that it failed to mount.
My Streak runnning Steve's 1.5.1 only has a black taskbar theme applied to it so if anyone has had any success mounting shares on it please let me know.
Sent from my Dell Streak using XDA App

LippiVan said:
Everything is working perfect, I'm using CifsManager (runnig Stock 318 with Performance Fix).
I connect my SMB shares to watch my movie collecten. As settings, i simply used my fileservers ip adress and the folder i want mounted on my streak.
Click to expand...
Click to collapse
Great, that you have cifs working. I've got a O2 streak with 319 stock rom. Can you give more detail about the cifs is it built into the 318 stock rom or did you have to load the files separately (can you share the files please)?
Thanks

Related

[Q] xperia x10 cifs

I want to mount some cifs or even better nfs mounts. I Found the cool cifs app, but I'm having no luck loading the cifs driver.
I have a rooted x10a
firmware 1.6
Kernel 2.6.29-rel semc-android semc 2
Build r1fa014
so what do I have to do? I have looked high and low for a x10 cifs.ko, and tried a ton of others with the app and insmod. Do I need to upgrde the kernel? build?
Current links to what I have to do would be apreciated.
Thanks
check the kernel compiling topic, I posted cifs kernel module for X10 there.
Thanks for the info
I have found your main post: # 716360, Compiling X10 kernel sources.
And I have downloaded your cifs.zip, put it on my x10. I can insmod or use the cifsmanager gui to load the module, and it appears to be running with no errors, lsmod even shows it.
But when I go to mount I still get the "No Such Device" error. Do i need to upgrade my phone first from the above specs?
I don't want to hijack the other post, so ill reply here.
Thanks
bango123 said:
Thanks for the info
I have found your main post: # 716360, Compiling X10 kernel sources.
And I have downloaded your cifs.zip, put it on my x10. I can insmod or use the cifsmanager gui to load the module, and it appears to be running with no errors, lsmod even shows it.
But when I go to mount I still get the "No Such Device" error. Do i need to upgrade my phone first from the above specs?
I don't want to hijack the other post, so ill reply here.
Thanks
Click to expand...
Click to collapse
use the same command line i used on the kernel topic,
also the destination directory must exists.
last but not least, busybox mount instead of the native android mount
if you succeed, please provide compiled module
After some work, I got it to work, and in the end it was not to complicated at all.
1. Get the CIFS module (driver) for the X10, I have attached a copy I am now using for version 1.6. It was compiled by alx5962 and put on these forums in another thread "Compiling X10 kernel sources". There is more info there. I just added "X10" to the name of his file to avoid confusion and posted it here in case of a search engine brought others here for help.
Unpack and save the file somewhere on your SD card, write down where it is at.
2. Install the CIFS Manager from apps, it will need root access to load the cifs module ("Superuser Permissions" app manages this very well), there is lots of info and this is a easy fix. Should be easy to find.
In settings:
Check "Load cifs module"
Check "Load via insmod"
the under path point it to where you saves the cifs modile (something like /sdcard/cifsx10/cifs.ko)
Then setup your share, for example:
Share Path:
192.168.0.1/Share
Mount Point:
/mnt/cifs/Share
Username"
me
Password:
mepassword
Don't worry about any of the options
And that should do it. I did try the command line mounting in the shell, that worked well too, I even made some scripts with a script app. But the CIFS Manager once i figured out my problem(read my note below), worked very well and very easy.
*NOTE* My big problem was an error when mounting "invalid argument". What I found is even if I have the share open to anyone with no password, it will spit out an error if you leave the username and password blank. I just put in "me" and "pw" (or anything really) and i was up and running in one foul swoop!
can i ask what is the point to all this?
mootmaina said:
can i ask what is the point to all this?
Click to expand...
Click to collapse
CIFS also called SMB is the network file sharing used by windows mostly, this would then let you share a folder on you sdcard over you wifi to your home pc leting you copy files to and from your phone without connectinig USB
I haven't tried to share any folders on the sdcard, but I use it to mount shares that are on the network on my pc. ES File Explorer is a nice app to browse the network, but some files wont open well using this.
My main use is to play media, mainly DIVX movies that are stored on my pc. By mounting a share on cifs ( smb - samba, or windows file sharing, both more or less same thing) I can open my DIVX movies with rockplayer and they play like a charm. I have heard of some other apps that have the same issue.
But now I can have access to all of my media stuff when i want.
you can also use webdrive - windows program for mounting ssh filesystems, and launch ssh daemon on android.
Anyone tried this on 2.1? Do we need a new cifs.ko?
Bump.
Anyone got any info on cifs and 2.1? Id like to upgrade but don't want to lose this use.
[sorry] Bump [/sorry]
I tries some of the cifs.ko files i found trying to use the same kernel version (2.6.29), but insmod gave me errors.
Please, if anyone found a working version of cifs.ko for X10 2.1 kernel, post it - or give us a hint ...
(yes i know, compiling it myself would be a way, ... - i promise i will try, but why reinvent the wheel?)
THANKS,
Bax
Bumpito
Still no news about the new cifs.ko ?
Thanks !
Sony Ericsson haven't released the sources for 2.1 yet, so no "cifs.ko" until then. (It seems SE are breaking the GPL license by not releasing their Linux kernel source code)
And is there a way without using cifs.to to play files (such as mp3 or avi) directly from a samba share on 2.1 or we have to wait ?
Bump
Anyone have any luck with 2.1 yet?
hhave we gotten this yet?
cifs.ko experia x10 2.1 rooted
dutchschultz said:
hhave we gotten this yet?
Click to expand...
Click to collapse
In this thread,
http://forum.xda-developers.com/showthread.php?t=716360&highlight=cifs&page=12
Many thanks to alx5962
goto page 1 for instruction, or just use cifsmanager for market

[Q] TnT Lite 4.4.0 & CIFS (help)

Hi Folks.. need some input.. I'm still a noob at this but getting better n better everyday.
After doing lots o diggin, i cannot find any conclusive fix for adding CIFS towards a TNT Lite Rom (or if there's even a fix ) .
The closest thing to a potential fix is
http://forum.xda-developers.com/showthread.php?t=889088
But i'm a little reluctant to pull the trigger on it.
So far TNT lite 4.4.0 for me is perfect... less the CIFS / streaming video I want to do from my xp share.
Any input or comments on this topic would be welcome.
Thanx for your support! You guys rock!
M
I got CifsManager from the Market for my samba shares. Seems to work fine.
Is that what you are looking for? I am on TNT Lite 4.4
TnT Lite 4.4 uses Clemsyn's kernel which has CIFS support. All you need is an app or script to mount your share. I used to use CIFS Manager. Should be available in the market.
Thanx for the quick feedback .. trying CIFS Manager
Step 1) appears that you have 1 shot at setup once you download CIFS Manager..now that it's installed and I muffed my settings .. i try to go back to the CIFS Manager app and i get "Application is not installed on your phone"..but settings show that it IS infact installed. Re-downloading it from app store (after you have uninstalled it) gives you your change again.
Step 2) configuring it correctly to my XP shares of pix movies and music.
Question: when installing CIFS Manager (with the intention of accessing Windows share on XP)... do i need to go into Settings of CIFS Manager.. and load cifs module on startup?
2ndly .. I don't have CIFS.KO on my system ... and in Path to CIFS.KO (setting).. it's looking for it in System/lib/modules/cifs.ko
Do i need this module to make this work?
Where do i get it if i do?
Am i making this more complicated than it should be?
Off to bed.. enuf tweaking for tonite.. but any input is welcome.
Thanx again folks.
M
I haven't touched Menu -> Settings, so I have everything unchecked/default there.
I added my shares using Menu-> Add New Share and I just open Cifsmanager and mount/unmount the shares when needed.
With this setup, the mounts don't survive a reboot.... which is fine with me.
--
Some Kernels include cifs.ko as a separate module that you load/unload as needed. My assumption is this method saves memory, etc by not running modules that aren't actively needed.
I use pershoot's kernel (with Vegan Ginger) and it's set up this way. So I have to point CIFS Manager at my cifs.ko and it will load the module as necessary.
My understanding is that Clemsyn's kernel includes all of the "extra" modules precompiled in. No loading of extra modules. Therefore, you shouldn't have to worry about the path to cifs.ko or anything like that.
Don't get used to this, btw - I plan to go back to stock after the next firmware update. I used clem's this one time to minimize the sleep issue.
I prefer to leave TNT Lite as stock, and let the user decide if they want to add a customized kernel or not. I personally use one, but I felt that keeping it closer to stock is the better idea.
Maverick_120 said:
Thanx for the quick feedback .. trying CIFS Manager
Step 1) appears that you have 1 shot at setup once you download CIFS Manager..now that it's installed and I muffed my settings .. i try to go back to the CIFS Manager app and i get "Application is not installed on your phone"..but settings show that it IS infact installed. Re-downloading it from app store (after you have uninstalled it) gives you your change again.
Step 2) configuring it correctly to my XP shares of pix movies and music.
Click to expand...
Click to collapse
That's a stock Launcher bug - I've seen the same thing. You'd need an alternate launcher to correct (again, a user option - I personally add Launcher Pro as soon as I re-flash my own device. I dislike the stock Launcher).
Thanx Roebeet...
K so this is the plan when i can get my mittens on my tab afterwork.
1) fix the application issue by adding launcher pro (doofus i am, i just figured out its on the market for me to download to apply this potenial fix to my woes.
2) Try CIFS Manager install again .. "as is" sans modules .. and see if i can hit my shares and stream a video or 2... which would be ..friggin awww someee !!
My circle of life will then be complete.
Thanx for your feedback and support guys n gals !
K Update...
1) done... added launcher pro and it did fix the error from CIFS Manager.
2) problem.. installed CIFS manager but not sure how to get to share.
My share on XP is called "movies" in mount point i'm putting /mnt/cifs/movies
put user and pw that has admin rights... no go.
"mounting the share has failed with an error. mount: Invalid Argument"
Any ideas what i may be doing wrong?
M
GOT IT !
In CIFS Manager ..
ipaddress/sharename = 192.168.1.100/movies
Sharepoint
/mnt/cifs/movies <-- believe this mimics a local drive but is really the share
AWEESOME ...
Thanx again folks.
M
I'll add some comments later with the bumps i get on my journey.
I have tnt lite 4.4 but if I do a command in
terminal:
mount -t cifs //192.168.0.5/video /mtn/cifs/video
I get the error
mount: Invalid argument
But the kernel with tnt lite 4.4 has cifs built in,
doesn't it?
EDIT: the problem was simply that I need to add "guest" as username for
a freely browsable share ...

[Q] Can't figure out how to access windows shares

Running TNTLite 4.4 and pershoot's latest kernel. Using CIFS Manager. Keep getting "No such device". I thought Pershoot's supported CIFS. Can anyone help? What am I missing?
Maybe a little off-topic, but if all you need is to copy files to/from shares, you can do that using ES File Explorer.
Just FYI...
Jim
blowe said:
Running TNTLite 4.4 and pershoot's latest kernel. Using CIFS Manager. Keep getting "No such device". I thought Pershoot's supported CIFS. Can anyone help? What am I missing?
Click to expand...
Click to collapse
copy the cifs module from the lib..gz archive to your system under modules, and load it in with CIFS manager.
instructions are contained at the bottom of every blog post.

CIFS kernel module for ICS

I've seen a few posts from people wanting native network file support for our Primes. I'm attaching the cifs.ko kernel module for 2.6.39.4 (ICS on the Prime).
CifsManager (search for in market) makes mapping shares and retaining them very easy and is free...busybox mount can be painful.
You must have root to use the module.
cifs.zip contains cifs.ko and cifs.ko_debugon.
the debug_on module has extra extensions/functionality/debug capability. It's not needed, but I included just in case anyone needs it.
great.. now, can you fix the loss of ad hoc network support for tethering we lost in ICS
What is the best way to autoload the md4 module when the cifs module is loaded. cifsmanager could not mount the share unless I manually loaded the md4 module from a shell.
Lock-N-Load said:
great.. now, can you fix the loss of ad hoc network support for tethering we lost in ICS
Click to expand...
Click to collapse
I wish...for now I'm using my EVO's hotspot.
ChrisDos said:
What is the best way to autoload the md4 module when the cifs module is loaded. cifsmanager could not mount the share unless I manually loaded the md4 module from a shell.
Click to expand...
Click to collapse
I'll be honest, I'm new to development in Android. I've been developing and using Linux for a long time, and these phones/tabs aren't exactly built up the way a real linux box is. On our Primes, the init files appear to be baked into the bootloader, so even if you modify one to add insmod calls, its wiped on a reboot.
Once we get the bootloader unlocked.....
Your best bet is to download ScriptManager or an app from the market which you can set to run a custom script after a reboot.
you just need to create something like:
# LoadModules.sh
# Load my kernel modules
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/md4.ko
# end file
Have ScriptManager run this at startup.
Is there also a cifs.ko for Kernel 2.6.36.3 (Honeycomb)?
We german USer have to wait for ICS so an interimssolution woud be great...
reagrds
MrLee
cifs module for HC
Mr99Lee said:
Is there also a cifs.ko for Kernel 2.6.36.3 (Honeycomb)?
We german USer have to wait for ICS so an interimssolution woud be great...
reagrds
MrLee
Click to expand...
Click to collapse
I can't test this, but here you go. Please let me know if it works
Lock-N-Load said:
great.. now, can you fix the loss of ad hoc network support for tethering we lost in ICS
Click to expand...
Click to collapse
Mine appears fine?
ChrisDos said:
What is the best way to autoload the md4 module when the cifs module is loaded. cifsmanager could not mount the share unless I manually loaded the md4 module from a shell.
Click to expand...
Click to collapse
Works fine in combination with CifsManager. In CifsManager settings I checked "Load cifs module", checked "load via insmod" and in "Path to cifs.ko" I wrote both modules - /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko
I just want to say thanks for this...in case anyone's wondering, having the Cifs capability will allow you to run an app like CifsManager to make Samba share folders (for example, the shared folders on a windows network) show up like they're on a drive on your tablet. That means that any file you can open from a memory location on your tablet can be opened from across the network. Apps such as ES File explorer offer a limited capability to open certain types of files directly, if your tablet has an app to open them, but it only works for file types the dev's put into it (in general, movies, music, pictures and pdf's). With Cifs support, anything that can be opened directly on the tablet can be opened over the network, without an intermediary app like ES File Explorer.
sklid said:
I can't test this, but here you go. Please let me know if it works
Click to expand...
Click to collapse
Great!!!!!
Works like a charm. Here comes my 10tb tablet.
Thank you very much!
bis denne
Mr.Lee
ParaTr00per said:
Works fine in combination with CifsManager. In CifsManager settings I checked "Load cifs module", checked "load via insmod" and in "Path to cifs.ko" I wrote both modules - /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko
Click to expand...
Click to collapse
Yea, I did the same thing. I'll give it another reboot and do some more digging.
This probably explains why CIFSManager wouldn't work for me last night
Added the needed 2 modules and provided path to the program, will test when I get home!
Thanks!
ParaTr00per said:
Works fine in combination with CifsManager. In CifsManager settings I checked "Load cifs module", checked "load via insmod" and in "Path to cifs.ko" I wrote both modules - /system/lib/modules/cifs.ko:/system/lib/modules/md4.ko
Click to expand...
Click to collapse
Works very well, thanks for the tip. I have used Cifs Manager before and it always works well.
Just out of curiosity what tool chain are you using to compile these?
scook9 said:
This probably explains why CIFSManager wouldn't work for me last night
Added the needed 2 modules and provided path to the program, will test when I get home!
Thanks!
Click to expand...
Click to collapse
Worked. Thanks!
still a aos newb...
so, i just extract the files from the zip (3) and move them to - system/lib/modules/ with root explorer?
think this works, but what is the file path for ics? mnt/ isn't correct? i keep getting error saying no such file or directory....
fuzzer said:
still a aos newb...
so, i just extract the files from the zip (3) and move them to - system/lib/modules/ with root explorer?
think this works, but what is the file path for ics? mnt/ isn't correct? i keep getting error saying no such file or directory....
Click to expand...
Click to collapse
I had the same problem and after messing with it for a while, I got it to work.
You do place those files in the system/lib/modules/ folder. You need to make sure those modules get loaded by going to a terminal emulator (available in the market) and typing these lines,
Code:
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/md4.ko
After that, the Cifs manager app should work, or you can just type the command for it. Cifs manager app basically just uses this command to mount your drive.
Code:
busybox mount -t cifs //192.168.x.xxx/<Share> /mnt/cifs/<Share> -o username=<username>,password=<password>
You can just put those commands in a script to run each time it boots as well with script manager, but I haven't yet gotten that to work. It seems that app is buggy and crashes a lot on my prime.
Thanks, now how about the folder structure? I tried to put it in removable, and it created a new folder on the root?
is it case sensitive?
also, is it becausae of ICS that some apps don't see "Removble"...i hope they fix this, kinda sux not being able to use the removable sd card for everything....
fuzzer said:
Thanks, now how about the folder structure? I tried to put it in removable, and it created a new folder on the root?
is it case sensitive?
also, is it becausae of ICS that some apps don't see "Removble"...i hope they fix this, kinda sux not being able to use the removable sd card for everything....
Click to expand...
Click to collapse
Are you using the Cifs manager app (or command line)? I have only mounted mine to /mnt/cifs/<Share>. Root explorer can get you to that directory. I just added the video directory (e.g. /mnt/cifs/<Share>/Movies) to Mizuu. Mizuu is amazing if you are using the network drive to stream movies from. Then I don't have to worry about getting to that directory anymore.
You should be able to tell any media player app where to look. I will have to try a different folder location to see if I can get it to mount anywhere else though. I am at work right now though...
when i move the files from the sdcard using root explorer
and try to run it i get
insmod: init_module '/system/lib/modules/cifs.ko' failed (File exists)
What could be the problem?
Edit: it seames to be that the module is alredy loaded, and my problem was the mount pont, all is working now!

[Q] CIFS Support in kernel

Anyone here using an app to Auto Mount CIFS name Mount Manager? I WAS using CIFSManager and it seems like the built in kernal support CIFS, because it was able to mount my SMB shares.
But I wanted automation and found an app call Mount Manager. However it wasn't able to mount the SMB shares.... I thought it was strange... but wanted to see if anyone else had this problem with Mount Manager, or know of an alternative to auto mount SMB shares via CIFS
I can't mount cifs at all on my AT&T GS3 using cifs manager or mount manger. There is a folder named "/sys/modules/cifs" on my system, but there is no cifs.ko module anywhere. I get a segmentation fault when I try to mount.
Anyone have cifs.ko?
redondo_se said:
Anyone have cifs.ko?
Click to expand...
Click to collapse
I don't think you need cifs.ko because I believe CIFS support is compiled into the kernel directly.
Take a look at https://github.com/sgs3/SGH-I747/blob/master/arch/arm/configs/m2_att_defconfig, the default AT&T configuration from the kernel sources. It includes "CONFIG_CIFS=y". The Sprint and Verizon configurations include the same.
Cifs works fine with the stock kernel, I didn't need to patch. I used Cifsmanager as well.Just make sure to root.
Sent from my SGH-I747M using xda premium
I was able to mount smb file shares without a cifs ko as well. Pretty cool that they decided to leave that as part of the kernel...
Sent from my SGH-I747M using xda premium
redondo_se said:
I can't mount cifs at all on my AT&T GS3 using cifs manager or mount manger. There is a folder named "/sys/modules/cifs" on my system, but there is no cifs.ko module anywhere. I get a segmentation fault when I try to mount.
Anyone have cifs.ko?
Click to expand...
Click to collapse
I got it working now.
I was trying to mount shares on a W2K8 server on a domain. I was getting a segmentation fault when specifying the domain in the options. I removed the domain from the extra arguments, and it works fine.
On my Epic 4G, I specified the domain and it worked fine. Oh well, whatever it takes.

Categories

Resources