Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to remove a un-use network interface on Ubuntu 11.10 desktop but failed.

virbr0    Link encap:Ethernet  HWaddr 16:13:97:0c:0f:4f
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:4800 (4.8 KB)

me@linux:~$ sudo ifconfig virbr0 down
me@linux:~$ sudo ifconfig virbr0 unplumb
unplumb: Unknown host
ifconfig: `--help' gives usage information.

unplumb seem usable in Solaris but not in Ubuntu. Any idea?

share|improve this question

closed as too localized by James Mar 7 '12 at 3:13

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be abandoned and unanswered, could you perhaps add more detail to your question? If this question no longer applies then you can either delete it or answer it yourself if you've solved the problem. Thanks! – fossfreedom Mar 6 '12 at 22:24

Use the commands below

ifconfig virbr0 down
brctl delbr virbr0

(most of the time virbr0 is a bridge created by Virtualbox or Xen like hypervisors)

share|improve this answer

The procedure is explained in full in this LWN article, but here is a snippet:

In the sysfs tree, every driver now has bind and unbind files associated with it:

$ tree /sys/bus/usb/drivers/ub/
|-- 1-1:1.0 -> ../../../../devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0
|-- bind
|-- module -> ../../../../module/ub
`-- unbind

In order to unbind a device from a driver, simply write the bus id of the device to the unbind file:

echo -n "1-1:1.0" > /sys/bus/usb/drivers/ub/unbind
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.