VirtualBox Host-only Adapter,Failed to create the host-only adapter

来源:互联网 发布:深圳市软件产业基地 编辑:程序博客网 时间:2024/06/07 18:28

不用重装VirtualBox,安装虚拟网卡

今天使用VirtualBox的host-only模式,因为之前把网络连接卸载,这次出现的各种错误。Failed to create the host-only adapterCould not find Host Interface Networking driver! Please reinstallHow to reinstall the host-only network adapter in VirtualBox 

Failed to create the host-only adapter

修改vagrant 配置文件
config.vm.network “private_network”, ip: “192.168.33.10”
启用host-only模式
出现没有找到 host-only适配器

Could not find Host Interface Networking driver! Please reinstall

在virtualbox 管理 - > 全局设定 -> 网络 - > tab 仅主机网络 - > 添加

正常情况下是可以添加成功的,但是有可能报
Could not find Host Interface Networking driver!Please reinstall

How to reinstall the host-only network adapter in VirtualBox

如果第二步报错,这是因为之前卸载虚拟网卡的时候把驱动也给删除了。
可以在安装virtualbox目录../Oracle VM VirtualBox中的 drivers\ network\ netadp6目录下有三个文件
VBoxNetAdp6.cat
VBoxNetAdp6.inf
VBoxNetAdp6.sys
这就是virtualbox虚拟网卡的驱动,右击VBoxNetAdp6.inf,点安装即可。
然后再做第二步。应该可以完成了。

参考网址:https://www.virtualbox.org/ticket/14437

0 0
原创粉丝点击