[Q] sshfs - Fuse - Streak 5 Q&A, Help & Troubleshooting

Is it possible to mount shares to the filesystem with sshfs? I'd love to be able to connect to my fileserver on 3G. (I don't want to use sftp clients)
I used this a lot on my N900, would be great if it's also possible on the streak!
PS: Right now I'm on Stock 318 with Performace Mod (Steve's Kernel)

Related

[Q] Cifs Manager

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

[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+A] Fuse on stock kernel

Has anyone built or made available a fuse kernel module (and any dependencies) for the stock Samsung Vibrant kernel? I haven't been able to find anything anywhere and I'm not sure where to go to find out how to do it on my own if need be. I was hoping to use it with a Debian chroot for sshfs support.
EDIT:
Apparently it's a lot more simple than I expected. Managed to find the kernel source for the official Froyo release for the Vibrant, which I expected to be a lot more difficult. Built fuse.ko (and attached in case someone else wanting to use FUSE from a chroot on a stock Vibrant stumbles across this thread) and tested it with sshfs and much to my surprise it all worked fine without much issue. Only thing I ran into was an annoyance with Android's design. In the chroot you must:
Code:
# groupadd -g 3003 aid_inet
# adduser <username> aid_inet
If you don't, you run into the problem of socket creation failing for every application unless logged in as root. You'll also want to add/uncomment user_allow_other to/in the chroot's /etc/fuse.conf so that you can mount -o allow_other.
Mounting a sshfs seems to be more stable and faster than mounting it as SFTP within a native Android application. File Expert, for instance, has a habit of losing connection to the remote host if thumbnails are on or you try to access an image in a folder with more than 2 or 3 through SFTP. Might be something in my set up causing that, though. Browsing the same directory over sshfs in File Expert appears to work fine, as does accessing images. Didn't test transfer speeds, but I'd imagine they're better too.
Hi,
I have posted Fuse Kernel module for Sony Xperia Arc/Ray (should works on others 2011 Xperia series)
Works fine on ICS 4.0x including stock roms.
http://forum.xda-developers.com/showthread.php?t=1752870
Regards.
Sekhen.

[Q] cifs and fuse support on android thin client

HI all!
My name is Ricardo and I'm from Argentina, nice to meet you. I have a problem with a chinese thin client that I bought (YWTERMINAL AND1). The version of the client is android 2.3 and the kernel is 2.6.35. It's a rooted device. I need for entertainment purposes, to give cifs and fuse support to this kernel in order to mount a NTFS volume or mount a SMB shared resourse, but I couldn't to do that until now. I've installed usbotg helper but without fuse support is impossible to mount a NTFS volume, also I can see the share on the network from android but I can't mount it because I don't have cifs module installed on the device. I've tried insmod, and others apps but always with errors. I don't have the device manual, so I don't know how reboot it in recovery mode (only have a reset button but it restores factory settings). Not boot menu or something like that at boot.
How to change the rom without reboot in recovery mode? (rom manager gives the option but it doesn't work on this device)
How can I add the correct module on the kernel. I get "invalid format" from "dmesg" after issue insmod command.
Somebody has a similar device? I have linux skills, but android is a bit different.
Thanks in advance!!!

CIFS support in kernel

So I have thor with ggow's cm11 rom is there any way I could get cifs manager to work to mount a smb share? I've tried cifs manager and mount manager, both fail to mount. I would like to be able to do this because my tablet only has 14 gbs (well it did now I only have around 3.6) and I'd like to be able to listen to music I have on my network and play roms from it without having them on my device. I know vlc can play from network and I use it, but I'd rather use something like jetaudio. I've tried doing insmod on a cifs.ko I put in /system/lib/modules/ but got only an error. Btw I do have root via supersu and I have busybox installed
CocoBun said:
So I have thor with ggow's cm11 rom is there any way I could get cifs manager to work to mount a smb share? I've tried cifs manager and mount manager, both fail to mount. I would like to be able to do this because my tablet only has 14 gbs (well it did now I only have around 3.6) and I'd like to be able to listen to music I have on my network and play roms from it without having them on my device. I know vlc can play from network and I use it, but I'd rather use something like jetaudio. I've tried doing insmod on a cifs.ko I put in /system/lib/modules/ but got only an error. Btw I do have root via supersu and I have busybox installed
Click to expand...
Click to collapse
The last HDX ROM to support CIFS was the JellyBean based Nexus 2.0.5 which leveraged the FireOS v3 kernel plus tweaks by @ggow. Subsequent HDX ROMs are based off the v4.5.x kernel which does not natively support CIFS. It's possible native CIFS support will someday make its way into CM 14.x which is the only HDX ROM under active development. This would obviously require custom kernel tweaks which are not to be taken lightly given the maintenance commitment.
As you probably know Solid Explorer (my preference), ES File Explorer & other advanced file managers support SMB shares but I suspect you want true CIFS for the durable mounts.
Yeah mounting as a directory was what I wanted, I use es file explorer but there's no point when you can't open it in a different application, I mainly wanted to use retroarch and load roms from my network to save space. Oh well thanks for the info tho

Categories

Resources