From owner-freebsd-questions Wed Oct 3 21:58:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id E5E3C37B408 for ; Wed, 3 Oct 2001 21:58:21 -0700 (PDT) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 94A2392; Wed, 3 Oct 2001 20:58:15 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Nathan Mace , jonathan.chen@itouch.co.nz Subject: Re: more rc.conf troubles Date: Wed, 3 Oct 2001 20:58:15 -0800 X-Mailer: KMail [version 1.3] Cc: freebsd-questions@freebsd.org References: <20011003193011.4d1980b8.mace_nathan@uchaswv.edu> <20011004113156.A88063@jonc.itouch> <20011003204158.3b538dfd.nmace85@yahoo.com> In-Reply-To: <20011003204158.3b538dfd.nmace85@yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011004045815.94A2392@nebula.anchoragerescue.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 03 October 2001 04:41 pm, Nathan Mace wrote: > > On Wed, Oct 03, 2001 at 07:30:11PM -0400, Nathan Mace wrote: > > > i made the changes to rc.conf(took out the spaces) then i rebooted > > > > and i > > > > > still get the error messages from before....ex: > > > > firewall_enable="NO" > > > > > command not found > > > > You've still got spaces: > > > > #firewall--ipfw > > firewall_enable ="NO" # Bad line > > firewall_script="/etc/rc.firewall" > > firewall_type ="/root/ipfw.rules" # Bad line > > firewall_quiet ="YES" # Bad line > > log_in_vain ="YES" > > firewall_logging_enable ="YES" # Bad line > > icmp_drop_redirect ="YES" # Bad line > > > > Take out the spaces before the '=' > > i took out the spaces and have attached the updated rc.conf file. but > now when i re-boot and noot bsd i don't get any errors, in fact it all > looks good till i login. even though i said to NOT turn in ipfw at > bootup, it does anyway. and i created the file /root/ipfw.rules..it has > one line: > > 65534 allow ip from any to any > > so why is ipfw still starting up at boot time? and why isn't it reading > the ipfw.rules and adding that rule? thanks > > nathan What is in your /etc/defaults/rc.conf? Your /etc/rc.conf should just contain overides to /etc/defaults/rc.config. In other words If firewall_enable="NO" in /etc/defaults/rc.conf you would either put nothing or firewall_enable="YES" in /etc/rc.conf. You don't want "NO" in both places. Beech To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message