From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,eb5572fadb4d284a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-01-12 05:44:15 PST Path: 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 Distribution: usa Message-ID: 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 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.