Virtualbox 由于网络适配器的原因,无法启动Genymotion

Virtualbox 由于网络适配器的原因,无法启动Genymotion,virtualbox,genymotion,Virtualbox,Genymotion,已经多次安装并重新安装了Genymotion和VB,现在已安装到这两个版本的最新版本中。 当我尝试启动genymotion时,它失败并在日志中留下跟踪: [debug] [VBox] [findHostOnlyInterface] Looking for compatible host-only interface [debug] [VBox] Call: ("list", "hostonlyifs") [debug] [VBox] Return code: 0 [warning] [VBox]

已经多次安装并重新安装了Genymotion和VB,现在已安装到这两个版本的最新版本中。 当我尝试启动genymotion时,它失败并在日志中留下跟踪:

[debug] [VBox] [findHostOnlyInterface] Looking for compatible host-only interface
[debug] [VBox] Call: ("list", "hostonlyifs")
[debug] [VBox] Return code: 0
[warning] [VBox] [getSavedHostOnlyInterface] Checking "VirtualBox Host-Only Ethernet Adapter" interface status (  QHostAddress( "192.168.56.150" )  )
[debug] [VBox] Empty interface name
[debug] [VBox] [createHostOnlyInterface] Creating new host-only interface
[debug] [VBox] Call: ("hostonlyif", "create")
[debug] [VBox] Return code: 0
[debug] [VBox] [createHostOnlyInterface] Interface "VirtualBox Host-Only Ethernet Adapter #2" created with success
不知道为什么它不喜欢现有的接口名,也不知道空接口名是什么意思。然后它尝试启动一个新的,但失败了,因为默认情况下它有一个0.0.0.0 IP

[critical] [VBox] [createHostOnlyInterface] "VirtualBox Host-Only Ethernet Adapter #2" configuration is not valid. Subnet: "0.0.0" . Mask: "0.0.0.0"
[debug] [VBox] [deleteHostOnlyInterface] Deleting "VirtualBox Host-Only Ethernet Adapter #2" host-only interface
[debug] [VBox] Call: ("hostonlyif", "remove", "VirtualBox Host-Only Ethernet Adapter #2")
[debug] [VBox] Return code: 0
[debug] [VBox] erase host.only.interface
[critical] [VBox] "Fail to load vboxmanage plugin from C:/Program Files/Genymobile/Genymotion/plugins/"
[critical] VM Engine failed to load, state 4
[critical] Unable to find VM Engine. Plugin loading aborted.
[debug] [LogCollector] VM engine not available
这一切看起来都像是VB和Genymotion之间的冲突。但我不知道如何解决它。 已经尝试了不同版本的VB桥接驱动程序,清理注册表并重新安装它们。不走运。 有没有一种方法可以比那些家伙更详细地调试呢?我真的很感兴趣为什么默认的网络界面不适合VB

尝试删除所有网络接口的解决方案

 [debug] [VBox] Path from registry: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"
 [debug] [VBox] Path: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"
 [debug] [VBox] Call: ("list", "hostinfo")
 [debug] [VBox] Return code: 0
 [debug] [VBox] [System properties] Online physical CPU number: 4
 [debug] [VBox] [System properties] Online virtual CPU number: 2
 [debug] [VBox] [System properties] Max CPU number: 8
 [debug] [VBox] [System properties] Max memory size: 16320
 [debug] [VBox] get "" from host.only.interface
 [debug] [VBox] [findHostOnlyInterface] Looking for compatible host-only interface
 [debug] [VBox] Call: ("list", "hostonlyifs")
 [debug] [VBox] Return code: 0
 [debug] [VBox] Empty interface name
 [debug] [VBox] [createHostOnlyInterface] Creating new host-only interface
 [debug] [VBox] Call: ("hostonlyif", "create")
 [debug] [VBox] Return code: 0
 [debug] [VBox] [createHostOnlyInterface] Interface "VirtualBox Host-Only Ethernet Adapter" created with success
............
 [critical] [VBox] [createHostOnlyInterface] "VirtualBox Host-Only Ethernet Adapter" configuration is not valid. Subnet: "0.0.0" . Mask: "0.0.0.0"
 [debug] [VBox] [deleteHostOnlyInterface] Deleting "VirtualBox Host-Only Ethernet Adapter" host-only interface
 [debug] [VBox] Call: ("hostonlyif", "remove", "VirtualBox Host-Only Ethernet Adapter")
 [debug] [VBox] Return code: 0
 [debug] [VBox] erase host.only.interface
 [critical] [VBox] "Fail to load vboxmanage plugin from C:/Program Files/Genymobile/Genymotion/plugins/"
 [critical] VM Engine failed to load, state 4
 [critical] Unable to find VM Engine. Plugin loading aborted.
我想知道这期间检查了什么

[Genymotion] [warning] [VBox] [getSavedHostOnlyInterface] Checking "VirtualBox Host-Only Ethernet Adapter" interface status (  QHostAddress( "192.168.56.1" )  )

根据
空接口名
消息,其中一个VirtualBox hostonly网络接口似乎处于奇怪状态。也许你可以试试这个:

  • 退出Genymotion
  • 启动VirtualBox
  • 打开“首选项”面板(Ctrl+G)
  • 转到“网络”>“仅主机网络”
  • 删除此处的所有接口
  • 再次启动Genymotion
是啊!我做到了
由于我的运气,我在VB网络连接设置中找到了Wireshark的一个驱动程序,在那里自动添加了“NPCAP数据包驱动程序”。在我把它取下来后,一切都开始像一个魔咒一样工作了!

运气不好。已经试过了——同样的行为。尝试创建新接口,但由于默认设置无效而失败。啊,好的。然后,您可能可以尝试修复hostonly接口定义:日志显示
[critical][VBox][createHostOnlyInterface]“VirtualBox仅主机以太网适配器”配置无效。子网:“0.0.0”。掩码:“0.0.0.0”
:尝试编辑接口并将网络掩码设置为类似255.255.255.0的值。还要检查DHCP服务器是否已启用。这是我开始使用的配置正确的DHCP的两个
192.168.56.1 | 150
。在初始日志中提到,它是
检查“VirtualBox主机专用以太网适配器”接口状态(QHostAddress(“192.168.56.150”)
。你知道,我唯一没有尝试过的就是在这个安装上运行一个随机的虚拟机(不是从Genymotion)。我来试试。你用的是哪个版本的VirtualBox?对于Windows,建议的版本是5.0.28(cf),我从默认情况下genymotion提供的版本开始,然后切换到最新版本。现在我又上了5.0.28,但结果是一样的。请在GitHub上向Npcap的问题报告:不知道这是否是Npcap问题,尽管Genymotion团队已经被告知了这一点。顺便说一句,一个普通的Debian在提供配置的情况下运行正常。