The network cannot be connected.
Error message:
Cocould not connect Ethernet0 to virtual network "/dev/vmnet1". More information can be found in the VMware. log file.
Failed to connect virtual device Ethernet0.
1) Find the vmware-networks command
Liuyaohua @ Lenovo-G460-LYH :~ $ Ls/usr/bin/vm *
/Usr/bin/vmnet-bridge/usr/bin/vmtoolsd/usr/bin/vmware-modconfig/usr/bin/vmware-usbarbitrator
/Usr/bin/vmnet-dhcpd/usr/bin/vmware-mount/usr/bin/vmware-user-suid-wrapper
/Usr/bin/vmnet-natd/usr/bin/vmware-checkvm/usr/bin/vmware-netcfg/usr/bin/vmware-vdiskmanager
/Usr/bin/vmnet-netifup/usr/bin/vmware-fuseUI/usr/bin/vmware-networks/usr/bin/vmware-vim-cmd
/Usr/bin/vmnet-sniffer/usr/bin/vmware-gksu/usr/bin/vmware-ping/usr/bin/vmware-vmblock-fuse
/Usr/bin/vmplayer/usr/bin/vmware-hgfsclient/usr/bin/vmware-rpctool/usr/bin/vmware-vprobe
/Usr/bin/vmrun/usr/bin/vmware-hostd/usr/bin/vmware-toolbox-cmd/usr/bin/vmware-wssc-adminTool
/Usr/bin/vmss2core/usr/bin/vmware-installer/usr/bin/vmware-tray/usr/bin/vmware-xdg-detect-de
/Usr/bin/vmstat/usr/bin/vmware-license-check.sh/usr/bin/vmware-uninstall/usr/bin/vmware-xferlogs
/Usr/bin/vm-support/usr/bin/vmware-license-enter.sh/usr/bin/vmware-unity-helper
Liuyaohua @ Lenovo-G460-LYH :~ $ Vmware-networks -- help
Vmware-networks versions: 0.1
Usage: vmware-networks [-- verbose |-v] <option>
Use exactly one of these commands:
-- Postinstall <component-name>, <old-version>, <new-version>
-- Migrate-network-settings <location of settings file>
-- Start
-- Stop
-- Status
Additional options:
-- Help |-h
-- Version
2) use sudo vmware-networks -- start to check whether the network can be started.
Liuyaohua @ Lenovo-G460-LYH :~ $ Sudo vmware-networks -- start
Started Bridge networking on vmnet0
Failed to enable hostonly virtual adapter on vmnet1
Failed to start DHCP service on vmnet1
Failed to start NAT service on vmnet8
Failed to enable hostonly virtual adapter on vmnet8
Failed to start DHCP service on vmnet8
Failed to start some/all services
3) Run The sudo modprobe vmnet command.
Liuyaohua @ Lenovo-G460-LYH :~ $ Sudo modprobe vmnet
4) The network is restarted successfully.
Liuyaohua @ Lenovo-G460-LYH :~ $ Sudo vmware-networks -- start
Started Bridge networking on vmnet0
Enabled hostonly virtual adapter on vmnet1
Started DHCP service on vmnet1
Started NAT service on vmnet8
Enabled hostonly virtual adapter on vmnet8
Started DHCP service on vmnet8
Started all configured services on all networks
5) VMware is successfully started.