Manjaro中VMwareWorkstation网卡无法连接的解决办法

提示信息可能像这样:

Could not connect 'Ethernet0' to virtual network '/dev/vmnet0'. More information can be found in the vmware.log file.

Failed to connect virtual device 'Ethernet0'.

尝试以下操作:

  1. 启动网络服务
sudo systemctl restart vmware-networks
  1. 尝试重装内核
# 61 改为自己的版本
yay -S linux61 linux61-headers

重启后再试。

  1. 重置网卡设置
sudo touch /etc/vmware/x && sudo vmware-networks --migrate-network-settings /etc/vmware/x && sudo rm /etc/vmware/x && sudo modprobe vmnet && sudo vmware-networks --start

参考:

  1. https://www.jianshu.com/p/d01e65ea8d09
  2. https://communities.vmware.com/t5/VMware-Workstation-Pro/Network-services-failed-in-Linux-installation-VMware-workstation/td-p/2317431