From owner-freebsd-questions Fri Apr 10 12:35:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17398 for freebsd-questions-outgoing; Fri, 10 Apr 1998 12:35:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phoenix.volant.org (phoenix.volant.org [205.179.79.193]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA17340 for ; Fri, 10 Apr 1998 12:35:49 -0700 (PDT) (envelope-from patl@phoenix.volant.org) From: patl@phoenix.volant.org Received: from asimov.phoenix.volant.org [205.179.79.65] by phoenix.volant.org with smtp (Exim 1.62 #1) id 0yNjaX-0003pm-00; Fri, 10 Apr 1998 12:35:49 -0700 Received: from localhost by asimov.phoenix.volant.org (SMI-8.6/SMI-SVR4) id MAA03502; Fri, 10 Apr 1998 12:33:59 -0700 Date: Fri, 10 Apr 1998 12:33:59 -0700 (PDT) Reply-To: patl@phoenix.volant.org Subject: Re: NIST Time Utility To: Bob Webb cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <3D6B6B730CA4D11187CC00805FEAF49E1DCE15@BETHHQMAIL> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Does FreeBSD have a utility written for setting the internal clock to > NIST time using TCP/UDP over the Internet ? > > I did a search and came up empty. Any input would be appreciated. I suspect that what you are looking for is NTP - the Network Time Protocol. FreeBSD supports both xntpd for continuous synchronization and ntpdate for one-time sync. For more information about NTP, see http://www.eecis.udel.edu/~ntp If you have the hostname and/or IP address of an open NTP server, you can set the time by running 'ntpdate ' as root. (An open server is one that accepts connections from any host instead of a limited set.) If you want to keep the clock in sync automatically, you can either run ntpdate automatically in cron, or enable xntpd. Enabling xntpd is a little more work, since you must find a nearby open NTP server, or a closed server that will accept you as a new lower-stratum connection, and properly configure the /etc/ntpd.conf file. For a list of stratum 1 & 2 servers see: http://www.eecis.udel.edu/~mills/ntp/servers.html In either case, you should un-comment the appropriate lines in /etc/rc.conf. (Look for 'ntp'.) If you enable ntpdate in rc.conf, it will sync the date when the system boots. If you enable xntpd, it will keep it in sync. NOTE that you probably do -not- want to enable timed if you are using ntpd. -Pat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message