🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.sysadmin
3 messages
3 total messages Started by Operator Tue, 22 Dec 1992 22:09
question about ntp
#1980
Author: Operator
Date: Tue, 22 Dec 1992 22:09
10 lines
873 bytes
I want to know if there is an easy way to add a line to the crontab
file so that at (say) 2am every night, my machine (at home) slips into
the local network, and resets the system clock... I want to do
this because the clock slips badly here (I don't know about other places)


thanks,

-nate sammons
 ns111310@longs.lance.colostate.edu
Re: question about ntp
#2038
Author: Dan Danz
Date: Wed, 30 Dec 1992 03:47
24 lines
1552 bytes
Operator writes
> I want to know if there is an easy way to add a line to the crontab
> file so that at (say) 2am every night, my machine (at home) slips into
> the local network, and resets the system clock... I want to do
> this because the clock slips badly here (I don't know about other places)

From the /usr/adm/daily file for my home system:

# synchronize the time with time server in the office
/usr/ucb/logger -p local3.info -t daily Beginning
/usr/dialupip/bin/duioctl slip0 bringup
sleep 60
/usr/etc/ntp -s timehost

For the uninitiated, you can't just run the ntp daemon on your local machine
because it will forever be bringing up the dialup SLIP line.   So you have to  
put up with some inaccuracy.

--
L. W. "Dan" Danz         (WA5SKM) VOS Mail:  Dan_Danz@vos.stratus.com
Sr Consulting Software SE         NeXT Mail: dan@az.stratus.com
Customer Assistance Center        Voice Mail/Pager: (602) 852-3107
Telecommunications Division       Customer Service: (800) 828-8513
Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018
Re: question about ntp
#2043
Author: Bob Sutterfield
Date: Wed, 30 Dec 1992 21:49
25 lines
1973 bytes
In article <1hr64iINNmq7@transfer.stratus.com> dan@quiensabe.az.stratus.com (Dan Danz) writes:
   ...you can't just run the ntp daemon on your local machine because
   it will forever be bringing up the dialup SLIP line.  So you have
   to put up with some inaccuracy.

If your SLIP (or PPP) software offers a packet filtering capability,
this isn't a problem.  For example, my home workstation will pass NTP
packets on the wire when the link is already up for some other
purpose, but an NTP packet isn't interesting enough to cause the link
to be brought up, nor does an NTP packet count against the idle timer.
So the NTP daemon gets to look at its peers only when I'm already
using the line for something else that matters more to me than
timekeeping.

My normal activity, connecting between home and office (and thence to
the Internet), keeps the line up often enough and long enough to allow
my home NTP daemon to get a good chime fix from the office servers.
It drifts a little more than if it had a full-time connection, but far
less than if it only got a snapshot once a day.

Packet filters are good for something besides building firewalls.
--
Bob Sutterfield, Morning Star Technologies            +1 614 451 1883
1760 Zollinger Rd, Columbus Ohio USA, 43221           +1 800 558 7827
bob@MorningStar.Com                                   +1 614 459 5054 (FAX)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads