From owner-freebsd-questions@FreeBSD.ORG Fri Nov 13 10:06:50 2009 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 2CF11106566C for ; Fri, 13 Nov 2009 10:06:50 +0000 (UTC) (envelope-from theultramage@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id B075F8FC13 for ; Fri, 13 Nov 2009 10:06:49 +0000 (UTC) Received: by fxm27 with SMTP id 27so3392868fxm.3 for ; Fri, 13 Nov 2009 02:06:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Yp77KCUbrE5qtDUnSGtOf629uQRtYD2PIMXo6u65uac=; b=N3rXD0C1XhxM3SCnYc/WNQV1Z89tWNPWQ8FGhCTKNQme7gYFBi/6ZEEMzO99kfjkaV 9BeUnNrP6RiYVeZ8AS8WrBfkfkMd0woOOZNKQhTPZEYS5zI1IVtep+LPOSPKSgNhGiwa fuuCPp1V/ykNionAT8CffJXIZI5Mna2JscVmA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=LnBAAU9dYJzXmIedPWieDGYzzqecA1JgsuVHaFPVsRdIy2a4A6bGrydmP7ErCgPy+T 4G3OVb1Vs2737vxd4HAiG8Mqs6iqr+TiUI7FGnLc8iOiFGr0PbuiI2hgBpicIMuuhvsb wcmv+aXJks5KN0QPjYYj6h3anC9HVpj7l2cGo= Received: by 10.204.153.217 with SMTP id l25mr4791477bkw.108.1258106808699; Fri, 13 Nov 2009 02:06:48 -0800 (PST) Received: from ?192.168.0.31? ([217.75.87.14]) by mx.google.com with ESMTPS id 35sm1693947fkt.46.2009.11.13.02.06.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Nov 2009 02:06:47 -0800 (PST) Message-ID: <4AFD2F9E.2080405@gmail.com> Date: Fri, 13 Nov 2009 11:06:22 +0100 From: umage User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> <4AF7620A.9010709@gmail.com> <4AFAE13F.1040703@gmail.com> In-Reply-To: <4AFAE13F.1040703@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: networking won't come back up until reboot after ISP outage 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: Fri, 13 Nov 2009 10:06:50 -0000 >Sounds like you are narrowing down the culprit(s). Also note that it could >possibly be a timing issue related to the order things start up. If the NATD >is attempting to start before the interface has come up it will die. /etc/rc.d/natd has no REQUIRE section, so it is indeed possible for it to activate right at the very start. It also has a 'precmd' that checks for dhcp interfaces and sets up the -dynamic flag. Might be related. I have no way of knowing though, unless I add some debug messages and figure out to log them. I added "REQUIRE: NETWORKING" and now I'm waiting to see if the issue appears again. It's a tedious procedure... and the fact that sometimes, this causes named to not work isn't helping either. >You can use something like natd_flags="-l" in /etc/rc.conf. I have tried this, and the only thing it logs are nat rules that get set up at startup time. I could not find anything that would turn on actual status messages for this process... PS: Is there a way to turn on logging on the entire rc startup procedure? There are a lot of messages that get printed onto the physical screen, but none of them actually end up in /var/log/messages. None of the three 'rc_debug', 'rc_info' or 'rc_startmsgs' do it.