Mount windows shared directory
Windows sharing permission setting
Unban Guest
Right-click on My Computer and select Manage -> Local Users and Groups -> Double-click Guest user in the user item -> Cancel the account disabled option
Set shared directory permissions
Right click on the shared directory and click on the properties -> click on the sharing option on the sharing page -> drop down and select the shared object as Everyone -> click on the share button
3. Set the local strategy
Open the command box -> enter secpol.msc -> select the local strategy
User rights assignment -> Deny access to this computer from the network -> Delete the Guest user
Security Options -> Network Access: Sharing and Security Model for Local Accounts -> Drop-down and select Guest Only
Linux mount side
Scan shared directories
smbclient -L //192.168.80.1/ #Windows端的IP地址
不需要输入密码直接回车
Mount the shared directory
yum install -y cifs-utils
mkdir /data
mount.cifs //192.168.80.1/share /data
不需要输入密码直接回车
df -h
ls /data
Encountered the wrong solution
Check whether the network is smooth, use ping, and solve the link problem if it is not smooth. If it
can be pinged, check the network card, whether ONBOOT is yes,
check whether the firewall has a blocking strategy, turn off the firewall
, refresh the network card or turn off ipv6 and refresh the network card again