From owner-freebsd-net@FreeBSD.ORG Wed Dec 8 15:12:07 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BAAD106564A for ; Wed, 8 Dec 2010 15:12:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2488FC12 for ; Wed, 8 Dec 2010 15:12:07 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B759246B03; Wed, 8 Dec 2010 10:12:06 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EC3B98A029; Wed, 8 Dec 2010 10:12:05 -0500 (EST) From: John Baldwin To: freebsd-net@freebsd.org Date: Wed, 8 Dec 2010 09:23:30 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20101102; KDE/4.4.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201012080923.31048.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 08 Dec 2010 10:12:06 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=4.2 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: Kim Culhan Subject: Re: 8.2-PRERELESE ifconfig_bridge has no members unless run from rc.local X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2010 15:12:07 -0000 On Tuesday, December 07, 2010 5:17:30 pm Kim Culhan wrote: > Had been running a wireless bridge for some months in rc.conf: > > ifconfig_bridge0="addm wlan0 addm re1 up" > > Updated to 8.2-PRERELEASE 2 days ago and when the machine boots > the bridge has no members. > > Reversing the order of the members results in the bridge having just > the re1 member. > > Running the above command from a shell works and running from > an rc.local file also works. > > FWIW, running from a shell there is about a 3 second delay after hit enter > before it returns the shell prompt, members are then present. > > The lines in rc.conf: > > cloned_interfaces="bridge0" > ifconfig_wlan0="inet 192.168.1.50/24 channel 11" > wlans_rum0="wlan0" > create_args_wlan0="wlanmode hostap mode 11g" > ifconfig_bridge0="addm wlan0 addm re1 up" > > Tried replacing the re device with em, no change. > > Any help is very greatly appreciated. Most likely the bridge0 device is created by /etc/rc.d/netif before the wlan0 device is created, so when the system startup tries to configure bridge0, the ifconfig statement fails. What does 'ifconfig -l' show after you have booted? -- John Baldwin