Page 1 of 1

Failed to add the interface "vbox0" to the bridge

Posted: 30. Jul 2008, 08:18
by inoumba
Hi to All.
I running Fedora8 and Virtualbox 1.5
I receive this message when I run the "sudo /usr/bin/VBoxAddIF vbox0 workshop br0" command :

"VirtualBox host networking interface creation utility, version 1.5.6
(C) 2005-2007 innotek GmbH
All rights reserved.

Creating the permanent host networking interface "vbox0" for user workshop.

Failed to add the interface "vbox0" to the bridge "br0".
Make sure that the bridge exists and that you currently have sufficient
permissions to do this."


I run my computer with the "Workshop" session who is a member of "vboxusers" and I have check to permission of the /dev/net/tun file and everything seems correct :


[root@localhost workshop]# ls -l /dev/net/tun
crw-rw---- 1 root vboxusers 10, 200 2008-07-29 08:32 /dev/net/tun


So I don't understand why I've this error message.
Any help will be welcome.

Posted: 30. Jul 2008, 09:13
by Sasquatch
As the error states, do you have a bridge? Install bridge_utils and create a bridge, after that you can create the virtual interface.

Posted: 1. Aug 2008, 16:29
by inoumba
I've installed bridge-utils.

[root@localhost workshop]# /sbin/ifconfig
br0 Link encap:Ethernet HWaddr 00:00:39:00:BA:C7
inet addr:10.0.0.164 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:39ff:fe00:bac7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3835 errors:0 dropped:0 overruns:0 frame:0
TX packets:994 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1130756 (1.0 MiB) TX bytes:184413 (180.0 KiB)

eth0 Link encap:Ethernet HWaddr 00:00:39:00:BA:C7
inet6 addr: fe80::200:39ff:fe00:bac7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9152 errors:0 dropped:0 overruns:0 frame:0
TX packets:1030 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1805640 (1.7 MiB) TX bytes:187687 (183.2 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1291 errors:0 dropped:0 overruns:0 frame:0
TX packets:1291 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2500200 (2.3 MiB) TX bytes:2500200 (2.3 MiB)

vbox0 Link encap:Ethernet HWaddr 00:FF:93:62:24:56
inet6 addr: fe80::2ff:93ff:fe62:2456/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


Any other help?????????????????

Posted: 2. Aug 2008, 02:24
by pdr
i have the same error. vboxusers group and any other utilities things are okay but the problem still there.

Anybody know the solution?

I found the solution

Posted: 5. Aug 2008, 11:09
by inoumba
The problem is the position of the user bash.

What I did, I modify the VBoxAddIF script by remplacing each instance of "brctl" by "/usr/sbin/brctl".

"ifconfig" by "/sbin/ifconfig"

"VBoxTunctl" by "/usr/bin/VBoxTunctl".

Posted: 5. Aug 2008, 13:48
by TerryE
Isn't this why they invented the path/PATH environment variable?

Posted: 6. Aug 2008, 09:27
by inoumba
for me I fail to fix me path environmental variable but what I did and it's working fine.

I locate the "brctl" whith the "locate brctl" command and I replace with the correct path in the VBoxAddIF.

I did the same thing for "ifconfig" and now my bridge and my host interface are working properly