From owner-freebsd-questions Wed Dec 6 19:39:12 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 6 19:39:10 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from hamnet.org (hamnet.org [206.183.13.242]) by hub.freebsd.org (Postfix) with ESMTP id 44AA837B400 for ; Wed, 6 Dec 2000 19:39:10 -0800 (PST) Received: (from shawn@localhost) by hamnet.org (8.9.3/8.8.7) id WAA14887 for freebsd-questions@freebsd.org; Wed, 6 Dec 2000 22:39:09 -0500 From: Shawn Foran Message-Id: <200012070339.WAA14887@hamnet.org> Subject: rc.conf problems. To: freebsd-questions@freebsd.org Date: Wed, 6 Dec 2000 22:39:09 -0500 (EST) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently decided to completely rebuild on of my FreeBSD boxes which I am using at my gateway/firewall machine. I loaded it fresh with 4.2-RELEASE and now I am having some problems. It seems as the some of the things I have put in /etc/rc.conf are not taking affect Here is what my /etc/rc.conf looks like: # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # -- sysinstall generated deltas -- # ifconfig_fxp0="DHCP" ifconfig_fxp1="inet 10.10.10.1 netmask 255.255.255.0" hostname="CC69971-A"; linux_enable="YES" moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" moused_enable="YES" gateway_enable="YES" natd_enable="YES" natd_interface="fxp0" natd_flags="-f /etc/natd.conf" firewall_enable="YES" firewall_type="router" # -- sysinstall generated deltas -- # saver="green" I say some because things like the setting up of the network cards (fxp0 and fxp1) are working correctly as well is the setting up of the host name. The gateway_enable line, firewall_enable, firewall_type and natd_enable do not seem to be overiding what is in /etc/defaults/rc.conf - I even did a sysctl net.inet.ip.forwarding and found it was still set to 0. I did go in an edit /etc/defaults/rc.conf and changed the respective lines to match my rc.conf and everything works fine. In other words, I made my /etc/defaults/rc.conf have gateway_enable="YES", natd_enable="YES", etc and after a reboot, things work. Anyone have any idea why this would happen? Thanks in advance! Shawn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message