Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 17:20:33 -0500 (EST)
From:      User Land <userland@techie.com>
To:        freebsd-questions@freebsd.org
Subject:   rc & ntp weirdness
Message-ID:  <385148819.976054833996.JavaMail.root@web582-mc>

next in thread | raw e-mail | index | archive | help
Hi,

I recently installed 4.2 on a machine, and I was having trouble getting nat
& the firewall to work.

As part of my trouble shooting, I added:

echo "firewall type: $firewall_type"
echo "natd_enable" $natd_enable"

what rc.firewall spit back when I ran 'source rc.firewall'

was
firewall type:
natd_enable:

It seemed that rc.firewall wasn't properly sourcing /etc/defaults/rc.conf or
/etc/rc.conf.

My cheap fix was to add firewall_type and natd_enable to rc.firewall (after
the sourcing of /etc/defaults/rc.conf), and it all worked fine.

I'd only edited /etc/rc.conf minimally (mostly via /stand/sysinstall) to
setup variables for the firewall & nat. I couldn't figure out what was
wrong--I'm hoping someone can help point out what might be the trouble, or
if there's a known issue like this with 4.2-Release.

Also...I followed the instructions at mostgraveconcern for setting up an ntp
client.

rc.conf
### Network Time Services options: ###
xntpd_enable="YES"
xntpd_program="ntpd"
xntpd_flags="-p /var/run/ntpd.pid"


ntp.conf
server time.nist.gov prefer
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp.drift


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup


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?385148819.976054833996.JavaMail.root>