Cifs Mount Issues - Thunderbolt General

I apologize if this has been posted, but I've done many searches and haven't seemed to make any progress.
I'm struggling to mount my file share from within the local network. Ultimately I want them available through VPN, but I figure local access needs to come first. Here is the command I'm running through terminal
Code:
busybox mount //xxx.xxx.xxx.xxx/<share> /mnt/sdcard/cifs -t cifs -o user=<user>,pass=<password>
The cifs.ko module has been loaded, so I don't figure that to be the issue. I've also rearranged the mount command in several configurations and still get the same error.
Code:
mount: mounting //xxx.xxx.xxx.xxx/<share> on /mnt/sdcard/cifs failed: Invalid argument
I'm trying to mount a shared folder on OS X 10.7 using the full file path (/Users/.../...). I know the share works as I can access it on other machines, just not the phone.
Any help is appreciated.

Have you checked out CifsManager in the Play Store? Looks like it might do what you're trying to accomplish.
If you're not against accessing your files through a file manager, I personally like ES File Explorer. It has SMB access, among many other options.

I have tried both of those with no luck. Once I get the command right, I would fill out the CifsManager's parameters appropriately.
Sent from my ADR6400L using xda app-developers app

have you tried AndSMB? https://play.google.com/store/apps/details?id=lysesoft.andsmb&hl=en
also some quick googling turned up this thread where someone else is having problems using 10.7. could be a mac issue?:
http://forum.xda-developers.com/showthread.php?p=22268432&postcount=3

I tried AndSMB yesterday with no luck. I had not seen that thread though. I'll do some more tinkering and see what I come up with. Thanks for the tips!
Sent from my ADR6400L using xda app-developers app

Related

[Q] Cisco AnyConnect for Rooted Devices

Has anyone got the Cisco Any Connect for Rooted Devices App to work on the TF??? I keep getting the "This device does not meet minimum requirements to run this software (TunTap driver could not be located)" error. Anyone find a workaround?
I'd root my TF in a sec if it will work. I've been trying to get this to work on my D2G but it also doesn't have a TunTap driver. I found tun.ko in one of the forums but have to had the chance to see how one might install it. I know some custom ROMs have it included.
works fine rooted prime + clemsyn 16
It seems that it is not able to load the tun.ko if it is present as a module. I had to use insmod /system/lib/modules/tun.ko to make it work. I have a stock kernel with just added tun.ko module.
Woah, didn't know this came out...thanks. Will give it a shot.
Edit: Appears to work fine, but I need get get my ASA license.
Awesome! Finally!
The app installs fine but when you try to connect is when you get that error. @ljs_cz, does the stock 3.1 come with the tun.ko module? If not where can I find one? I found a post with a module but its for 3.0.
Totally wasn't aware this existed. Works flawlessly on my TF running prime and clemsyn. This combined with RemoteRDP means I don't need to carry round my laptop when I'm on call!
Thank you OP, life-changer.
For those who are on stock 3.1 root, copy tun.ko to /system/lib/modules and
install it from a terminal, command "insmod tun.ko".
Check with command lsmod, you should see tun.ko loaded.
Install cisco anyconnect for rooted device and you are set.
Note, you will need to load tun.ko again after a reboot.
tun.ko, http://db.tt/ad4m1qB
Sent from my Transformer TF101 using Tapatalk
Thanks ill give that a try!!!
Ok its works great but when i restart the device the module isn't installed anymore and i have to insmod again. Any way to keep is installed after device boots???
help
gpmg762 said:
For those who are on stock 3.1 root, copy tun.ko to /system/lib/modules and
install it from a terminal, command "insmod tun.ko".
Check with command lsmod, you should see tun.ko loaded.
Install cisco anyconnect for rooted device and you are set.
Note, you will need to load tun.ko again after a reboot.
tun.ko,
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
i tried copying the tun.ko to /system/lib/modules but i got Permission Denied.
Is there another way to make this work?
I am rooted with build model 8.4.4.11
You need to mount the /system as RW before you can copy it. I am not sure of the ADB command, but you can do it through total commander (file manager) which is how I did it.
is it possible that you could give me a step by step guide as to how to accomplish this? i am trying but seem to be failing.
Bump, I could also use some help with ssretz's problem.
hmm..on ICS, tried your solution anyway. copied the file over to the location you specified, but when i run the command in the terminal it says no such file or directory.
Edit...i ran su -c insmod /system/xxx/xxx/tun.ko
i ran su earlier, but not on the same line.
that seems to register it. will test later.
still failing to copy files
Hi,
im running the TF PRIME 2 with ICS 4
im trying all of the suggested aboe and still failing to copy a file to the system/library/modules folder
any help?
i think it's a permission issue, my device IS rooted and i CAN copy files to the other SD folders
zipper9 said:
Hi,
im running the TF PRIME 2 with ICS 4
im trying all of the suggested aboe and still failing to copy a file to the system/library/modules folder
any help?
i think it's a permission issue, my device IS rooted and i CAN copy files to the other SD folders
Click to expand...
Click to collapse
I've done it via command line (you must mount the system directory in RW mode) using multiple iteration of the proper switches until it finally worked, but if you're struggling, just spend a couple bucks to buy Root Explorer. The aggravation you'll save will be well worth it.
Root Explorer has a button that will eliminate the command line instructions necessary to mount the system directory in RW mode and return it to R only, along with allowing you a simple copy/paste interface to move the files.
connects but does not route over tunnel with CM9/Megatron 1.0.1
Current system with issue: Megatron 1.0.1 with stock kernel.
Details:
I am able to connect using Rooted anyconnect, and I see my route table getting updated but when I try to access a resource on the vpn network it can not reach. I am not able to ping, ssh, rdc to any resource thru the tunnel. Local lan resources such as my own computer work fine or internet resources
I see the following interfaces get created after I connect:
-csctun0
-droptun0
My route table displays updated routes after vpn connects showing to use the iface of the cscotun0 for the resources that need to be routed thru. (192.*, 10.*, etc)
Funny thing is that I am able to use the stock 4.0 ICS and/or older honeycomb releases and it works fine. It's just with Megatron 1.0.1 or any CM9 rom. I tried using update-cm-9-20120329-NIGHTLY-tf101-signed.zip, still a nogo. Leads me to believe could be related to the CM9 trunk.
The logs between stock and CM9 flavored roms look the same on anyconnect. Nothing glaring.
lsmod doesn't show the tun module in as I believe now tun is compiled directly in the kernel (can someone confirm this?) (Running lsmod with stock doesn't show tun, nor in CM9/Megatron).
I love me some cyanogen and really like ricardopvz work especially the quick apps, but I need my vpn working for production support as its nice to work off the tablet when I am not near a computer.
Any help or direction will be greatly appreciated. Thanks in advance.
Confirmed that my problem only exists with CM9/Megatron roms
AOKP and stock based roms work fine. Any one else have this issue?
Sent from my Incredible 2 using XDA

