From owner-freebsd-questions Thu Jun 22 3: 0: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from snoopy.brwn.org (intgw1.brwn.org [196.28.127.66]) by hub.freebsd.org (Postfix) with ESMTP id 125A937B564 for ; Thu, 22 Jun 2000 03:00:02 -0700 (PDT) (envelope-from willem@snoopy.brwn.org) Received: by snoopy.brwn.org (Postfix, from userid 1001) id 5FB3C1D63; Thu, 22 Jun 2000 11:59:59 +0200 (SAST) Date: Thu, 22 Jun 2000 11:59:59 +0200 From: Willem Brown To: ld Cc: freebsd-questions@freebsd.org Subject: Re: multiple natd in rc.conf ? Message-ID: <20000622115959.C36643@snoopy.brwn.org> References: <3951CBB4.9F52336B@net2000.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3951CBB4.9F52336B@net2000.ch>; from ld@net2000.ch on Thu, Jun 22, 2000 at 10:17:56AM +0200 X-Public-Key: http://www.brwn.org/~willem/pubkey.txt Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Ouch! From the rc.conf man page: The purpose of rc.conf is not to run commands or perform system startup actions directly. Instead, it is included by the various generic startup scripts in /etc which conditionalize their internal actions according to the settings found there. natd is called from within the /etc/rc.network script. It only caters for one natd setup. So maybe you can add another line to start another natd with the second config file. Or maybe you shouldn't be listening to me. Regards Willem Brown On Thu, Jun 22, 2000 at 10:17:56AM +0200, ld wrote: > Hi all, > How can i say rc.conf to start natd ? > i have in /etc/rc.conf: > natd -f /etc/natd1.conf& > natd -f /etc/natd2.conf& > Is there a better way to do it ? > > when box starts, '$ ps ax | grep' natd gives me: > 344 ?? Is 0:00.07 natd -f /etc/natd1.conf > 348 ?? Is 0:00.07 natd -f /etc/natd1.conf > 400 p0 S 0:00.01 natd -f /etc/natd2.conf > 404 p0 S 0:00.01 natd -f /etc/natd2.conf > why does natd started two times ? > > another problem in rc.conf: > /usr/local/sbin/sshd > gives me: > sshd[433]: error: bind: Address already in use > sshd runs fine but gives me this message ... > > any help welcome > Luc > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- /* =============================================================== */ /* Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours. */ /* =============================================================== */ If it's good, they discontinue it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message