The host window cannot access the directory provided by the virtual machine LinuxSamba service

  
        

A problem I recently encountered, the Samba service in the virtual machine Linux is normally open, and the host cannot access the Share directory by "static address configured by the Linux system in my virtual machine" ( /var/test), and after several reboots, check the configuration, and then restart, there is no way to solve it. Later, I suddenly thought of whether the virtual machine related services in the host management service configuration were turned on, so I suddenly realized this, so I wrote this essay and shared it with friends who encountered similar problems.

If you follow this article I wrote earlier

Virtual Linux system to set static LAN address and host to implement Samba service

Configure static address, install and simply configure Samba service, After opening, you can directly access the Share directory specified in Linux through the host input, \\\\192.168.229.200” directly, this time everything is normal, check several times, and found no problem.

vim /etc/samba/smb.conf

[share] path = /var/test writable = yes public = yes
king@king-desktop:/var/test/Project$ service smbd statussmbd start/running, process 728

Finally thought of the information in the host service management, may be modified after the shutdown of the service management self-starting yesterday, so decisively open, VMware-related services are not turned on The reason is here, but I guess the VMware DHCP Service and VMware NAT Service are not open, but I have manually opened all the relevant, and then try again.

Right-click Computer > Manage > Services & Applications > Services



Copyright © Windows knowledge All Rights Reserved