Unable to remove host-only network adapter

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Unable to remove host-only network adapter

Post by msmcknight »

Hi everyone,

I'm using vbox 4.3.8 on Solaris 11.1 x64 and when I try to remove the hostonly adapter using the vbox manager, I get the following error:

Failed to remove the host network interface vboxnet0
Callee RC: NS_ERROR_NOT_IMPLEMENTED (0x80004001)

How do I remove the host-only interface?

Thank you
-Michael
justus
Posts: 5
Joined: 9. Aug 2012, 08:57

Re: Unable to remove host-only network adapter

Post by justus »

Bogged similarly, I simply created a new machine. I do not remember the complete procedure (saving the hard disk etc.), but problems did not come up.
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: Unable to remove host-only network adapter

Post by msmcknight »

I'm actually trying to remove it completely. If I go under File --> Preferences --> Network, I want to remove the host-only adapter completely. I can remove it on a Windows host, but cannot seem to remove it on a Solaris host. Basically, I want to remove the driver completely so there is no hook into the network stack at all.

Thanks!
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Unable to remove host-only network adapter

Post by Ramshankar »

If you want to remove the driver, you'll need unplumb the interface (ifconfig vboxnet0 unplumb) and then rem_drv vboxnet.
Oracle Corp.
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: Unable to remove host-only network adapter

Post by msmcknight »

Thank you... a few more questions...

Will that only remove the host-only interface, or will "rem_drv vboxnet" remove all network capability for the VM's?

Would it permanently remove the interface -- ie. would it reappear after a reboot?

What steps would I take to add it back should I decide to?

Thanks again,
-Michael
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Unable to remove host-only network adapter

Post by Ramshankar »

Removing vboxnet would removing "Host-only networking" functionality. It will not remove Bridged networking or NAT, Internal network functionality.

The driver should not get re-loaded after a reboot.

To re-add it you'd have to do:
add_drv vboxnet
Oracle Corp.
Post Reply