From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LaETO-0004GC-Kh for garchives@archives.gentoo.org; Thu, 19 Feb 2009 19:22:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0CBBE04EC; Thu, 19 Feb 2009 19:22:13 +0000 (UTC) Received: from mail1.nippynetworks.com (mail.mailasail.com [212.227.250.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 7DCBBE04EC for ; Thu, 19 Feb 2009 19:22:13 +0000 (UTC) Received: from localhost (mail1.nippynetworks.com [127.0.2.1]) by mail1.nippynetworks.com (Postfix) with ESMTP id AA56B675768 for ; Thu, 19 Feb 2009 19:22:12 +0000 (GMT) X-Virus-Scanned: amavisd-new at nippynetworks.com Received: from mail1.nippynetworks.com ([127.0.2.1]) by localhost (mail1.nippynetworks.com [127.0.2.1]) (amavisd-new, port 10024) with LMTP id oW+-IMjgUiWP for ; Thu, 19 Feb 2009 19:22:12 +0000 (GMT) Received: from [127.0.0.1] (proxy1.nippynetworks.com [212.227.250.40]) (Authenticated sender: edward@wildgooses.com) by mail1.nippynetworks.com (Postfix) with ESMTPA id 74035675764 for ; Thu, 19 Feb 2009 19:22:12 +0000 (GMT) Message-ID: <499DB0F5.1090806@wildgooses.com> Date: Thu, 19 Feb 2009 19:20:21 +0000 From: Ed W User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] OpenRC + Bridge + Tap not working as expected? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4c507a1a-6854-4031-bfb4-2b0c0bf8844c X-Archives-Hash: 5160fd29c9600794458587e8039058b9 Hi, I am using openrc 0.4.2 and trying to setup a bridge for use with openvpn. Starting the bridge (/etc/init.d/br0 start) doesn't seem to be correctly bringing up the dependent interfaces (should it?) When I try and bring up my bridge I get only this: # /etc/init.d/br0 start * Bringing up interface br0 * Destroying bridge br0... * Removing port eth0... [ ok ] [ ok ] * Creating bridge br0... * Adding ports to br0 * eth0... [ ok ] * tap0...SIOCGIFFLAGS: No such device SIOCGIFFLAGS: No such device interface tap0 does not exist! SIOCGIFFLAGS: No such device [ !! ] * ERROR: net.br0 failed to start then I check: #ifconfig eth0 Link encap:Ethernet HWaddr 00:1b:21:19:09:8d inet6 addr: fe80::21b:21ff:fe19:98d/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:9717 errors:4 dropped:0 overruns:0 frame:2 TX packets:5923 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1326386 (1.2 MiB) TX bytes:1079556 (1.0 MiB) Base address:0xa000 Memory:e9020000-e9040000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4243 errors:0 dropped:0 overruns:0 frame:0 TX packets:4243 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:570436 (557.0 KiB) TX bytes:570436 (557.0 KiB) (Curious eth0 is up... Lets try and stop it) #/etc/init.d/net.eth0 stop * WARNING: net.eth0 is already stopped If I simply start the tap0 and eth0 interfaces deliberately first then everything runs fine. My understanding though is that the bridge should bring up dependent interfaces? Config in /etc/conf.d/net config_eth0=( "null" ) tuntap_tap0="tap" config_tap0=( "0.0.0.0 promisc" ) bridge_br0="eth0 tap0" config_br0=( "192.168.105.4/24" ) routes_br0=( "default via 192.168.105.254" ) # Make the bridge depend on tap0 / eth0 RC_NEED_br0="net.eth0 net.tap0" Any suggestions on how to fix? Thanks Ed W