Page 1 of 1

where can I get brctl

PostPosted: 20. Jun 2007, 18:50
by jza
So I was going through the Virtualbox tutorial on setting up virtualbox to get a real ip through a bridge. The problem goes into the first script when they want to open a TUN/TAP network interface, the script says it can't find the brctl command:

Code: Select all   Expand viewCollapse view
# bash bridge.sh
Set 'tap1' persistent and owned by uid 500
bridge.sh: line 11: brctl: command not found
bridge.sh: line 12: brctl: command not found
SIOCGIFFLAGS: No such device
Cannot find device "br0"
Cannot find device "br0

PostPosted: 20. Jun 2007, 21:01
by stefan.becker
rpmseek.com, advanced search, search for package containing the command as filename.

Re: where can I get brctl

PostPosted: 20. Jun 2007, 21:06
by bodhi.zazen
jza wrote:So I was going through the Virtualbox tutorial on setting up virtualbox to get a real ip through a bridge. The problem goes into the first script when they want to open a TUN/TAP network interface, the script says it can't find the brctl command:

Code: Select all   Expand viewCollapse view
# bash bridge.sh
Set 'tap1' persistent and owned by uid 500
bridge.sh: line 11: brctl: command not found
bridge.sh: line 12: brctl: command not found
SIOCGIFFLAGS: No such device
Cannot find device "br0"
Cannot find device "br0


1. Go to http://user-mode-linux.sourceforge.net/dl-sf.html? and download uml_utilities_20040406.tar.bz2

Direct link : http://prdownloads.sourceforge.net/user ... 06.tar.bz2?

2. Extract and install (no compile needed) (Extracts a directory called "tools")

Code: Select all   Expand viewCollapse view
tar xjf uml_utilities_20040406.tar.bz2
cd tools
make install

Re: where can I get brctl

PostPosted: 26. Jun 2007, 03:32
by nuno
jza wrote:the script says it can't find the brctl command:


If your using debian or ubuntu or something debian-like:
sudo apt-get install bridge-utils

peace,
Nuno