CM7DX2 - CIFS Manager? - Motorola Droid X2

Has anyone tried CIFS manager with CM7DX2? I'm trying to get it working but it doesn't want to mount with error "no such device" which the dev for CIFS manager says:
"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."
So does anyone know if CM7DX2 has CIFS support?

Tried adding a cifs.ko from another ROM with same kernel version but it won't load in either cifs manager or mount manager.
Nobody is using this? Any ideas then on how I could mount a shared drive on my PC to have access to it like the files were on my phone?
Sent from my MB870 using XDA

smallzfsu said:
Tried adding a cifs.ko from another ROM with same kernel version but it won't load in either cifs manager or mount manager.
Nobody is using this? Any ideas then on how I could mount a shared drive on my PC to have access to it like the files were on my phone?
Sent from my MB870 using XDA
Click to expand...
Click to collapse
Whew boy! How far do you really want to dig into this? First, with out locked boot loader, replacing the kernel is next to impossible, however, you can inject ko modules into the running kernel, however they must be configured against the original kernel's source code... If you find one from a SIMILAR kernel, it MIGHT work. There is no guarantee. The command to use would be insmod or modprobe. Depending on how you wanted to load the module. If I am over your head with this, then it's best you stop here... If you really want to forge ahead, then by all means, please do so. Google "linux insmod use" or "linux modprobe use" Or, if you have a Linux box handy, "man insmod" or "man modprobe". I'm not going to get into the details of how to do this, because if you do things wrong, you can have some very screwy results that I would be able to triage in PM's or posts.
Anyhow, that, in a nutshell, is what you are looking at. To succinctly answer your question, yes, it's possible. Is this something that I want to tackle? Ummmm... No. If you want someone to bounce stuff off of, feel free to hit me up! Good luck!
Ciao!

Compiled cifs modules for Gingerbread kernel (Droid X2)
smallzfsu said:
Has anyone tried CIFS manager with CM7DX2? I'm trying to get it working but it doesn't want to mount with error "no such device" which the dev for CIFS manager says:
"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."
So does anyone know if CM7DX2 has CIFS support?
Click to expand...
Click to collapse
Today i've compiled some modules, that essential for sharing support through CIFS Manager.
View attachment dx2_gb_cifs.7z (LZMA2 inside, update your 7zip archiver, before unpacking)
Modules compiled for 2.6.32.9-00005-g2440aba kernel, which i found in my device (firmware 4.5.1A-DTN-150-30).

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

what roms support tun.ko openvpn

