From owner-freebsd-questions@FreeBSD.ORG Sun Oct 31 16:35:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02F21106566C for ; Sun, 31 Oct 2010 16:35:21 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9B3AA8FC18 for ; Sun, 31 Oct 2010 16:35:20 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o9VGZJ6P009500; Sun, 31 Oct 2010 10:35:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o9VGZJ5G009497; Sun, 31 Oct 2010 10:35:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 31 Oct 2010 10:35:19 -0600 (MDT) From: Warren Block To: Tim Dunphy In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 31 Oct 2010 10:35:19 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: can't add entries to fsab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2010 16:35:21 -0000 On Sun, 31 Oct 2010, Tim Dunphy wrote: >>> So I tried referring to the mount by the IP address rather than the >>> DNS name, and that fixed it.. I suppose I could setup the order in >>> which the services load in /etc/rc.d/ by pre-pending each one with >>> numbers (i.e. 00netif 01named 02syslogd...etc etc). >> >> Changing that order is not easy, there are internal dependencies. Forcing >> the startup to wait for DHCP in /etc/rc.conf may be enough: >> >> ifconfig_re0="SYNCDHCP" >> >> re0 used for example, change to whatever interface you have. > oh ok, thanks good thing I saw this before I got to long in this > process. I backed up the /etc/rc.d directory and started re-ordering > things like this: > > 000netif > 001netoptions > 002routing > 003network_ipv6 ... [Please don't top-post, it makes responding more work.] Look at the PROVIDE and REQUIRE keywords in those files. They aren't executed in filename order. > Actually this machine isn't on DHCP, it's statically assigned. My > basic goal is to get the box to the point where it can resolve DNS > before it mounts the contents of /etc/fstab... I thought mountlate would be late enough. It may depend on your network card, some are slow to wake up or associate.