Experimental network time synchronization software for AROS and AmigaOS
Go to file
llsth 747b6a8672 Revision 1.01 changes 2015-04-18 22:08:39 +02:00
doc Updated info 2015-03-19 14:44:27 +01:00
.gitignore Revision 1.01 changes 2015-04-18 22:08:39 +02:00
COPYRIGHT Changed encoding 2015-03-22 12:39:22 +01:00
LICENSE Copyright info 2015-03-22 11:56:33 +01:00
README.rst Update README.rst 2015-03-24 01:51:42 +01:00
combine_delta.c Refactored compiler and platform logic 2015-03-17 10:02:28 +01:00
compiler.h Revision 1.01 changes 2015-04-18 22:08:39 +02:00
configure Revision 1.01 changes 2015-04-18 22:08:39 +02:00
main_amiga_client.c Revision 1.01 changes 2015-04-18 22:08:39 +02:00
main_amiga_poll.c Revision 1.01 changes 2015-04-18 22:08:39 +02:00
main_amiga_sim.c Revision 1.01 changes 2015-04-18 22:08:39 +02:00
main_amiga_test.c Revision 1.01 changes 2015-04-18 22:08:39 +02:00
mem.c Bugfixing and cleanup 2015-04-15 23:52:40 +02:00
mem.h Bugfixing and cleanup 2015-04-15 23:52:40 +02:00
net_getaddrinfo.c Refactored external inet code 2015-03-19 12:40:19 +01:00
net_getaddrinfo.h Refactored external inet code 2015-03-19 12:40:19 +01:00
ntimed.h Support for poll server and sim client 2015-03-18 20:32:00 +01:00
ntimed_endian.h Capitalize the be[bits]{enc,dec}() functions to avoid colliding 2015-01-09 10:55:38 +00:00
ntimed_platform.h Revision 1.01 changes 2015-04-18 22:08:39 +02:00
ntimed_queue.h First preview release. 2014-12-21 22:31:18 +00:00
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 Add signal detection to TODO and time_unix.c and use this to let 2015-01-11 19:44:54 +00:00
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 Add signal detection to TODO and time_unix.c and use this to let 2015-01-11 19:44:54 +00:00
ntp_tools.c A bit of signed/unsigned cleanup work. 2015-01-16 21:21:15 +00:00
ocx_stdio.c Bugfixing and cleanup 2015-04-15 23:52:40 +02:00
param.c Updated help text 2015-03-17 00:07:28 +01:00
param_instance.h First preview release. 2014-12-21 22:31:18 +00:00
param_tbl.h Update param_tbl.h 2014-12-21 19:21:39 -06:00
pll_std.c Add signal detection to TODO and time_unix.c and use this to let 2015-01-11 19:44:54 +00:00
plotgen.py First preview release. 2014-12-21 22:31:18 +00:00
suckaddr.c Initial commit 2015-03-07 23:29:12 +01:00
time_amiga.c Revision 1.01 changes 2015-04-18 22:08:39 +02:00
time_sim.c Add signal detection to TODO and time_unix.c and use this to let 2015-01-11 19:44:54 +00:00
time_stuff.c Optimized includes 2015-03-19 14:41:38 +01:00
time_unix.c Revision 1.01 changes 2015-04-18 22:08:39 +02:00
todo.c Add signal detection to TODO and time_unix.c and use this to let 2015-01-11 19:44:54 +00:00
udp.c Revision 1.01 changes 2015-04-18 22:08:39 +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 server. Public available NTP servers are reachable through the Internet. Ntimed for the Amiga conforms only to IPv4 networks. Your Amiga needs to be connected to a network and to have an IPv4 address.

Reference
~~~~~~~~~

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

Template
  P=PARAM/K,T=TRACEFILE/K,Z=TIMEZONE/K,SERVERS/M,SYNC/S,SAVE/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.

TIMEZONE is used to specify local time zone. If no value is given, time will be synchronized to Coordinated Universal Time (UTC). A list of parameters will be shown when using question mark. {servers} is a list of NTP time servers.

SYNC will tell Ntimed to spend 5-10 seconds synchronizing and then exit. If SAVE is specified, time will be saved to the real-time clock (RTC) upon exit.

NTIMED can be stopped with CTRL C.

Example 1
	NTIMED ntp1.example.com ntp2.example.com

Example 2
	NTIMED TRACEFILE=RAM:trace TIMEZONE=CEST ntp1.example.com

Example 3
	NTIMED P "foo=20,poll_rate=25" T T:trace ntp7.example.com

Example 4
	NTIMED Z EST ntp4.example.com SYNC

Example 5
	NTIMED Z=?

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