请选择 进入手机版 | 继续访问电脑版

雨林木风

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 17|回复: 0

Ubuntu下VMware 网络无法链接

[复制链接]

6391

主题

6394

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
19410
发表于 2019-12-13 09:07:35 | 显示全部楼层 |阅读模式
  在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
  成功了。
  网络也顺利的连上了。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

|网站地图
快速回复 返回顶部 返回列表