Had anyone managed to get Cifs working with Android on Wave?? - Bada Software and Hacking General

I've installed CiFS manager on my Wave. But I can't seem to be able to mount my share..it says like "mounting the share has failed with an error permission denied"
What do I need to do. I put address right. and guest as username. no pass. also
this SMB share works on ES File Manager. Do I have put put a 'ko' file somewhere??

Related

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.

CIFS issue

Hi,
I am using CIFS manager and ES File Explorer. The first time I mount a share, it will open in ES as an empty folder. I'd have to unmount and remount, open it again. Good chance it will show the content but not always.
When it does show content, if I try to install an APK in the remote folder, it will generate error "there was a problem parsing the package". However, I can copy the file to a local folder and then install successfully.
And I can't seem to write to any mounted folder, regardless the permission I used.
Any way to fix this?
I am not sure if these are related to
Fix for empty app-mounted directories (CifsManager, etc.) in Android 4.2. Does anyone know if it's in this build?
Thanks
You can open CIFS shares directly from ES File Explorer.
Greek2me said:
You can open CIFS shares directly from ES File Explorer.
Click to expand...
Click to collapse
Yes. However, it will copy it to local if you try to read the file.
For something that's properly mounted, it should not happen that way -- it should be transparent to the program.

[Q] Can't mount samba share in Android Lollipop

In android 4.4 I used the ElementalX kernel and cifs manager to mount samba shares so I could watch videos from WiFi.
Then I've upgraded to Lollipop, rooted, installed the ElementalX 3.2 kernel but when I try to mount a dir with Cifs Manager and Mount Manager in my tablet, it says it has mounted the share sucessfully but when I try to open the files I want all I find is an empty folder. I tried looking at the folder through the Terminal Emulator or through my PC but the folder is empty in all of them.
Is there any fix for this? Does anyone know if it's a kernel problem or a Lollipop problem?
Download terminal emulator and run the two commands below
su
restorecon -FR /data/media/0
SwoRNLeaDejZ said:
Download terminal emulator and run the two commands below
su
restorecon -FR /data/media/0
Click to expand...
Click to collapse
Just did that, it said it loaded some file_contexts. But it didn't solve my problem
Wait, is this otg?
SwoRNLeaDejZ said:
Wait, is this otg?
Click to expand...
Click to collapse
No, I'm not trying to mount an usb otg device. I'm trying to mount a samba share using the Wi-fi network. I can mount usb sticks using otg just fine.
What is the exact path of the directory?
SwoRNLeaDejZ said:
What is the exact path of the directory?
Click to expand...
Click to collapse
Share path: 192.168.1.112/Teste
I tried these two mount points:
Mount point: /storage/emulated/legacy/cifs/Teste
Mount point: /mnt/cifs/Teste
Can you get to it from es file explorer/lan? I watch vids from a nas drive and windows samba shared folders all the time. If the folder opens and you click on a file, es fx will give a choose menu to open the file with MX player or others if installed.
matt55555 said:
Can you get to it from es file explorer/lan? I watch vids from a nas drive and windows samba shared folders all the time. If the folder opens and you click on a file, es fx will give a choose menu to open the file with MX player or others if installed.
Click to expand...
Click to collapse
It worked! I didn't know you could watch videos from Es File Explorer... Many thanks to you!
RodrigoDavy said:
In android 4.4 I used the ElementalX kernel and cifs manager to mount samba shares so I could watch videos from WiFi.
Then I've upgraded to Lollipop, rooted, installed the ElementalX 3.2 kernel but when I try to mount a dir with Cifs Manager and Mount Manager in my tablet, it says it has mounted the share sucessfully but when I try to open the files I want all I find is an empty folder. I tried looking at the folder through the Terminal Emulator or through my PC but the folder is empty in all of them.
Is there any fix for this? Does anyone know if it's a kernel problem or a Lollipop problem?
Click to expand...
Click to collapse
For future reference, fix here: http://forum.xda-developers.com/showpost.php?p=58032907&postcount=2

Generic.kl

hi trying to copy a new generic.kl to the keylayout folder in es file explorer, i have done this many times withno issues on numerous ftv's however onmy current device i keep getting error failed EACCESS (permission denied)
please help, very frustrated
lot of people viewing this, surely dome1 can help
You have granted root permissions to the file explorer app and mounted the file system as r/w?
ihave granted root permissions but dont understand the other bit ur asking
I have never used ES File Explorer specifically but I know in File Manager I use has the options you have to check, both use root functions, then mount /system as R/W or read/write. It's normally only R/O or Read Only.
This can be achieved with adb also if needed
Could anyone share their keylaout and keychars firetv folders please? I need the fire tv gaming controller kl and kcm files.

Categories

Resources