Page 1 of 1

Network: Host interface mode like actual hw?

Posted: 25. Mar 2009, 22:54
by csavery
Hello VB gurus,

From what I understand when using "host interface" networking it is like assigning the actual driver to a guest for direct use. So I have a couple questions about this.

Does it follow that the guest then has to have specific driver support for the actual network hardware and that you install and configure it in the guest as you would if it were standalone?

How close can the guest interact with driver specific options and modes?

I am wanting to use a guest under Ubuntu to develop a wireless access point "machine". So I would need to use AP / Master mode on the interface and the software running in the guest would need to control the interface in ways specific to the hardware as many wireless interfaces do not support some modes like this.

Is such control possible in this mode or in any way with virtual box?

The ability to develop an AP machine like this would be tremendous for me and allow me later to move it intact onto real hardware with the same wireless interface and hit the ground running.

Any input here would be very helpful. Thanks for your time.

Chris :)

Re: Network: Host interface mode like actual hw?

Posted: 26. Mar 2009, 00:29
by Sasquatch
No, the VM still doesn't see the actual interface. VB uses a module/driver (depending on the Host) to access the device. It still needs a virtual adapter for the Guest. If you want to use a wireless NIC with Master mode, use a USB device and give it to the VM. Or run the OS and test software directly on the hardware.

Re: Network: Host interface mode like actual hw?

Posted: 26. Mar 2009, 05:40
by csavery
Thanks for your reply.

Unfortunately there are very few or no USB dongles with Master mode. I've searched quite extensively. Sometimes you can find one but then there isn't linux driver support for the feature.
It's too bad there isn't a way to pass a (non-virtual) driver interface directly to a VM.

I'm back to my original plan. Have the configure script run on the host set up the device and then just route any traffic to the VM. I can develop on the host but it would have been nice to have the insulation and snapshot abilities of a guest.

Chris :)