where can I get brctl

Discussions related to using VirtualBox on Linux hosts.

where can I get brctl

Postby jza » 20. Jun 2007, 18:50

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
jza
 
Posts: 50
Joined: 7. Jun 2007, 19:05
Location: Villahermosa, Tabasco

Postby stefan.becker » 20. Jun 2007, 21:01

rpmseek.com, advanced search, search for package containing the command as filename.
stefan.becker
Volunteer
 
Posts: 7495
Joined: 7. Jun 2007, 21:53

Re: where can I get brctl

Postby bodhi.zazen » 20. Jun 2007, 21:06

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
If is a virtual machine, is it still broken ?
bodhi.zazen
Volunteer
 
Posts: 180
Joined: 17. May 2007, 16:02

Re: where can I get brctl

Postby nuno » 26. Jun 2007, 03:32

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
nuno
 
Posts: 40
Joined: 12. May 2007, 01:33


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 9 guests