[Simh] VAX and OpenBSD: Multiplexer and Clock
Nelson H. F. Beebe
beebe at math.utah.edu
Mon Sep 25 21:13:19 EDT 2006
"Zachary Kline" <Z_kline at hotmail.com> asks about keeping the date
correct in OpenBSD on the SIMH VAX.
At my site, I'm running both NetBSD and OpenBSD on the SIMH VAX, and I
use ntpdate on boot to set the clock, and ntpd to keep it in sync with
time servers. I built the latest ntpd release (ntp-4.2.2) from
http://ntp.isc.org/bin/view/Main/SoftwareDownloads
created symlinks
# ln -s /usr/local/bin/ntpd /etc/
# ln -s /usr/local/bin/ntpdate /etc/
installed a suitable /etc/ntp.conf from another local machine,
borrowed a copy of /etc/xntpd.sh from an OpenBSD IA-32 system here,
and then get things rolling on boot like this:
# /etc/xntpd.sh start
Starting Network Time Protocol Daemon
6 Jul 11:34:27 ntpdate[11182]: ntpdate 4.2.2 at 1.1532-o Thu Jul 6 14:01:18 GMT 2006 (2)
6 Jul 11:34:32 ntpdate[11182]: step time server 155.97.154.154 offset 3.220184 sec
The script runs ntpdate first (and once only), and then starts ntpd
which then stays running until system shutdown.
That command line could be put at the end of /etc/rc.local, but I've
not done so yet: the SIMH VAXes have been running since I returned
from vacation a month ago and restarted them.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: beebe at math.utah.edu -
- 155 S 1400 E RM 233 beebe at acm.org beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
More information about the Simh
mailing list