Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to start Genymotion due to network adapter

Have installed and reinstalled Genymotion and VB for several times and now on the latest releases of both of them. When I try to start genymotion it fails and leaves a trace in logs:

[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

Have no idea why it doesn't like the existing one and what Empty interface name means. Then it tries to start a fresh one, but fails because by default it has a 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

It all looks like a conflict between VB and Genymotion. But hav no idea how to solve it. Already tried different versions for VB bridged driver, cleaning registry and reinstalling them both. No luck. Is there a way to get more detailed debug then in thoose loogs? Really interested why default network interface doesn't fit to VB.

Trying solution with deleting all net interfaces

 [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.

I wonder what is checked during

[Genymotion] [warning] [VBox] [getSavedHostOnlyInterface] Checking "VirtualBox Host-Only Ethernet Adapter" interface status (  QHostAddress( "192.168.56.1" )  )
like image 886
Ivan Tamashevich Avatar asked Sep 02 '25 10:09

Ivan Tamashevich


1 Answers

Yeah! I did it!
Due to my luck I found in the VB network connection settings a driver from Wireshark, added there automatically "NPCAP Packet Driver". After I removed it, everything started working like a charm! enter image description here

like image 106
Ivan Tamashevich Avatar answered Sep 05 '25 17:09

Ivan Tamashevich