On Tuesday 23 October 2007, Richard wrote:
> > For the record: Even the 1.5.0 OSE version has host networking. The
> > difference is that, with OSE, we don't distribute the helper scripts
> > to setup host networking during boot, mainly bringing up the network
> > interface and reserving the interface for a specified user with tunctl.
> > This is necessary for Linux 2.6.18 AFAIR. This can even be done manually
> > with the OSE version, but this is the task of the distributor (Mandriva
> > in this case, they did a great job of integrating the VBox host and guest
> > kernel modules into their distribution btw).
>
> Frank how do you explain this section of mail you sent earlier ?
>
> "This will not work for newer kernels. The innotek binaries contain
> the /etc/init.d/vboxnet script for setting up the bridge stuff during
> boot. The OSE version does not contain the script."
>
> First you say it wont work now you say it does...which ?

With 'this will not work' I meant using tunctl directly. Linux 2.6.18+
needs root privileges when doing tunctl. Therefore, starting with this
kernel, a script is needed which is executed as root to do the setup
of the tun device before VirtualBox is executed -- usually with limited
rights. Executing VBox as root would help as well but this is not
recommended for security reasons.

So the missing part of the OSE version regarding host interface is that
setup script (resided in /etc/init.d/ for instance). Or, before starting
VirtualBox, the user gets root, sets up the tap device (ifconfig, tunctl),
leaves root and starts VirtualBox.

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert    innotek GmbH, http://www.innotek.de

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to