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

韩梦芫發表於2024-03-06

不用重灌VirtualBox,安裝虛擬網路卡

今天使用VirtualBox的host-only模式,因為之前把網路連線解除安裝,這次出現的各種錯誤。
Failed to create the host-only adapter
Could not find Host Interface Networking driver! Please reinstall
How 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

相關文章