A: Basic introduction
Description: After configuring Samba, you can go directly to the Linux shared folder from under window, allowing for file interaction between different OSes.
Action: You can enter Ubuntu IP into Windows to try it on "My Computer" or "Run" to enter "\ \ + Ubuntu machine IP" such as:\\192.168.1.130
Second: Encounter problems
A display that cannot be opened appears when you follow the action.
Note: 192.168.1.134 is the IP set for the Ubuntu virtual machine.
Three: Reasons for analysis
1. The IP address of the host computer does not correspond to the virtual machine, the two are not a network segment.
2. The DNS gateway set by the virtual machine is not a local DNS gateway.
IV: Solutions
1. When I set both the computer host IP and the virtual machine IP to 192.168.1.xxx (the IP cannot be the same, otherwise there will be an IP conflict), found can open
2. But at this time, but can not log on the Web page cannot internet (here using wireless Internet), the query learned that the local automatic IP address is 192.168.137.xxx,
When I set the computer host and the virtual machine IP to 192.168.137.xxx, I was able to surf the internet, but Samba couldn't open it.
Instead of connecting to a wired network, the same thing happens, either to surf the Internet or to open samba, but not both.
3. The ultimate compromise solution is to connect wired, wireless, and wired local connections to the Internet, using a wireless network to connect virtual machines. Finally, we can access the information on the Internet and open samba at any time.
At this point try to change the wireless network to Chinanet, without an account, even if the IP set to 192.168.1.xxx is also not possible.
Ubuntu: Turn on the Samba service failure to open Linux shared files properly