Access windows sharing in your LAN with Centos,fedora, etc.

Source: Internet
Author: User

has been in the Linux world for some time, it feels as if your computer has become an island. The people around are still using Windows system, can share files with each other, I use the Linux system, other people's shared files do not know how to access? Through the online search of information learning, now know. Write your notes and use CentOS to access Windows shared files on your local area network.

Many of the online use the following methods:

# mount-t Smbfs-o username= "Administrator" , password= ""//192.168.1.100/cp/mnt/ntfs

However, when the above method executes, the following information appears (possibly a different version of Linux):

Mount:unknown filesystem type ' SMBFS '

This does not seem to work, after checking the information, said SMBFS to CIFS, so use the following method:

# mount-t Cifs-o username= "Administrator", password= ""//192.168.1.101/cp/mnt/ntfs

Description

Mount-t Cifs-o This is not much to say (according to write it).

Username= the user name required for "Administrator" access.

Password= "" Access the required password (blank password).

192.168.1.101/CP the IP address of the shared machine, and the following CP is the share name (not the CP command).

/mnt/ntfs mounted directory (shared directory is mounted here).

Or look at the picture, I did a demo, not much to say,

Note:

   share a directory in Windows with two permissions (read-only and read-write), and the Windows share permissions I demonstrated are read-write. If someone else shared permission is read-only, then it is not possible to copy their own machine files to the other shared directory, it will prompt "insufficient permissions."

Related Article

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.