Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 20:58:15 -0800
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        Nathan Mace <nmace85@yahoo.com>, jonathan.chen@itouch.co.nz
Cc:        freebsd-questions@freebsd.org
Subject:   Re: more rc.conf troubles
Message-ID:  <20011004045815.94A2392@nebula.anchoragerescue.org>
In-Reply-To: <20011003204158.3b538dfd.nmace85@yahoo.com>
References:  <20011003193011.4d1980b8.mace_nathan@uchaswv.edu> <20011004113156.A88063@jonc.itouch> <20011003204158.3b538dfd.nmace85@yahoo.com>

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




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