Error while creating host only network

Discussions about using Linux guests in VirtualBox.

Error while creating host only network

Postby sid1999 » 18. Jul 2019, 22:41

hi there!
i am facing an issue while making host only network on virtual box for kali linux.
Following is the error. Please help.
Querying NetCfgInstanceId failed (0x00000002).

Result Code: E_FAIL (0x80004005)
Component: HostNetworkInterfaceWrap
Interface: IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}
sid1999
 
Posts: 4
Joined: 18. Jul 2019, 00:41

Re: Error while creating host only network

Postby socratis » 20. Jul 2019, 21:50

sid1999 wrote:host only network on virtual box for kali linux
The HostOnly network is used by all guests, be it Linux or not. It's more a matter of the host, not the guest. So, what's your host? Seems like some sort of Windows...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27243
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Error while creating host only network

Postby sid1999 » 23. Jul 2019, 22:07

the host is windows 10, yes. cant figure out why an error is generated. what should i do?
sid1999
 
Posts: 4
Joined: 18. Jul 2019, 00:41

Re: Error while creating host only network

Postby socratis » 24. Jul 2019, 09:40

Post the output of the following command:

    VBoxManage list hostonlyifs
And if you can explain to me how exactly you're trying to create the HostOnly network, that would help.

Also, do you have any 3rd party antivirus, 3rd party networking software installed, anything else that you can think of that might interfere with the network?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27243
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Error while creating host only network

Postby sid1999 » 24. Jul 2019, 20:46

i have installed anti-virus, yes but i dont think its gonna interfere. Apparently, creating host only network is quite simple. Go to host network manger and click create. I have attached the pic too.
Upon writing the command you asked me to write, it said "command not found"
thanks for your help. it means alot
Attachments
cs1.JPG
cs1.JPG (96.51 KiB) Viewed 193 times
sid1999
 
Posts: 4
Joined: 18. Jul 2019, 00:41

Re: Error while creating host only network

Postby socratis » 25. Jul 2019, 00:13

sid1999 wrote:i have installed anti-virus, yes but i dont think its gonna interfere

Allow me to disagree. I've seen multiple cases, and a quick search will clear any doubts that you might have. I didn't just ask a random question, there's logic behind the madness... ;)

  1. Uninstall VirtualBox. Your VMs are going to be untouched. Reboot.

  2. You may want to clean up your registry and/or filesystem at this point. CCleaner is a freeware utility that could help you. Mind the installation, it comes with "offers" from 3rd parties, known as "bundleware". Also, check out Device Cleanup program that helps you to remove any unused devices from your computer, mainly multiple "Host-Only Adapter #n".

  3. Download (if you haven't already) the latest VirtualBox and its matching ExtPack. Store them in a common location, i.e. not on "Desktop", or "Documents", but to "Public/Downloads" for example.

  4. Uninstall (don't simply disable) all 3rd party antivirus. If you're afraid about your computer being vulnerable, pull the Ethernet plug, disconnect your WiFi, don't go browsing around.

  5. Locate the downloaded file in Windows Explorer. Right-click on the installer and select "Run-as-Administrator", even if you are the administrator. At the end of the installation, choose to "Start Oracle VM VirtualBox". Do not worry if your VMs do not show up.

  6. If you're going to install the ExtPack, go to File » Preferences » Extensions. Click on the icon with the orange, down-pointing arrow on the right. Select the ExtPack from the previous steps.

  7. Quit VirtualBox. Re-start VirtualBox as you would normally, i.e. from the Desktop shortcut or the Start menu.

  8. Create a HostOnly network. In fact, there should be a default one, but your previous settings may actually not have allowed it.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27243
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 10 guests