[Q] how to mount PC samba share? - G Pad 8.3 Q&A, Help & Troubleshooting

How to mount a remote samba shared folder on a remote PC in our gpad with apps like cifsmanager?
i'm rooted.
i need a special kernel or cifs.ko modules loaded on the fly?
anyone help?

Related

Mounting Samba Shares

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.

SSH tunnel - mounting CIFS vs ES file manager etc... read more

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.

CIFS! unable to mount linux smb share on GT-P5210 with cifsmanager and BinDroid

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.

[Q] mount shared folder in android

Hi guys,
I have some problems with the mount options in android.
I often use ES File Manager but it's very annoying to always download the media i need.
I want to mount the shared folder in my tablet, but first of all my specs:
-SM-T311 (3G+Wi-Fi) with stock rom and rooted
-Apparently no cifs.ko / smb.ko /nfs.ko module inside /system/lib/
My shared folder is available through SMB (SAMBA) and NFS (Network File System) but none of these two are working via mount command in terminal, already tried with thousand of combination.
Even SSH/SFTP is available if this is the only option for me.
With Ubuntu i'm easily able to mount the folder in the system, but with android it always lack of functionality.
Can anyone help me?
Do i need to add the module in my system? If yes, how? Can i extract the module from the CM rom and copy/paste to my directory?
Thank you guys, I'm really looking forward for some help.

TCL S65A , mounting SMB NAS without root

Hello everyone,
As the title says, is it possible to mount a SMB storage to a local folder of the Android TV? My problem is that I have a NAS attached to a Raspberry which has lots of roms, and on the TV I have installed Retroarch. The problem is that Retroarch can only see local folders, it doesn't have any implementation to access network folders. So what I'm trying to do is mounting that NAS as a local folder here in the TV but so far I got nothing, the best I could do is download an file explorer to access the NAS from the TV but that's it.
I know that the simplest solution would be to disconnect the NAS and plug it in to the USB of the TV (what I'm doing nowadays) but if I could mount that to the TV and still keep it attached to the RPI it would be great.
In case this is not possible (as I'm suspecting) without root, the alternative would be to download the pre-rooted .img from the other thread in this forum and go from there?
Thanks
gab8 said:
Hello everyone,
As the title says, is it possible to mount a SMB storage to a local folder of the Android TV? My problem is that I have a NAS attached to a Raspberry which has lots of roms, and on the TV I have installed Retroarch. The problem is that Retroarch can only see local folders, it doesn't have any implementation to access network folders. So what I'm trying to do is mounting that NAS as a local folder here in the TV but so far I got nothing, the best I could do is download an file explorer to access the NAS from the TV but that's it.
I know that the simplest solution would be to disconnect the NAS and plug it in to the USB of the TV (what I'm doing nowadays) but if I could mount that to the TV and still keep it attached to the RPI it would be great.
In case this is not possible (as I'm suspecting) without root, the alternative would be to download the pre-rooted .img from the other thread in this forum and go from there?
Thanks
Click to expand...
Click to collapse
Hmm i don't think it is possible to mount network devices like in windows.

Categories

Resources