ubuntu下vmware 网络无法连接

资料来源:http://tc.chinawin.net/it/os/article-7dd3.html

在win下用習慣了vmware
,在ubuntu下用virtualbox怎麼都不習慣,就又裝了vmware,昨天裝完用的還好好的,今天虛擬機啓動不了了。
ubuntu9.10 + vmware workstation 7.0.1 build-227600
根據提示和日誌 依次運行
sudo modprobe vmmonsudo 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 --helpvmware-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
--star
tStarted 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 --startStarted 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

转载于:https://my.oschina.net/HIJAY/blog/317699

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值