Experimental network time synchronization software for AROS and AmigaOS
Go to file
llsth c086e3bea2 Revision 1.04 changes 2015-07-25 23:11:11 +02:00
include Revision 1.04 changes 2015-07-25 23:11:11 +02:00
.gitignore Revision 1.04 changes 2015-07-25 23:11:11 +02:00
COPYRIGHT Revision 1.04 changes 2015-07-25 23:11:11 +02:00
HISTORY Revision 1.04 changes 2015-07-25 23:11:11 +02:00
LICENSE Revision 1.04 changes 2015-07-25 23:11:11 +02:00
README.rst Update README.rst 2015-07-12 21:38:45 +02:00
combine_delta.c Refactored compiler and platform logic 2015-03-17 10:02:28 +01:00
compiler.h Revision 1.04 changes 2015-07-25 23:11:11 +02:00
configure Revision 1.04 changes 2015-07-25 23:11:11 +02:00
main_amiga_client.c Revision 1.04 changes 2015-07-25 23:11:11 +02:00
main_amiga_poll.c Version 1.02 changes 2015-07-10 23:00:05 +02:00
main_amiga_sim.c Version 1.02 changes 2015-07-10 23:00:05 +02:00
main_amiga_test.c Revision 1.04 changes 2015-07-25 23:11:11 +02:00
mem.c Revision 1.04 changes 2015-07-25 23:11:11 +02:00
mem.h Revision 1.04 changes 2015-07-25 23:11:11 +02:00
net_getaddrinfo.c Revision 1.04 changes 2015-07-25 23:11:11 +02:00
net_getaddrinfo.h Refactored external inet code 2015-03-19 12:40:19 +01:00
ntimed.guide Revision 1.04 changes 2015-07-25 23:11:11 +02:00
ntimed.h Revision 1.04 changes 2015-07-25 23:11:11 +02:00
ntimed_endian.h
ntimed_platform.h Revision 1.04 changes 2015-07-25 23:11:11 +02:00
ntimed_queue.h
ntimed_tricks.h Added Amiga OS memory management 2015-03-17 16:52:05 +01:00
ntp.h Optimized includes 2015-03-19 14:41:38 +01:00
ntp_filter.c
ntp_packet.c Revision 1.01 changes 2015-04-18 22:08:39 +02:00
ntp_peer.c Bugfixing and cleanup 2015-04-15 23:52:40 +02:00
ntp_peerset.c Bugfixing and cleanup 2015-04-15 23:52:40 +02:00
ntp_tbl.h
ntp_tools.c A bit of signed/unsigned cleanup work. 2015-01-16 21:21:15 +00:00
ocx_stdio.c Revision 1.04 changes 2015-07-25 23:11:11 +02:00
param.c Updated help text 2015-03-17 00:07:28 +01:00
param_instance.h
param_tbl.h
pll_std.c
plotgen.py
suckaddr.c Initial commit 2015-03-07 23:29:12 +01:00
time_amiga.c Revision 1.04 changes 2015-07-25 23:11:11 +02:00
time_sim.c
time_stuff.c Version 1.02 changes 2015-07-10 23:00:05 +02:00
time_unix.c Version 1.02 changes 2015-07-10 23:00:05 +02:00
todo.c Revision 1.04 changes 2015-07-25 23:11:11 +02:00
udp.c Version 1.02 changes 2015-07-10 23:00:05 +02:00
udp.h Purified to Amiga OS code 2015-03-12 22:48:56 +01:00

README.rst

Ntimed -- Network Time Synchronization
======================================

Introduction
~~~~~~~~~~~~

Ntimed is a network time synchronization client for the Amiga. It is based on the Ntimed free and open-source software by Poul-Henning Kamp, sponsored by the Linux Foundation.

It uses the NTP protocol to synchronize the local Amiga clock to a set of network servers. Public available NTP servers are reachable through the Internet. Ntimed for the Amiga conforms only to IPv4 networks.

Time servers operate using GMT. Ntimed supports the Amiga Time Zone Database. Local GMT offset will be used if no time zone is selected.

Reference
~~~~~~~~~

Format
  NTIMED [PARAM <parameter>] [TRACEFILE <file>] {servers} [SYNC] [SAVE] [SHOW] [QUIET]

Template
  P=PARAM/K,T=TRACEFILE/K,SERVERS/M/A,SYNC/S,SAVE/S,SHOW/S,QUIET/S

PARAM are used to show and set internal Ntimed parameters. A list of parameters will be shown when using question mark. TRACEFILE can be specified to write a full blow-by-blow trace file for analysis and debugging. {servers} is a list of NTP time servers.

SYNC will tell Ntimed to spent 5-10 seconds synchronizing and then exit. If SAVE is specified, time will be save to the real-time clock (RTC) upon exit. SHOW will display extended debugging information in the shell.

NTIMED can be stopped with CTRL C.

Synchronize to NTP servers
	NTIMED ntp1.example.com ntp2.example.com

Synchronize to single NTP server and put trace in RAM:
	NTIMED TRACEFILE=RAM:trace ntp1.example.com

Synchronize to single NTP server with modified parameters and put trace in T:
	NTIMED P "foo=20,poll_rate=25" T T:trace ntp7.example.com

Synchronize 10 seconds to single NTP server and save result to RTC
	NTIMED ntp4.example.com SYNC SAVE

Public available timeservers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A list of public available timeservers from ntp.org:
http://support.ntp.org/bin/view/Servers/StratumTwoTimeServers

Instructions on how to use NTP pool servers are at:
http://www.pool.ntp.org/

How to compile
~~~~~~~~~~~~~~

Pull the source code over to the machine you want to play on, and::

	sh configure AMIGA (or sh configure AROS)
	make