|
From: Nix <ni...@es...> - 2004-06-16 15:53:06
|
On Tue, 15 Jun 2004, Naomi Fox stated:
> I am running a uml using a tuntap device connected to a bridge.
>
> # brctl show
> bridge name bridge id STP enabled interfaces
> br0 8000.000255ffc0ce no eth0
> tap0
>
> When I start up my UML, the networking works fine. If I bring down my
> interface and attempt to bring it back up again, I get the following
> message.
>
> # ifconfig eth0 down
> # ifconfig eth0 up
> TUNSETIFF failed, errno = 16SIOCSIFFLAGS: Device or resource busy
... which it is: it's a component of the bridge, and doesn't have its
own independent existence anymore.
Either bring down br0, or bring down the UML side of the link.
Example, from my startup scripts, using the brctl and ip tools instead
of ageing ifconfig:
brctl addbr adsl
brctl stp adsl off
brctl setfd adsl 1
brctl sethello adsl 1
brctl addif adsl adsl-phys
brctl addif adsl tap0
ip link set dev adsl mtu 1458 up
--
`We in no way believe that this Christ was a space alien.'
--- A creationist website goes completely bonkers
|