LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2016, 05:39 AM   #1
peter7089
Member
 
Registered: May 2016
Distribution: MX Linux
Posts: 249

Rep: Reputation: Disabled
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?
 
Old 12-26-2016, 06:13 AM   #2
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
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
 
Old 12-26-2016, 06:58 AM   #3
peter7089
Member
 
Registered: May 2016
Distribution: MX Linux
Posts: 249

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by IndyGunFreak View Post
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access shared folder Huamin Linux - Software 1 05-29-2013 03:29 AM
Problem with mount / fstab to a network shared folder Qlubbie Linux - Server 2 10-24-2011 07:40 AM
unable to share a folder in suse 10.0, folder defaults to not shared sirius57 Linux - General 1 05-15-2010 03:33 AM
unable to auto mount 'shared folder' iin Suse 11.2 virtual machine using Virtual Box marvinudy Linux - Virtualization and Cloud 1 02-03-2010 02:29 PM
Mount shared folder in home network kiwidoc66 Linux - Networking 2 02-17-2007 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration