how to use HostIf in console mode.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
RagnaBaby
Posts: 3
Joined: 23. Dec 2008, 09:35

how to use HostIf in console mode.

Post by RagnaBaby »

before in 2.0.6, it was just easy to do this...

--
%vbm% createhostif "hostif1"
%vbmodify% -nic1 hostif -hostifdev1 "hostif1"
--

But now in v2.1, the new feature came. I'd like to use the existing interface for hostif.

Now the question is, How do I easily do this in console mode?
say the interface name is random "Atlantic blah blah blah 1g" cause I'm using it in different pcs.

Please help, thanks.
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

Post by Sasquatch »

Check the logical name of the interface. You can see this in Device Manager. It's also in the registry. Though it might be a bit too much work.

If you want to specify the whole name of the interface you just mentioned, enclose it in quotation marks (").
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.
RagnaBaby
Posts: 3
Joined: 23. Dec 2008, 09:35

Post by RagnaBaby »

Yeah, I've created a different program to read registry descriptionName of the card.

But I was hoping it is a part of the console feature for easy headless setup.

Neways, Thanks.
Post Reply