Virtualbox and Host-only adapter

Virtualbox and Host-only adapter

Postby johnpenguin » Jan 7th, '24, 00:47

Since upgrading to Mageia 9, Host-only adapters don't work in Virtualbox. Setting a virtual machine to use a Host-only adapter results in error (as happens with preexisting virtual machines that used to work fine before), and the same happens when trying to create a Host-only adapter under Tools/Network, which results in the following error message:

Code: Select all
Creating Host-only Network Interface

VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: Permission denied.

Result Code: NS_ERROR_FAILURE (0X80004005)


I have tried adding user to vbox group, but the problem persists.
johnpenguin
 
Posts: 37
Joined: Feb 28th, '19, 02:15

Re: Virtualbox and Host-only adapter

Postby doktor5000 » Jan 7th, '24, 03:28

IIRC you need to create hostonly adapter once as root. So run virtualbox once as root, in settings check or create the hostonly adapter. Then exit it and you should be able to use it then.
For each reboot after that another small workaround is needed, see https://bugs.mageia.org/show_bug.cgi?id=29614 and the later comments.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest