Ubuntu下VMware 网络无法链接[Linux安全]
本文“Ubuntu下VMware 网络无法链接[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
在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]
Use exactly one of these commands:
--postinstall
--migrate-network-settings
--install-host-policy [
--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
成功了.
网络也顺利的连上了...
以上是“Ubuntu下VMware 网络无法链接[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |