LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to mount network shared folder (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-mount-network-shared-folder-4175596141/)

peter7089 12-26-2016 05:39 AM

Unable to mount network shared folder
 
I have android 4.4.2 rooted device and Xubuntu laptop which are connected to the same LAN network wirelessly. I had setup shared folder on my Xubuntu laptop and i am trying to mount it on my android device. I tried this command from the terminal emulator on my android device:

Code:

su -c busybox mount -t cifs //192.168.31.118/home/peter/shared /pc
but i get this error:

Code:

mount: mounting //192.168.31.118/home/peter/shared on /pc failed: No such device
Any idea why it doesn't work?

IndyGunFreak 12-26-2016 06:13 AM

Any particular reason you can't just use an app for this? I just tried AndSMB and it connected to a SMB share on my NAS no problem.

I have no idea otherwise... Have you seen this?

http://stackoverflow.com/questions/1...-share-in-code

peter7089 12-26-2016 06:58 AM

Quote:

Originally Posted by IndyGunFreak (Post 5646358)
Any particular reason you can't just use an app for this?

I want the shared folder to be visible for all of my apps.
But i think i may not have cifs module installed because if i run: modprobe cifs
i get:
Code:

modprobe: can't change directory to '/lib/modules': No such file or directory
How can i install cifs module on my android device?

Also, the other option which i have is to mount the folder over ssh for which i will need to install sshfs. Is it possible to install sshfs on my android device?


All times are GMT -5. The time now is 10:12 AM.