Problem with VBoxManage

Discussions related to using VirtualBox on Windows hosts.
Post Reply
vin33
Posts: 6
Joined: 2. Oct 2009, 10:29
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Problem with VBoxManage

Post by vin33 »

Hello,

I'm french thererfore i hope you understand my english :)

I installed UBUNTU as guest OS and all configuration settings appropriate.
Instead of use GUI for update the network, i use the command-line interface for that :
"VBoxManage modifyvm MyVM --nic1 hostonly"
The command runs but when i enter :
"VBoxManage startvm MyVM" an error occurs (VERR_INTERNAL_ERROR : inexistant host networking interface) whereas if i use the GUI for the sam operation there's any problem.

I don't understand. Has anyone to help me please. It's urgent.

Thank's in advance.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Problem with VBoxManage

Post by Sasquatch »

You can create more than one virtual adapter for the Host-Only feature, so you have to provide the name of it too. Take a closer look at the VBoxManage modifyvm help output. It might take some trial and error to get the parameters right.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
vin33
Posts: 6
Joined: 2. Oct 2009, 10:29
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Problem with VBoxManage

Post by vin33 »

I read the help and i found the command :
vboxmanage modify MyVm --hostonlyadapter<x> devicename or none

Could you explain me in more details please. After i have entered this command :
vboxmanage modifyvm Myvm --nic1 hostonly
What i do ?

Thank's
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Problem with VBoxManage

Post by Sasquatch »

I don't use the CLI myself, but from what I understand from the help output, is that you use something like this:

Code: Select all

VBoxManage modifyvm MyVM --nic1 hostonly --hostonlyadapter1 vboxnet0
Replace vboxnet0 to the name of your Host-Only adapter name.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
vin33
Posts: 6
Joined: 2. Oct 2009, 10:29
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Problem with VBoxManage

Post by vin33 »

i entered :
vboxmanage modify myvm --nic1 hostonly --hostonlyadapter1 "HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter"
and i have the error :
inexistant host networking interface, name HostInterface ...

Where is the problem ?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Problem with VBoxManage

Post by Sasquatch »

Check the name with the GUI, enter that one.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply