Last modified: May, 2014
sudo apt-get install build-essential linux-headers-$(uname -r)
vmware-install -l
and then uninstall the corresponding product, such as
sudo vmware-install -u vmware-player
Solution: The problem is probably the default bridged interface in VMPlayer eth0 (or the first one it can find). The wifi interface is probably not eth0. To bridge network to a specific interface, follow this link.
Solution: This means the 64-bit support is not enabled on the host machine. It can be enabled in BIOS. Restart the computer, and boot into BIOS. Under “Security” –> “Intel (R) Virtualization Technology”, make it “enabled”. Reference: https://communities.vmware.com/message/2133628#2133628
sudo apt-get install linux-headers-generic build-essentials
Attach the VMware Tools (in VMware Player, “Virtual Machine” –> “install VMware Tools”), and then there will be an iso image mounted to the guest’s CDrom. Extract the file named “VM*.tar.gz” to some place, and cd into “vmware-tools-distrib” directory in the extracted directory. The file “manifest.txt” includes all the instructions of installation. But the simpliest approach is to follow the default:
sudo ./vmware-install.pl
Reboot the machine to finish the installation.
Solution: First make sure “dkms” is installed. And add the current user to “vboxusers” group:
sudo usermod -aG vboxusers myusername
Don’t forget to log out or reboot to make change take effect.
Solution: “Settings” –> “Network” –> “Enable Network Adapater” and select “NAT”. Under the “Advanced”, select the right “Adapter Type” (try another if one doesn’t work) and select “Cable Connected”. Start the virtual machine, and Internet should get connected.
If it still cannot access the Internet (although local connection is established), try to ping a public IP such as 8.8.8.8 (Google’s public DNS). If the ping works, then it is probably the DNS problem. Click the local connection icon on the task bar –> “Support” –> “Details” –> change DNS to 8.8.8.8 and 8.8.4.4.