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