感谢支持
我们一直在努力

Ubuntu下VMware 网络无法链接

在Win下用习惯了VMware ,在Ubuntu下用virtualbox怎么都不习惯,就又装了VMware,昨天装完用的还好好的,今天虚拟机启动不了了。


Ubuntu 9.10 + VMware workstation 7.0.1 build-227600
根据提示和日志
依次运行
sudo modprobe vmmon
sudo modprobe vmci


好了虚拟机成功起来了
网络无法链接
点connect之后 显示
Could not connect Ethernet0 to virtual network “/dev/vmnet8”. More information can be found in the VMware.log file.
Failed to connect virtual device Ethernet0.



在网上找了一下,竟然没有相关错误,郁闷了
找VMware相关的文件,发现有个 VMware-network


tian@tian-laptop:~$ VMware-networks –help
VMware-networks version: 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>
  –install-host-policy [<subnet>,<dhcp=0|1>]
  –uninstall-host-policy
  –start
  –stop
  –status



Additional options:
  –help | -h
  –version



也许就是这个,接着运行
tian@tian-laptop:~$ sudo VMware-networks –start
Started Bridge networking on vmnet0
Failed to start DHCP service on vmnet1
Failed to enable hostonly virtual adapter on vmnet1
Failed to start DHCP service on vmnet2
Failed to start NAT service on vmnet2
Failed to enable hostonly virtual adapter on vmnet2
Failed to start DHCP service on vmnet8
Failed to start NAT service on vmnet8
Failed to enable hostonly virtual adapter on vmnet8
Started Network detection service
Failed to start some/all services



又报错了,无法启动
试一下


sudo modprobe vmnet


再来
tian@tian-laptop:~$ sudo VMware-networks –start
Started Bridge networking on vmnet0
Started DHCP service on vmnet1
Enabled hostonly virtual adapter on vmnet1
Started DHCP service on vmnet2
Started NAT service on vmnet2
Enabled hostonly virtual adapter on vmnet2
Started DHCP service on vmnet8
Started NAT service on vmnet8
Enabled hostonly virtual adapter on vmnet8
Started Network detection service
Started all configured services on all networks



成功了。
网络也顺利的连上了。。。

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu下VMware 网络无法链接
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