Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 15:06:11 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Onur Aslan <onuraslan@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Named Listen IP
Message-ID:  <48A0B7D3.2090702@FreeBSD.org>
In-Reply-To: <b3fd891c0808110235x69c72f7ahb2a88cece55535c@mail.gmail.com>
References:  <b3fd891c0808110235x69c72f7ahb2a88cece55535c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A0B7D3.2090702>