where can I get brctl

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jza
Posts: 50
Joined: 7. Jun 2007, 19:05
Location: Villahermosa, Tabasco
Contact:

where can I get brctl

Post 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

# 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
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

rpmseek.com, advanced search, search for package containing the command as filename.
bodhi.zazen
Volunteer
Posts: 180
Joined: 17. May 2007, 16:02

Re: where can I get brctl

Post 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

# 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

tar xjf uml_utilities_20040406.tar.bz2
cd tools
make install
If is a virtual machine, is it still broken ?
nuno
Posts: 40
Joined: 12. May 2007, 01:33

Re: where can I get brctl

Post 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
Post Reply