Hi all, on my Linux box I can mount shares by their IP addresses as shown below
mount //192.168.1.3/music /mnt/music
but when I try it in Android terminal I get "invalid argument" error, what am I doing wrong ?
pkfox said:
Hi all, on my Linux box I can mount shares by their IP addresses as shown below
mount //192.168.1.3/music /mnt/music
but when I try it in Android terminal I get "invalid argument" error, what am I doing wrong ?
Click to expand...
Click to collapse
As far as I know you can't mount NFS natively in android. However if you try something like ES File Explorer it should work, I use it for my home SAN all the time. You can't "mount" it but you can browse it and play movies, music, copy stuff, etc.
Lethe6 said:
As far as I know you can't mount NFS natively in android. However if you try something like ES File Explorer it should work, I use it for my home SAN all the time. You can't "mount" it but you can browse it and play movies, music, copy stuff, etc.
Click to expand...
Click to collapse
These are CIFS shares
pkfox said:
These are CIFS shares
Click to expand...
Click to collapse
Same thing really. There's no kernel support for it. I think I remember someone released a cifs.ko module for the TF101 a long time ago but don't take my word for it. But there's a few different CIFS managers free on the play store. I'm sure you'll fine one you like.
Lethe6 said:
Same thing really. There's no kernel support for it. I think I remember someone released a cifs.ko module for the TF101 a long time ago but don't take my word for it. But there's a few different CIFS managers free on the play store. I'm sure you'll fine one you like.
Click to expand...
Click to collapse
OK thanks for your time.
Related
CIFS Manager says it's not installed if I try and run it from the apps screen with VEGAn-Tab Beta 5. However, if I run it from Market it runs. Any ideas?
Also, how do I get it to connect to anything? I did a search for CIFS.KO with root explorer (once with CIFS and another with CIFS.KO) as the search term. The only thing that shows up is CifsManager and it's correndponding dirs. I thought CIFS was part of VEGA-N.
BTW - newbie here so I'm trying to remember my Liniux stuff from years ago.
gksmith said:
CIFS Manager says it's not installed if I try and run it from the apps screen with VEGAn-Tab Beta 5. However, if I run it from Market it runs. Any ideas?
Also, how do I get it to connect to anything? I did a search for CIFS.KO with root explorer (once with CIFS and another with CIFS.KO) as the search term. The only thing that shows up is CifsManager and it's correndponding dirs. I thought CIFS was part of VEGA-N.
BTW - newbie here so I'm trying to remember my Liniux stuff from years ago.
Click to expand...
Click to collapse
You need to run it from a different launcher. Something like Launcherpro. It does not like the stock launcher...
You set up the shares from the cifs manager app. ipaddress/sharename....
I tried but I know I not doing it right. If you say we set up everything in CIFS Manager, does that mean we don't need to do anything at all with my computer?
xmr405o said:
I tried but I know I not doing it right. If you say we set up everything in CIFS Manager, does that mean we don't need to do anything at all with my computer?
Click to expand...
Click to collapse
Only thing you need on your PC is the folder you want to use be shared and accessible on your network.
Super Newb alert.
Thank you for your response. I think it's the way I'm inputting the details in CIF Manager. I think I got far as my IP address but I'm not sure if I'm putting the right share path. The mount point should point to the folder I created on my internal sd card, right?
Also, Username and password - Do I need to fill that out?
xmr405o said:
Super Newb alert.
Thank you for your response. I think it's the way I'm inputting the details in CIF Manager. I think I got far as my IP address but I'm not sure if I'm putting the right share path. The mount point should point to the folder I created on my internal sd card, right?
Also, Username and password - Do I need to fill that out?
Click to expand...
Click to collapse
You need a user name and password if that is how the shared folder on your PC is setup. Pretty much if you need a password to get into your computer, you need it for the shares.
Set up the mount point something like this but use your computers IP and folder name.... 192.168.0.109/share
The other part depends on what rom you are using. Stock TnT, vegaN, which one? Not all of them have CIFS built into them. TnT, and TnTLite require a kernel patch that is located in the forum. vegaN should already have it.
xmr405o said:
Super Newb alert.
The mount point should point to the folder I created on my internal sd card, right?
Click to expand...
Click to collapse
I just noticed what you wrote.. The shared folder is on your PC, not on your tablet.. If you leave everything at default in cifs manager it will create a cifs folder under /mnt/cifs in a file manager. The shared folder on your pc will show up inside this folder.
Once you have the share setup on cifs manager you need to tap on the name and see if you get a little green indicator. That is mounting the share. You won't see your folders until you do.
If so, please let me know what I need to do?
I have cifs.ko in system/lib/modules but the app has not been working since 3.2 update.
Just answering myself in case someone has the same question.
it seems multiple module loading is not working right in the CIFSmanager.
i needed to load cifs.ko and nls_utf8.ko together before mounting my network drives
before Cifsmanager can handle this automatically, but now on honeycomb 3.2, it seems nls_utf8.ko is not getting load
after I loaded that file manually via terminal, all network drives can be mounted.
Could you share the steps?
Thanks.
huzz said:
Could you share the steps?
Thanks.
Click to expand...
Click to collapse
share the steps to get nls_utf8.ko loaded?
cifsmanager still seems to load cifs.ko fine automatically.
to load nls_utf8.ko before mounting any network drives:
1. Open up a terminal app
2. type: su root (then hit enter)
3. type: insmod /system/lib/modules/nls_utf8.ko
You don't need to do this if you don't have foreign characters in the files on your network drives (cifs.ko by itself will do)
Ok, so the latest temp-root has gone well, and things still work okay, which is a great improvement, and much kudos to the devs for this.
However, CIFs Manager seems to not work, and I like to watch stuff over my network - and I'm pretty sure it's something very simple to do with SymLinks and stuff, as to how it works.
"Mounting the share has failed with an error
mount: mounting //10.1.100.10/Films on /mnt/cifs/Films failed: No such device"
Same settings work fine on my Desire, so I know the network's good, must be something to do with where it's looking, or trying to work, and the symlinks etc. in the temp-root.
However, I haven't a clue where to start - maybe someone can help out?
Maybe you start with reading the CifsManager FAQs?
regards
Most Frequently Asked Questions:
Q: When trying to mount a share I only get an error message saying something like...
"Error running exec().Command: [su]"
A: Most probably your device is not properly rooted or the su command is missing.
"No such device".
A: Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support.
"mounting <yourshare> on <yourmountpoint> failed: No such file or directory"
A: Your "Mount Point" simply does not exist and CifsManager is not able to automatically create it for you. As automatic Mount Point creation is not done with su rights, CifsManager can only create Mount Points in directories with permissions 777 or on your SD-Card.
Q: I have installed CifsManager but launching the app fails with something like "Application not installed on your phone"
A: This is not a problem caused by CifsManager but a bug in your ROMs launcher. Look for an updated version of your launcher.
Q: I mounted my favorite share successfully but files with special characters are not displayed correctly.
A: Try to use a kernel with explicit UTF-8 support or try to find/load the kernel module nls_utf8.ko.
Click to expand...
Click to collapse
f3d0r said:
Maybe you start with reading the CifsManager FAQs?
regards
Click to expand...
Click to collapse
fed0r,
Great information there - thank you so much. I'll double-check the permissions, but I was sure I'd already altered the mount point to 777. If that doesn't work, I'll try using a mount point on SD too.
I never even thought that the issue could be something so simple - thanks agaiN!
I thought he was indicating:
A: Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support.
Yes, on reading it the second time over, that seems to be what is indicated. I actually had an error combining #2 and #3.
Ah well, back to waiting for S-OFF so I can flash a ROM with the right kernel, because I haven't got a clue when it comes to Kernel type things!!
So, Stock Sensation ROMs do NOT have CIFS support. Tested.
Have compiled cifs.ko and slow-work.ko for Infused 2.0.0.
Thanks to gtg465x for kernel sources on GitHub, Entropy512 for initial help and http://forum.xda-developers.com/showthread.php?t=837170&page=6 for help on slow-work.ko
[email protected] said:
Have compiled cifs.ko and slow-work.ko for Infused 2.0.0.
Thanks to gtg465x for kernel sources on GitHub, Entropy512 for initial help and http://forum.xda-developers.com/showthread.php?t=837170&page=6 for help on slow-work.ko
Click to expand...
Click to collapse
Thanks for posting!
I will be posting a Daily Driver kernel update that includes these when I get around to it. It'll probably be my last DD targeting Rogers firmware for a while as I'm running CM7 now.
[email protected] said:
Have compiled cifs.ko and slow-work.ko for Infused 2.0.0.
Thanks to gtg465x for kernel sources on GitHub, Entropy512 for initial help and http://forum.xda-developers.com/showthread.php?t=837170&page=6 for help on slow-work.ko
Click to expand...
Click to collapse
What do these do?
Sent from my SAMSUNG-SGH-I997R using XDA Premium App
Looks like it lets you access samba shares. Not 100% on that however.
Yup. Lets you use the CifsManager app to access Samba shares
Entropy512 said:
Yup. Lets you use the CifsManager app to access Samba shares
Click to expand...
Click to collapse
Wat is samba shares?
Sent from my SAMSUNG-SGH-I997R using XDA Premium App
WeezyFBaby17 said:
Wat is samba shares?
Click to expand...
Click to collapse
SMB protocol, which is what Windows uses to share folders.
LinuxBozo said:
SMB protocol, which is what Windows uses to share folders.
Click to expand...
Click to collapse
Sweet
Sent from my SAMSUNG-SGH-I997R using XDA Premium App
Is this GB only or will it work on 1.5.3 as well? If so is it an install zip from CWM procedure to install?
Blackberrynomore said:
Is this GB only or will it work on 1.5.3 as well? If so is it an install zip from CWM procedure to install?
Click to expand...
Click to collapse
I've compiled it using Infused 2.0.0 kernel and it is Gingerbread. So it might not work with other ROMs.
Generally you do not need to install the modules. Just place them anywhere on sdcard and load them via insmod (root required). Please see CifsManager application description for more details.
How to install?
So, with this CIFS support, I can play my video files (AVI/DivX/RMVB...)
on local NAS via Wifi? (Just like use BuzzPlayer in iPhone)
Great!
The question is... how to install it? any document about install?
leedashone said:
So, with this CIFS support, I can play my video files (AVI/DivX/RMVB...)
on local NAS via Wifi? (Just like use BuzzPlayer in iPhone)
Great!
The question is... how to install it? any document about install?
Click to expand...
Click to collapse
Read [email protected]'s instructions, or use SGS Kernel Flasher to flash my 8-13 Daily Driver kernel (Note: For instructions on THAT, read the SGS Kernel Flasher docs. CWM can flash the zip too.)
modprobe the cifs module (Module autoloading MIGHT work in the daily driver kernel so this might not be needed, I haven't tested this much)
Install the CifsManager app from the market.
I attempted to install this via CWM and it installed so fast I wasn't sure if it worked or not. So I rebooted and installed CIFS Manager and ran it. I setup a test share on my laptop on the same network subnet and shared it out to everyone. I created a new share in CIFS Manager and then attempted to browse to the share and I get an error.
Share: 192.168.3.202/download
Mount Point: /mnt/cifs/download
Username: my username
Password: my password
Options: blank
I get an error stating:
Mounting the share has failed with an error.
{mount: No such device or address}
{mount: mounting the share failed the host is down}
Any help would be greatly appreciated.
I copied the cifs.ko and slow-work.ko to /system/modules and changed the mod path in CIFS manager. I also checked/changed permissions on those two files as well. Am I missing something???
NooB apologies extended to OP.
Since they're small files, it would flash fast.
Using ADB or Android Terminal Emulator, run lsmod - do you see cifs.ko in the list?
Entropy512 said:
Since they're small files, it would flash fast.
Using ADB or Android Terminal Emulator, run lsmod - do you see cifs.ko in the list?
Click to expand...
Click to collapse
I am not very familiar with Android terminal mode or commands but I did install terminal emulator from the market and typed: lsmod at the prompt. I did not see Cifs.ko in the output?
Blackberrynomore said:
I am not very familiar with Android terminal mode or commands but I did install terminal emulator from the market and typed: lsmod at the prompt. I did not see Cifs.ko in the output?
Click to expand...
Click to collapse
Hmm, it probably isn't loaded then. So you may need to run the following in a terminal:
Code:
insmod /wherever/you/put/cifs.ko
Hello all
After searching above many thread, i ask for help to mount network disk on my galaxy tab 2 10.1.
I can access to my network shares with smb (in ES Explorer, Perfect Viewer or Mizuu), but to enhance the capacity of these programs I really prefer that network drives appear as mounted drives.
First, i've flash the tab to CM 10.1 experimental M2, to see if it can help. Seems that not.
I've try first with CifsManager, which always say me that "Mounting the share have failed with an error. Mount: No such device or adress"
I've try then with Mount Manager. In that way, i've succeed to mount one drive, but when i go with ES Explorer on the directory, is empty.
For the both, i've created the mounting point over a microSD card, after unsuccessfully trying to created them on internal.
I think that, from the different thread i've read, the problem came from cifs module. I've got a file cifs.ko, but don't remember if is an original one (because i've copy one that i've found a thread).
So, how can i do to make it work ?
May i've to flash a new kernel version with integrated cifs modules ? If yes, can someone help me to find which is the right one for the GT-P5110 ?
Thanks (and sorry for my english).
Hello all
Still searching for that issue, i've found a link talking about the importance of loading dns_resolver.ko and md4.ko before loading cifs.ko.
While looking in my system/lib/modules directory, i've only 5 .ko files, but not these ones. Maybe it can solve my problem ?
The fact is i don't know how to get them... command line ? flash another kernel ?
Hi again
i try a little bump, if someone got an idea...
Thx