From owner-freebsd-stable Fri Feb 15 11: 7:15 2002 Delivered-To: freebsd-stable@freebsd.org Received: from damnhippie.dyndns.org (12-253-177-2.client.attbi.com [12.253.177.2]) by hub.freebsd.org (Postfix) with ESMTP id 17DC637B402 for ; Fri, 15 Feb 2002 11:07:12 -0800 (PST) Received: from [172.22.42.2] (peace.hippie.lan [172.22.42.2]) by damnhippie.dyndns.org (8.11.6/8.11.6) with ESMTP id g1FJ7Bv54834 for ; Fri, 15 Feb 2002 12:07:11 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630) Date: Fri, 15 Feb 2002 12:07:11 -0700 Subject: Re: Suggestion on natd rc scripts From: Ian To: freebsd-stable Message-ID: In-Reply-To: <20020215192647.A23116@gromit.it.su.se> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Suggestion 1: > Set natd_interface to nothing by default, and let rc.network > start natd even if natd_interface isn't set. > > Suggestion 2: > All who dare touch rc.conf should always thoroughly check > the defaults and the relevant rc.* files or prepare being > locked out from their computer and suffer terribly ;) > > Does any of this make sense to you? > > -Richard I ran into exactly this same situation a couple weeks ago, and was outraged by the fact that 1) fxp0 was hard-coded in a defaults file, and 2) the rc files won't start natd without the interface being specified on the command line. I'm a big fan of keeping all related parms in the same place. I'd rather specify the interface in my natd config file, all I want in rc.conf is natd_enable=yes and natd_flags set to read my config file. I therefore heartily endorse suggestion 1. -- Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message