Experimental network time synchronization software for AROS and AmigaOS
Go to file
llsth b01db6a7f7 Updated help text 2015-03-17 00:07:28 +01:00
bin Removed old AROS bineries 2015-03-16 23:39:09 +01:00
doc Refined details 2015-03-16 23:26:05 +01:00
.gitignore Add #includes for OpenBSD and NetBSD compat. 2015-01-04 14:45:53 +00:00
README.rst Refined details 2015-03-16 23:26:05 +01:00
agetaddrinfo.c Purified to Amiga OS code 2015-03-12 22:48:56 +01:00
agetaddrinfo.h Initial commit 2015-03-07 23:29:12 +01:00
apoll.c Initial commit 2015-03-07 23:29:12 +01:00
apoll.h Initial commit 2015-03-07 23:29:12 +01:00
atimed.h Removed va_copy & cleaned up 2015-03-16 22:50:29 +01:00
combine_delta.c Initial commit 2015-03-07 23:29:12 +01:00
configure Purified to Amiga OS code 2015-03-12 22:48:56 +01:00
main.c Fixed compiler error for Amiga OS 2015-03-08 22:47:50 +01:00
main_amiga.c Updated format and help text 2015-03-13 15:56:07 +01:00
main_client.c Added timezone logic 2015-03-11 22:10:43 +01:00
main_poll_server.c Initial commit 2015-03-07 23:29:12 +01:00
main_sim_client.c A bit of signed/unsigned cleanup work. 2015-01-16 21:21:15 +00:00
ntimed.h Fixed bug in tracefile and debug output 2015-03-13 15:37:42 +01:00
ntimed_endian.h Capitalize the be[bits]{enc,dec}() functions to avoid colliding 2015-01-09 10:55:38 +00:00
ntimed_queue.h
ntimed_tricks.h Mark needless return(bla) with a macro so we can shut up FlexeLint 2015-01-16 21:32:35 +00:00
ntp.h A bit of signed/unsigned cleanup work. 2015-01-16 21:21:15 +00: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 Purified to Amiga OS code 2015-03-12 22:48:56 +01:00
ntp_peer.c Initial commit 2015-03-07 23:29:12 +01:00
ntp_peerset.c Purified to Amiga OS code 2015-03-12 22:48:56 +01: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 Removed va_copy & cleaned up 2015-03-16 22:50:29 +01:00
param.c Updated help text 2015-03-17 00:07:28 +01:00
param_instance.h
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
suckaddr.c Initial commit 2015-03-07 23:29:12 +01:00
time_amiga.c Release timer resources correctly 2015-03-16 21:25:54 +01: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 Initial commit 2015-03-07 23:29:12 +01: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
tz.c Updated timezone info 2015-03-16 22:26:47 +01:00
tz.h Updated timezone info 2015-03-16 22:26:47 +01:00
udp.c Purified to Amiga OS code 2015-03-12 22:48:56 +01: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, and 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 with 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 spent 15 seconds synchronizing and then exit. If SAVE
is specified, time will be written to hardware clock 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 support.ntp.org:
http://support.ntp.org/bin/view/Servers/StratumTwoTimeServers

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

Further info
~~~~~~~~~~~~

The Ntimed main repository is located at Github:
https://github.com/bsdphk/Ntimed

Poul-Henning Kamp maintains a blog about this project here:
http://phk.freebsd.dk/time

Amiga and AROS versions are independent from the official Ntimed
FOSS project.

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