I am trying To connect my Eris to my vpn using openvpn settings, but heard that the roms kernel needs to have tun support embeded. So like I said in the title which roms support it? I have kaosfroyo. Also can I access my network shares via openvpn settings?
sabot105mm said:
I am trying To connect my Eris to my vpn using openvpn settings, but heard that the roms kernel needs to have tun support embeded. So like I said in the title which roms support it? I have kaosfroyo. Also can I access my network shares via openvpn settings?
Click to expand...
Click to collapse
Conap built CFS v9 with TUN support (as a kernel module). See for yourself by searching for "TUN" in his Dec 4th commit, or by inspecting his V9 download (in system/lib/modules).
Whether or not ROM devs included all of those kernel modules - or, more importantly, performed an "insmod" at some place during initialization to load the module into the kernel (by default) is different matter. But, that is certainly something that you could do on any CFSv9 ROM with a root-privileged script; just make sure you install the matching kernel module to the kernel you are using. Depending on what the dev does with "include" directives out of the /init*rc scripts, you might be able to make an insmod automatic at boot with something in /system/etc/init.rc.local (or whatever it is named).
If you want, you can peruse Conap's .config release history to see if different kernels were built with TUN support - his kernels are in lots of Eris ROMs. I didn't look through it exhaustively, but it looks like he also built it for V8.
cheers
my kernel is from conap version 2.6.29. im having trouble connecting to the server via openvpn settings. i installed the openvpn installer and openvpn settings, also the tun.ko file i moved to the modules folder, i think i did everything right but still i get an error fatal: cannot allocate tun/tap dev dynamically. what does that mean?
I think it means you've got some more analysis work to do.
Normally I might be motivated to help (I've done a fair bit of network admin incl. tunneling setups, and find it interesting work), but I don't have ready access to a configured server... so I would have to configure both a server and the phone in order to help out further. A bit too much volunteer work for me, I'm afraid.
Good luck... and remember that Google is your friend!

[Q] cifs module load

Anyone able to load cifs module on 10.1?
I had no luck with the following log from mount manager app, i got the cifs.ko from lib-2636.4.tar.gz
su: insmod (......dir.....)/cifs.ko
execute-result: exitcode:255 stdout: stderr:insmod: init_module '(......dir.....)/cifs.ko' failed (exec format error)
wondering whether the issue here is from mount manager or from cifs.ko?
BTW: tried cifs manager also, not working too.
rainby said:
Anyone able to load cifs module on 10.1?
Click to expand...
Click to collapse
There is no cifs modules for the stock kernel.
You will need one of the custom kernel done by pershoot or supercurio.
just updated my original post .... see if that helps describing issues more clear
danielsjam said:
There is no cifs modules for the stock kernel.
You will need one of the custom kernel done by pershoot or supercurio.
Click to expand...
Click to collapse
rainby said:
just updated my original post .... see if that helps describing issues more clear
Click to expand...
Click to collapse
I have uses cifs with both of the custom kernels and it loads without problems for me.
I also used lib-2636.4.tar.gz - created /system/lib/modules and placed the module there, but should be able to install it anywhere. I am using cifs manager.
UPDATE: I am using the supercurio kernel and just tried
su
insmod /lib/modules/cifs.ko
the module is loaded - checked with lsmod
Good to know it supposed to work ....and i finally fully understand the line...
"There is no cifs modules for the stock kernel. You will need one of the custom kernel done by pershoot or supercurio."
I need a nls_utf8.ko module
I am using [Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (10/24/11;9.00PM EDT).which provide cifs.ko module,I can connect to my computer share,but there is no nls_utf8.ko.I need this module to access my chinese share resource,thanks.

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!

Kernel Modules for Xperia 2011 GB v4.0.2.A.0.58: fuse.ko, usb-storage, cifs, tun, ..

Information and Modules description
I was in the need to add some missing kernel modules to my Xperia Mini Pro sk17i with v4.0.2.A.0.58, but I could only find modules compiled form ICS sources, so I decided to build them myself.
All modules have been compiled from official sony Xperia v4.0.2.A.0.58 kernel sources, using Android NDK r5, and they should be fine with any GB based Xperia 2011 device (with that kernel version at least).
This is the list of modules, with some interesting programs using them:
fuse.ko: Cryptonite (used to create encrypted EncFS or Truecrypt volumes, adds support to mount drives so that are visibile to the whole Android system. Note: Cryptonite is not currently able to load the module automatically, you need to load it from Terminal Emulator..se more below)
usb-storage.ko, nls_utf8.ko, ntfs.ko (compiled with write support, currently untested): USB OTG Helper (used to mount external USB drives with USB On The Go cables).
cifs.ko, slow-work.ko, md4.ko: CifsManager (used to mount network shares)
ext4.ko, jbd2.ko: if you wish to use the EXT4 filesystem
tun.ko: needed by VPN clients, like OpenVPN or DroidVPN
Installation Instructions
Attached to this post you will find a ZIP that can be used along with CWM Recovery to install the modules in system.
Download the module, put it inside you SD card, reboot your phone in CWM (which you can install with the Xperia CWM Auto-Installer) and select install zip from sdcard, and browsed to the ZIP. Reboot your phone when install finishes.
Loading Modules
No module is automatically loaded at system startup: this saves your memory and battery (some of those modules are known to drain your battery if always loaded).
To manually load a module you have to open the Android Terminal Emulator and tap:
Code:
su
insmod /system/lib/modules/MODULENAME.ko
where MODULENAME is the name of the module you want to load.
Other useful commands:
Code:
lsmod
to see currently running commands
Code:
rmmod MODULENAME.ko
to unload a module.
If you wish to manually load a module at phone startup you should use init.rd or any other method (?) to run custom scripts at startup.
Load Order
Some modules need to be loaded in a specific order:
slow-work.ko must be loaded before cisf.ko
jbd2.ko must be loaded before ext4.ko
Other Firmware Versions
I've released the same package for other firmware versions, click on the firmware version to go to the specific thread:
ICS v4.1.B.0.587 Kernel Modules package by zxp
Changes
v2 - 2012.07.19
===========
- customized, built and added slow-work.ko, which is needed to load cifs.ko
- added jbd2.ko, which is needed to load ext4.ko
v1 - 2012.07.12
===========
- First release
Thanks for this..
Fuse, and the rest as required, are automatically loaded as required by USB OTG Helper if found in /system/lib/modules.
shardul_seth said:
Thanks for this..
Fuse, and the rest as required, are automatically loaded as required by USB OTG Helper if found in /system/lib/modules.
Click to expand...
Click to collapse
Yes, the same applies to CifsManager, even if it requires some fiddling in options, while your USB OTG Helper does it automagically...by the way, it would be really nice of you if you could add the same auto-load code to Cryptonite, which is open source somewhat related to your work! :good:
zxp said:
Yes, the same applies to CifsManager, even if it requires some fiddling in options, while your USB OTG Helper does it automagically...by the way, it would be really nice of you if you could add the same auto-load code to Cryptonite, which is open source somewhat related to your work! :good:
Click to expand...
Click to collapse
I have my own encryption script, and I am happy with it.. So no fiddling with cryptonite for me
Updated both install and uninstall packages to fix cifs.ko and ext4.ko that couldn't be loaded because of missing dependencies (slow-work.ko and jbd2.ko).
You can find the updated zips in the first post.
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
lightdesiny said:
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
Click to expand...
Click to collapse
I don't know where to find it, I don't have upgraded to ICS yet, sorry.
If you are sure that no one have released it I may build a package similar to this one once I upgrade to ICS, in the coming weeks. Keep an eye on this forum :cyclops:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
hadics1 said:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
Click to expand...
Click to collapse
Don't complain if none will answer you.
hadics1 said:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
Click to expand...
Click to collapse
Can you please explain your problem better?
I can't understand your post.
zxp said:
lightdesiny said:
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
Click to expand...
Click to collapse
I don't know where to find it, I don't have upgraded to ICS yet, sorry.
If you are sure that no one have released it I may build a package similar to this one once I upgrade to ICS, in the coming weeks. Keep an eye on this forum :cyclops:
Click to expand...
Click to collapse
I've just released the same package as this for Xperia ICS v4.1.B.0.587, you can now use ext4 on the latest ICS firmware
This is great
Sent from my WT19i
mount nfs share works with busybox - but won't with cifsmanager
Hello folks,
as this is my first post here, i'd like to thank all of the contributors for the excellent Guides and Howtos on this platform. Based on the instructions in this forums i was able to root my Xperia Mini Pro sk17i and greatly expand my devices applicability. Thanks to all of you!
Sorry, that the post got that long - hope that someone is still so kind to read and answer to it. I just wanted to be as precise as possible in the desription of my problem.
And here it comes. As the title of my post already implies, my ultimate goal is to mount nfs shares of my NAS and Router in my private network as user-friendly and simple as possible.
So far, I tried the following to achieve this goal:
Install busybox to generally expand linux capabilities of the device
install the Android Terminal emulator also from Google play
as previuosly mentioned, the device is rooted and Super user capabilities are set
created a mount-point for the nfs share
installed cifsmanager for mounting/unmounting with one click later
I tried to manually mount the share in the terminal. Without busybox i had no luck, but actually that was not sursprising at all. With busybox however, it worked instantly - what indeed surprised me, because this thread here implied somehow the kernel, as is, wasn't even capable to do it without additional modules. I could easily browse the share with ES file manager etc. and make use of my shares. So far, so great. :good:
But opening a terminal, get super user rights and mount manually by typing the whole sequence of
Code:
busybox mount -o nolock,vers=3 -t nfs 192.xxx.xxx.x.x:/my/nfs/share /mnt/MyLocalFolder
is not what you'd call simple or user-friendly at all.
So i aimed to improve the mount procedure with cifsmanager, but I always fail. And do no not understand what i am doing wrong. Initially i tried it without further kernel modules, encouraged by the success i had with busybox. But i always got a "Invalid argument" reply.
During the troubleshooting I stumbled upon this post, and thx to zxp's files, i managed to add the kernel modules to my /system/lib/modules folder (and yes, I have the exact same original/stock GB kernel version they are intended for).
But still no luck - even after i added slow-work.ko to the list of modules loaded by cifsmanager in the properties (placed before cifs.ko as it was suggested by another thread found somewhere in the forum). The info tab states the modules are loaded, but i still receive the same crooked "Invalid argument" message. What the heck am I doing wrong?
Seems to me there is some sort of general syntax issue - here is what info I give the app:
Share: 192.xxx.xxx.x.x:/my/nfs/share
Mount Point: /mnt/MyLocalFolder (tested with and without the mount point prefix in properties)
User: guest (default - without it, it wont work,app description states it will be ignored for nfs shares anyway)
Pwd: left empty
Options:nolock, vers=3 (tested with and without these - but where generally considered essential in some threads + my shares are nfs_v3)
Does somebody have an idea what is going wrong and might point me in some useful direction?
Thanks and Cheers to you all,
Nix
Use script manager and create a script!
Nixblicker said:
Hello folks,
as this is my first post here, i'd like to thank all of the contributors for the excellent Guides and Howtos on this platform. Based on the instructions in this forums i was able to root my Xperia Mini Pro sk17i and greatly expand my devices applicability. Thanks to all of you!
Sorry, that the post got that long - hope that someone is still so kind to read and answer to it. I just wanted to be as precise as possible in the desription of my problem.
And here it comes. As the title of my post already implies, my ultimate goal is to mount nfs shares of my NAS and Router in my private network as user-friendly and simple as possible.
So far, I tried the following to achieve this goal:
Install busybox to generally expand linux capabilities of the device
install the Android Terminal emulator also from Google play
as previuosly mentioned, the device is rooted and Super user capabilities are set
created a mount-point for the nfs share
installed cifsmanager for mounting/unmounting with one click later
I tried to manually mount the share in the terminal. Without busybox i had no luck, but actually that was not sursprising at all. With busybox however, it worked instantly - what indeed surprised me, because this thread here implied somehow the kernel, as is, wasn't even capable to do it without additional modules. I could easily browse the share with ES file manager etc. and make use of my shares. So far, so great. :good:
But opening a terminal, get super user rights and mount manually by typing the whole sequence of
Code:
busybox mount -o nolock,vers=3 -t nfs 192.xxx.xxx.x.x:/my/nfs/share /mnt/MyLocalFolder
is not what you'd call simple or user-friendly at all.
So i aimed to improve the mount procedure with cifsmanager, but I always fail. And do no not understand what i am doing wrong. Initially i tried it without further kernel modules, encouraged by the success i had with busybox. But i always got a "Invalid argument" reply.
During the troubleshooting I stumbled upon this post, and thx to zxp's files, i managed to add the kernel modules to my /system/lib/modules folder (and yes, I have the exact same original/stock GB kernel version they are intended for).
But still no luck - even after i added slow-work.ko to the list of modules loaded by cifsmanager in the properties (placed before cifs.ko as it was suggested by another thread found somewhere in the forum). The info tab states the modules are loaded, but i still receive the same crooked "Invalid argument" message. What the heck am I doing wrong?
Seems to me there is some sort of general syntax issue - here is what info I give the app:
Share: 192.xxx.xxx.x.x:/my/nfs/share
Mount Point: /mnt/MyLocalFolder (tested with and without the mount point prefix in properties)
User: guest (default - without it, it wont work,app description states it will be ignored for nfs shares anyway)
Pwd: left empty
Options:nolock, vers=3 (tested with and without these - but where generally considered essential in some threads + my shares are nfs_v3)
Does somebody have an idea what is going wrong and might point me in some useful direction?
Thanks and Cheers to you all,
Nix
Click to expand...
Click to collapse
that works, but...
Well, yeah - that was an option. I already did, and it works with the busybx mount as stated.
But i would have to write another to mount another share, unmount them, and one to prevent ES file manager to somehow occupy the mount to make it busy before unmounting etc.
I hoped that cifsmanager would smooth and ease the mounting/unmounting.
Thank you for your suggestion, anyway!
Cheers, Nix
shardul_seth said:
Use script manager and create a script!
Click to expand...
Click to collapse

Categories

Resources