How do I mount network shares on my incredible. I want to watch movies off my server.
Astro
Install Astro and it's SMB module from the Market.
I want to mount it not browse to it. So I can play files like they are on a SD card, not download them and then play.
you would have to recompile a kernel with samba built in I believe
Do any of the images being worked on have it?
This would be an incredible feature. Is this working on any of the devices?
I have been searching for this as well. It'd be nice to allow Rockplayer access to my server so I can just stream my porn.
veli69 said:
How do I mount network shares on my incredible. I want to watch movies off my server.
Click to expand...
Click to collapse
All you need is any kernel with either the cifs.ko module (CIFS = SAMBA = Common Internet File System) built as the module, or built-in/linked (like Ziggy's).
In addition, once you've done a mount -t cifs /blah blah, which is all that seeing it in any file util like root explorer shows (that it's mounted, or else you'd never see the files there), then your media/whatever player should be able to use them if the app itself is able to play files from anywhere.
So there's a few pieces to this, where anyone of them "might" be a show-stopper, but I often leave CIFS shares mounted on mine and use them directly.
Related
I'm trying to play AVI files across my network from a samba share in Rockplayer. I use Astro or ES file manager but neither of them will open AVI files in rockplayer.
Any suggestions?
I´ve been trying to figure this out too, but no luck so far.
i dont think android does file association does it?
If your handy with the terminal you could mount the share to a folder on the sdcard, then browse to it from rockplayer.
Like this
http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=7457166
Sent from my HTC Desire using XDA App
The problem is astro and estrongs file manager are more like samba share browsers - they let you view the share files and folders, but when you try to access any files, they have to copy them to a local directory first. It's more like ftp access in practical terms, rather than true network filesystem access.
So if you succeeded in associating rockplayer with avi files through either astro or estrongs, then the moment you click on an avi file from your samba share, they'd copy the file to your sdcard entirely before it would begin to play. So at best, setting the association would only save you the effort of manually copying and pasting the avi file. Either way you'll be waiting a few minutes for the file to copy to a directory local to your phone.
If you want to access avi files over a samba share directly, you'll need to root and use cifs to mount the samba share on your sdcard, so that the share appears part of the phone's filesystem. Then you can just browse using rockplayer's own file manager throughout your samba share, and play avi files the moment they're clicked on, without any file copy operations or waiting around.
when i got my desire 3 weeks ago i was in the same quandary, and i ended up going the rooted phone with cifs option...
http://forum.xda-developers.com/showthread.php?t=751296
Another way of sorting this easily is using VLC Stream & Convert - with the added advantage of being able to browse your whole computer and mapped drives and stream data.
Ok, I have a FreeNAS server setup at home and I have SSH enabled. Anyways, i'm fine and succeded in connection via SSH connectbot and having portforward of 139 to a local of 8888
This works FINE with ES file manager or even Astro file manager, I can browse my FreeNas server. Problems are though:
1. Why can't I actively view images or videos(not that I want to so much through 3G) when I click on the image, and it won't load up? This happens the same way if I do a local browsing via SMB on astro file manager on my LAN at home.
What works: When I do a CIFS mount using that app someone made here, the CIFS manager or whatever, I can stream videos, images whatever fine.
Now if I can get that to work via the ssh tunnel. I tried creating a CIFS via the ssh tunnel but somehow it doesn't work and I get error like "segmentation fault" with mount.
Anyone have any idea? I can transfer files file but I want to have option to quickly view pictures on my server rather than copy the paste then open up.
Ok update, I can do a mount CIFS manually in terminal, but the CIFS module app still doesn't work...
I guess SMB shares won't allow streaming either way?
When you use a file manager to browse files on your NAS box over SSH (or FTP), the remote files are not mapped to a local path. As a consequence, you can only browse these files with applications able to use CIFS, SSH or FTP connections. Your gallery apps and media players can't access these files directly because, unlike EStrong of ASTRO, they have no CIFS/SSH/FTP client built in.
When you mount a CIFS share on your NAS box using CifsManager, all the files within that share will be mapped to a "local" file. The Android system will know that when you acces /mnt/cifs/MyShare/peanut.png, it is in fact the file peanut.png on your network share. The gallery or media player apps access a local file and aren't aware of the fact that the Android system actually accesses a file on your NAS box instead.
I have no idea why you can't mount a cifs share over your SSH port forwarding.
A segmentation fault has to do with memory access.. and that doesn't make any sense. It might be caused by the fact that port 137-139 are NETBIOS ports. Win2K and higher use 445 for CIFS instead. You might want to try forwarding port 137 (TCP/UDP) and 138 (UDP) too.. or forwarding port 445 (TCP/UDP) instead. Then again.. it might be something else entirely.
If this doesn't work, maybe you can try with some type of VPN instead of SSH port forwarding?
Actually figured it out.. hope this post will help others with similar issues.
Problem is the mount on android is a bit finicky when apply options, it's a certain order or some sort. I got it working by using the '-o' by putting port=xxxx,ip=xx.xx.xx.xx
It was segmenting for who knows what when I put ip,port. I guess order matters on android vs the linux mount command. Strange indeed
Works now, though my vids are wrong res when streaming, who knows why but not that I care too much lol.
Works okay now, but pretty much 2 step process to access files at home which is a pain. I guess I can buy the andftp client to do a quick file transfer access.
Hi not sure if this is the section to ask but i need to ask for some help.
I have a Galaxy Tab 3 10.1 P5210 (the atom model)
I have rooted the device and installed latest bindroid kernel (v3) but can't mount my SMB share from my linux server
i receive the error.....
"MOUNT: invalid argument"
i have tried the following so far
1: turn on all prefs in cifs manager ie. load cifs module... load insmod etc
2: tried various urls \\192.168.1.1\share //192.168.1.1/share smb:\\192.168.1.1\share and vice versa
3: installed busybox(well ii think its installed correctly)
still cant get it to mount.
In ES file explorer the folders load without problem so i guess its something to do with the cifs/smb part within the android system or cifsmanager
anyone who can shed some light on this would be most appreciated for the help...
ps not sure if i have cifs.ko and if its even needed (if so do i need a cifs.ko for x86 64?)
hi,
get somebody the cifs manger working?
if yes can you help on the how-to.
many thanks
adddy
I have the same issue. 4.2.2! My best guest is the same problem as in V4.3 Google had block us! No more SMB Mount. Hopefully some body will find an answer.
But for now you can use ES Explorer and use the Lan search to get to your network SMB. I use this method to watch my movies.
dale_para_bajo said:
I have the same issue. 4.2.2! My best guest is the same problem as in V4.3 Google had block us! No more SMB Mount. Hopefully some body will find an answer.
But for now you can use ES Explorer and use the Lan search to get to your network SMB. I use this method to watch my movies.
Click to expand...
Click to collapse
When i play movies with the es explorer the player downloads the full movie. I need my network drive mounted for streaming.
Hi there !
Is there a way to do this ?
I currently use ES file sharing but he always copy the files to the host before opening it up (this kill the purpose for me, because i keep all centralized for backup).
I tried using busybox and mount manager but i cant load the modules ! (yes the tablet is rooted).
Thanks for the help.
I've used 2 apps for this
As long as you are rooted you can use either 'SambaDroid' or 'Samba Filesharing', downloadable from Play store for free, to make available both your /storage/sdcard0 (Internal) and /storage/extSdCard (External) as mount dirs.
I used both and in fact can't remember which one I found seemed faster but speed more likely pertains to the hardware and network conn. each device is using.
But what i need its exactly the opposite. I need to mount SMB shares on my server on my tablet !
Douglaster said:
But what i need its exactly the opposite. I need to mount SMB shares on my server on my tablet !
Click to expand...
Click to collapse
Maybe XBMC/Kodi? For video, pictures and music....Does a great job of playing movies from my NAS!
Problem is, some programs (like Poweramp) cant work with streaming.
So i need to mount a smb share to make the program see it as a local folder
Douglaster said:
Problem is, some programs (like Poweramp) cant work with streaming.
So i need to mount a smb share to make the program see it as a local folder
Click to expand...
Click to collapse
Hi,
you need cifsmanager + skyhigh kernel 1.9 (that's what I am using right now).
Bye
Hmm great, thanks for the info..
Ill try to flash it asap.
Whats the main need for this?
Douglaster said:
Hi there !
Is there a way to do this ?
I currently use ES file sharing but he always copy the files to the host before opening it up (this kill the purpose for me, because i keep all centralized for backup).
I tried using busybox and mount manager but i cant load the modules ! (yes the tablet is rooted).
Thanks for the help.
Click to expand...
Click to collapse
I have used ES File explorer to both send and receive files to and from the tablet. Maybe if you elaborated on what your need is we could better guide you to the correct software.
Thanks
DrClaw
I just want to mount a smb share on the tablet.
So the tablet see it as a local folder.
Douglaster said:
I just want to mount a smb share on the tablet.
So the tablet see it as a local folder.
Click to expand...
Click to collapse
ES File explorer will do just fine. It will not let you access the share from your other apps but if you want to access a file and use an app to open it that will work. If you looking to map shares to your device your better to learn how to use a VPN first. If you map a location and don't have access to it you might get unwanted consequences. If you have a VPN setup first you will have access to these shares away from home and won't have to worry about that as long as you have a signal. VPN means Virtual Private Network. Some routers have this built in but if you want a really nice one check out PfSense. That has many options and will work by adding a second network card to an old computer. Hope this helps a little but without knowing exactly what your looking to do I couldn't think of a better answer.
DrClaw
Just did it !
Thanks to Skyhigh and UpInTheAir i manage to sucessfully mount in the 1.9 version.
Now Poweramp and all other program function normally. Did with CIFS manager
Thanks for the help guys
I used to able to mount (using either NFS or CIFS) a shared folder on my NAS (Western Digital MyCloud) on FTV 1.
IP of the NAS: 192.168.5.6
Mountpoint on FTV: /mnt/obb/WD
I could use either of the following commands on FTV 1:
busybox mount -v -o udp,async,nolock,noatime,nodiratime,soft,intr,vers=3,rsize=65536,wsize=65536 -t nfs "192.168.5.6:/nfs/Devices" "/mnt/obb/WD" (NFS)
busybox mount -v -o noperm,unc="\\192.168.5.6\Devices",username=public,password=public -t cifs none "/mnt/obb/WD" (CIFS)
On the new FTV2, rooted, with Busybox and running RBox's latest ROM, both the above commands (running under SU) gives me an error "Device Not Found"... I searched and found that folks talk about these 3 things that might affect the mounting..
1. Related to SELINUX.. (I have tried "setenforce permissive", but that does not fix it)
2. Related to new permission paradigm on Android 5.1 where writes to external devices is prohibited by default. Not sure how it would affect mounting, but.....
3. ROM has no CIFS/NFS modules loaded.
Another data point, I can navigate to my shared folder on NAS using ES File Explorer, though. I also tried mounting to a different location "/mnt/sdcard/WD" instead of in "/mnt/obb", but that doesn't work either.
I have another FTV in a different room (first generation rooted FTV running the last pre-rooted ROM from RBox for FTV 1) and the above commands run fine. So my guess it has to do something with Lollipop... But I am not sure about the reason and I don't know how to go about fixing it. Any ideas would be very welcome. Thanks.
It will probably be the write permissions on lollypop mate, if say for instance I wanted to download something to my sd card (internal,external or usb device) via kids it won't write! But if I download it within inside the kodi files by making a new folder & set the download there it will download, & then I can transfer it to my internal, external or usb device. This is probably why you can't use your Nas in that directory? I don't know how or what Nas is properly (I'm thinking its a storage sharing unit which can be pushed or received?) Try what I said & maybe you might have some luck doing it this way?
Hope this helps, If so press that thanks button.
@dbdoshi
AFTV2 don't support any Network File Systems on kernel level (if I'm right understand from kernel source)
Ok, I guess the support for NFS or CIFS is not there in FTV2. I ran "cat /proc/filesystems" and I don't see NFS or NFS4 or CIFS... On the older FTV1, I do see them in the filesystems file. Wow. Any workarounds?
I even tried mounting using CIFS to a test shared folder my Windows 10 laptop and thats a no go too..
This is for Kodi. I move all its files to the NAS to run it and save the space on FTV. I have now started to use SDCard1 location to accomplish it as NAS does not seem to be an option in FTV2. But the strange thing is, if I add a source in Kodi using "Network File System (NFS)" option, I can navigate to my NAS fine.. Any way to know the command Kodi uses when you add a source like that?
ES File Explorer (for example) can see network shares too
Sorry to revive this old thread but I'm running into the same problem. I want to mount my network share to the fire tv 2 but neither cifs nor nfs worked... It used to work fine with my old firetv.
Any work arounds?
This is a very old thread, but I am bummed I can't run a network file server on my ftv2 stick and have to resort to using DLNA which just isn't quite the same.