Page 1 of 1

VBoxAddIF and group

Posted: 16. Jun 2008, 09:57
by ogbt
Hello,
I'm new in the forum and my problem is :
I would like to create a VirtualHostInterface for a group as VBoxAddIF is able to do

Code: Select all

VBoxAddIF vbox0 -g vboxusers br0
VirtualBox host networking interface creation utility, version 1.6.2
(C) 2005-2007 Sun Microsystems, Inc.
All rights reserved.

Creating the perm host net interface "vbox0" for group vboxusers.


ifconfig
show : br0 , eth0, vbox0 and lo

evrythings seem to be ok but my VirtualMachine can't get an IP adresse from DHCP

instead, if I create a VHI for a user : VBoxAddIF vbox0 $USERNAME br0
evrythings work's fine.

As I have a lot of users (studients), I have to create a VHI for a group.

Any ideas ???

Thanks for all

Posted: 5. Jul 2008, 02:56
by jerkface
I'm having a similar problem. I have a user named jerkface in the following groups: jerkface wheel users pulse-rt vboxusers dba. If I configure host interface networking to use an interface with permissions for any of these groups besides jerkface, the machine gives this error message when I try to power it on.

Code: Select all

Failed to initialize Host Interface Networking.
VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED).


Result Code: 
0x80004005
Component: 
Console
Interface: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
The machine powers on and works as expected if the interface has permissions for the group jerkface.

Also, the vboxnet init script is bugged. An interface with group permissions will never be created at boot, because $user is never initialized. When a group name is read from /etc/vbox/interfaces, the init script tries to create the interface with user permissions for +groupname. Hence this error message when the vboxnet service is started.

Code: Select all

Warning - failed to create the interface vbox0 for the user +vboxusers
I am running VirtualBox 1.6.2 on Fedora 8 kernel version 2.6.25.9-40.fc8.

Posted: 5. Jul 2008, 12:04
by Sasquatch
Host Interface does not support the use of groups. This has been discussed before. We all hope that the developers change this so that it is possible. Like the TS states, he has a lot of students and it would be a real mess if you have to create 20+ interfaces.