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

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
> 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


[-- Attachment #2 --]

# -- sysinstall generated deltas -- #
# Created: Tue Sep 18 00:35:41 2001
# Enable network daemons for user convenience.
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.
hostname="cheech.uchaswv.edu"
ifconfig_xl0="DHCP"
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
saver="fire"
sendmail_enable="NO"
sshd_enable="YES"
usbd_enable="YES"
# -- sysinstall generated deltas -- #
sendmail_enable="NO"
portmap_enable="NO"
# -- sysinstall generated deltas -- #
defaultrouter="172.16.129.129"
hostname="cheech.uchaswv.edu"



#firewall--ipfw
firewall_enable="NO"
firewall_script="/etc/rc.firewall"
firewall_type="/root/ipfw.rules" 
firewall_quiet="YES"
log_in_vain="YES"
firewall_logging_enable="YES"
icmp_drop_redirect="YES"
# -- sysinstall generated deltas -- #
ifconfig_xl0="inet 172.16.0.7  netmask 255.255.0.0"
defaultrouter="172.16.129.129"
hostname="cheech.uchaswv.edu"

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