Environment
Red Hat Linux 9 + Windows 7 Ultimate
Problem
Linux enables Windows file sharing through the Samba server
Solve
1. In order to achieve file sharing, Linux and Windows Firewall must be closed;
Under Linux, use the following command to turn off the firewall:
Service Iptables Stop
2.Windows 7 to create a new shared file, about how to set up, refer to this article;
3.Linux--------> Boot Samba server
Service SMB Start
4.Linux-------> System settings--------> Server settings-------->samba server--------> Add--------> as follows:
5. Preferences--------> Server Settings--------> Security--------> Authentication Mode Select "Share"--------> Encryption Password Select "No"--------> Guest Account Select "Root"------ --> determined;
6. Preferences------->samba users-------> Add users;
7. Reboot the samba server;
Service SMB Restart
8.Windows access to the shared files that Linux just set--------> Open Explorer--------> input
\\192.168.223.100
9.Linux share file access to Windows Settings--------> execute the following command-------->
Mount//192.168.223.1/share/mnt/cdrom