Article View: comp.sys.dec
Article #4467Re: How does one reset the system clock on a DEC 5000/200?
From: Allan E Johannesen
Date: Tue, 12 Jan 1993 08:35
Date: Tue, 12 Jan 1993 08:35
26 lines
1600 bytes
1600 bytes
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.
Technical Details
Message-ID:
<AEJ.93Jan12083558@manyjars.WPI.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!bigboote.WPI.EDU!nntp!aejReferences:
<1it5ggINNmhb@pollux.usc.edu> <2B526CCF.13982@news.service.uci.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!bigboote.WPI.EDU!nntp!aej From: aej@manyjars.WPI.EDU (Allan E Johannesen) Newsgroups: comp.sys.dec Subject: Re: How does one reset the system clock on a DEC 5000/200? Date: 12 Jan 93 08:35:58 Organization: Worcester Polytechnic Institute, Worcester, MA 01609-2280 Lines: 26 Distribution: usa Message-ID: <AEJ.93Jan12083558@manyjars.WPI.EDU> References: <1it5ggINNmhb@pollux.usc.edu> <2B526CCF.13982@news.service.uci.edu> NNTP-Posting-Host: manyjars.wpi.edu In-reply-to: iglesias@draco.acs.uci.edu's message of 12 Jan 93 07:01:35 GMT