[Q] Sensation CIFSManager with TempRoot

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.

Pocket Blu + Root = No digital rips???

So, I just bought Fast Five on bluray and it came with a digital copy. Hooray and all that. However, when I go through the steps to download that copy through Pocket Blu, it tells me it won't let me download it because my phone is rooted and this presents a security concern.
Anyone found a way around this, other than unrooting your phone?
You could try to rename the su file location and see if that helps. They usually detect those folders
I think I saw a solution to that in the Nook Color subforum here at XDA a while ago, might have been something with Google video not working on rooted devices, was a little while ago.
Might want to browse around over there and see what you can come up with, you can probably take what they figured out and apply it to your problem.
cal3thousand said:
You could try to rename the su file location and see if that helps. They usually detect those folders
Click to expand...
Click to collapse
Do you happen to have any idea where that folder is?
I found it. For future reference, it's in /system/xbin. Renaming su to mu temporarily works fine! You can watch vids is root, just not download.
Sent from my Crack Injected Doubleshot using xda premium
GoodKingNerdnor said:
I found it. For future reference, it's in /system/xbin. Renaming su to mu temporarily works fine! You can watch vids is root, just not download.
Sent from my Crack Injected Doubleshot using xda premium
Click to expand...
Click to collapse
Glad you found it.
Just note that it may vary by device.
Only downside is that you have to manually flash su from recovery after to get it back. None of my root enabled file explorers were able to rename the file back to su (not surprising since it looked for the su command to be able to do so).
Sent from my MyTouch_4G_Slide using xda premium
Actually, I just did this.
Open task manager and kill pocket blu
Connect usb to your computer
adb shell (on your computer)
su
find / -name su
mount -o remount,rw <location of /system> /system
mv /system/bin/su /system/bin/mu​
Launch pocket blu
Redeem code.
Back on your computer
mv /system/bin/mu /system/bin/su​
Note that the location of su can vary but will likely be in /system.
However, I could not play the movie while it was rooted. I have to unroot in order to playback.
GoodKingNerdnor said:
Only downside is that you have to manually flash su from recovery after to get it back. None of my root enabled file explorers were able to rename the file back to su (not surprising since it looked for the su command to be able to do so).
Sent from my MyTouch_4G_Slide using xda premium
Click to expand...
Click to collapse
Root explorer allowed me to rename it "mu" start the download, and name it back to "su" as long as I didn't back out of root explore or fc it. I'm guessing it still maintained the root privileges it was granted upon the start of the app. Either that or I just got lucky.

Mount Windows Share

I finally got 4.1 running. Is CIFS still the only way to mount Windows share?
http://forum.xda-developers.com/showthread.php?t=1636181
Thanks
There's also Mount Manager, but I personally prefer cifsmanager
Sent from my SCH-I535 using xda app-developers app
Followed instructions in http://forum.xda-developers.com/showthread.php?t=1397461
But I am getting segmentation fault when trying to mount. Is there a set of different modules for this version of kernel?
Thanks
Report back: Mount Manager works. The modules are not needed as it's built into kernel
Moving to General.

[Q] [GT-P5110] mount network drives in the tab

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

Categories

Resources