a problem recently encountered by the author, the Samba service in virtual machine Linux is normally turned on and the host passes "\\192.168.229.200 "(The static address of the Linux system configuration in my virtual machine) cannot access the share directory (/var/test), and after several reboots, check the configuration, and then restart, can not be resolved." then suddenly thought of the host Management Service configuration in the virtual machine related services are open , it dawned, so write this short article and encounter similar problems with friends to share.
If this article was written earlier by the author
Virtual Linux system setting static LAN address and host implementation Samba services
Configure the static address, install and simply configure the Samba service, open after the host input "\\192.168.229.200" directly to the Linux designated share directory, but this time everything is normal, check several times, also did not find the problem.
Vim/etc/samba/smb.conf
[Share] Path =/var/test writable = yes public = yes
[Email protected]:/var/test/project$ service SMBD statussmbd start/running, Process 728
Finally think of the host service Management information, may be yesterday after the shutdown updated service management since the start, so decisively open a look, the VMware related services are not open, the reason is here, but I estimate is VMware DHCP service and VMware NAT The service is not turned on, but I am all related manually turned on, and then try again and can access it.
Right-click Computer > Management > Services and Applications > Services