Android-mount a Samba share

Source: Internet
Author: User

Mount Manager, Cifs Manager : Manage your Cifs/nfs network shares

was working, and the command from the terminal is not.

For me anyway, it turned out that I just had to modify the command slightly and it worked.

Try the following command:

Mount-o username=Guest, password=guest//[ipaddress]/[share]/sdcard/ Cifs/nas 

Make sure, the local folder /sdcard/cifs/nas (or your desired equivalent) exists

Before running the command or you might get a "file or directory doesn ' t exist" error.

This document provides help on mounting smb/cifs shares under Linux.

All files accessible in a Linux and UNIX systems is arranged in one big tree, the file hierarchy, rooted at/.

These files can be spread off over several devices.

The Mount command serves to attach the file system found on some device to the big file tree.

Use the mount command to mount remote Smb/cifs shares under Linux as follows:

//  192.168.1.1/mysharedfolder -o username=myUser, password=mypassword/mnt/ Mysharedfolder

Where,
- T CIFS : File system type to be mount
- o : is options passed to mount command, in this example I had passed the options.
First argument is the user name (MyUser) and second argument is the password (mypassword)
To connect to the remote computer.
//192.168.1.1/mysharedfolder : remote computer and share name
/mnt/mysharedfolder : Local mount point directory

Make sure to Create/mnt/mysharedfolder first.

To connect to the remote computer.

Mount.cifs (8)-Linux man page

Android-mount a Samba share

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.