vbox Host only interface IP configuration, access denied

Hi everybody,

I'm encountering trouble of denied access :

$ /usr/local/bin/VBoxManage hostonlyif ipconfig vboxnet0 --ip 192.168.99.1 --netmask 255.255.255.0
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp


$ cat /usr/local/etc/vbox/networks.conf
192.168.99.0/24

$ pkg info virtualbox-ose
virtualbox-ose-6.1.36
Name : virtualbox-ose
Version : 6.1.36
Installed on : Fri Sep 16 18:57:40 2022 CEST
Origin : emulators/virtualbox-ose
Architecture : FreeBSD:13:amd64


Has somebody solved this problem ?

Thank you very much for your suggestions.
 
just take a look to FreeBSD Handbook ,Virtualization Chapter 22. Maybe is just a question of permission

Screenshot 2022-10-02 at 09-59-20 Chapter 22. Virtualization.png
 
Back
Top