divramod
divramod

Reputation: 1504

VirtualBox 5.0.26 (Ubuntu 16.04) VBoxNetAdpCtl: Error while adding new interface

To make use of Genymotion I need to install VirtualBox 5.0.26 on my Ubuntu 16.04 machine.

I need to create a Host-only Network Adapter, but when I do, I get the following error message:

VBoxNetAdpCtl: Error while adding new interface: VBoxNetAdpCtl: ioctl failed for /dev/vboxnetctl: Inappropriate ioctl for devic.

Result Code: NS_ERROR_FAILURE (0x80004005) Component: HostNetworkInterfaceWrap Interface: IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}

Update

I just tried to create a Host-only Network Interface with the VirtualBox Version 5.0.28 and 5.1.14 and VirtualBox throws the same error.

So it seems to be a general problem?

Upvotes: 3

Views: 9884

Answers (2)

divramod
divramod

Reputation: 1504

After trying and trying, it was installing the virtualbox guest additions that solved my problemL

sudo apt-get -y install dkms build-essential linux-headers-$(uname -r) virtualbox-guest-additions-iso

Upvotes: 4

Pyrewolf
Pyrewolf

Reputation: 35

Just a guessing, but did you manage to specify the right network adapter (or, the way VB is supposed to use it)? It looks like it VirtualBox can't find it. Could you please show how the VB adapter is set up in the settings?

EDIT: If you have a graphical user interface with you VB, I suggest you going to settings and choose the section that's about the network adapter. This could help you setting it up the right way: https://www.thomas-krenn.com/en/wiki/Network_Configuration_in_VirtualBox

Upvotes: 0

Related Questions