From owner-freebsd-net@FreeBSD.ORG Mon Aug 11 22:06:14 2008 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 23A511065682 for ; Mon, 11 Aug 2008 22:06:14 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id A69D38FC13 for ; Mon, 11 Aug 2008 22:06:13 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 32303 invoked by uid 399); 11 Aug 2008 22:06:13 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 11 Aug 2008 22:06:13 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <48A0B7D3.2090702@FreeBSD.org> Date: Mon, 11 Aug 2008 15:06:11 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Onur Aslan References: In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Named Listen IP 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: Mon, 11 Aug 2008 22:06:14 -0000 Onur Aslan wrote: > Hi. > > I am using named for a ns server. Named listening all ips for my > machine. But when i reboot machine, my ppp network connecting after > started named. Do you mean that the ppp startup script starts running before the named startup script starts running, but doesn't finish connecting until named starts? If so, then the solution that Ian gave you (to add '/etc/rc.d/named restart' to your ppp script) is the right one. Or do you mean that the named startup script runs first, then the ppp startup script runs after it? This shouldn't happen, but if it's happening to you we need to know why. Follow these steps: mkdir testrc cd testrc cp /etc/rc . fetch http://dougbarton.us/rc-debug.diff patch < rc-debug.diff /bin/sh rc If the two "early" runs are different it will show that, in which case there is an even bigger problem. What usually happens is that they are the same and the second one will be deleted. Paste the results of rc.early1 (and 2 if they are different) and rc.late into your response and we'll take it from there. hope this helps, Doug -- This .signature sanitized for your protection