From: aej@manyjars.WPI.EDU (Allan E Johannesen)
Subject: Re: How does one reset the system clock on a DEC 5000/200?
Date: 12 Jan 93 08:35:58 [thread overview]
Message-ID: <AEJ.93Jan12083558@manyjars.WPI.EDU> (raw)
In-Reply-To: iglesias@draco.acs.uci.edu's message of 12 Jan 93 07:01:35 GMT
Both the answers I have seen are correct:
1) setting the time (see the `date` command) will fix the "system
clock", and
2) the battery should be replaced.
Also, I would suppose that USC should have a network of NTP time
servers, although I can't tell you how to get in touch with them. If
there's some sort of central computer administration, I suggest you
contact them. DEC distributes NTP (Network Time Protocol) software
with their systems, and you can use that excellent mechanism to
synchronize your station's time and also to set it at system startup
(although you'll have to write the command to do that and install it
in rc.local)
After you've set up time service, a line in rc.local like:
[ -f /usr/local/bin/ntp-startup ] && /usr/local/bin/ntp-startup
with /usr/local/bin/ntp-startup of:
#!/bin/csh -f
set path=(/usr/bin /usr/ucb /bin /usr/etc $path)
ntp -s -f `egrep "^(peer|server)" < /etc/ntp.conf | awk '{print $2}'`
will set the clock at startup, dead battery or not.
prev parent reply other threads:[~1993-01-12 13:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-01-12 1:05 How does one reset the system clock on a DEC 5000/200? Manavendra Misra
1993-01-12 5:53 ` Megan B Gentry
1993-01-12 7:01 ` Mike Iglesias
1993-01-12 13:35 ` Allan E Johannesen [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox