How Linux and Windows access shared folders from one network to another

Source: Internet
Author: User

One, Linux access Windows shared folder

1. First create a shared folder, such as share, under the mnt clip.

2. Load shared folders for Windows systems
The commands for accessing Windows shared folders under the Linux command line are:
mount-t cifs-o username=windowsusername//windows machine/sharefiles/mnt/localfolder
such as: Mount-t cifs-o username=guest,password=//192.168.1.102/mtv/mnt/share
among them:
windowsusername:windows User Name
Windows Machine:windows machine name
sharefiles:windows shared folder name
You can then access the Windows content under/mnt/localfolder.

Alternatively, you can view the shared files directory on the Windows machine in the command-line environment using the following command.
[email protected] root]# smbclient-l//192.168.1.100
   
Note: The uppercase L is used.
Once the connection is successful, the shared Files directory on the Windows machine will be displayed, and then the Mount shared folder will continue.

3. Cancel Access command: Umount/mnt/localfolder

Second, Windows system access to the shared folder under the Linux system
In Mandriva2009.1 Spring, the first thing to configure the Samba server in the network share in the control center is to install the appropriate software. Then select any file in the home folder to share, and Windows can access it directly. It is important to note that the SMB service in the firewall is turned on for normal access.

How Linux and Windows access shared folders from one network to another

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.