Experimental network time synchronization software for AROS and AmigaOS
Go to file
Carsten Larsen c1354f1524 Updated README 2016-08-19 19:06:37 +00:00
include Revision 1,06 changes 2015-07-30 18:22:54 +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,06 changes 2015-07-30 18:22:54 +02:00
LICENSE Revision 1.04 changes 2015-07-25 23:11:11 +02:00
README.md Updated README 2016-08-19 19:06:37 +00: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.05 changes 2015-07-26 10:45:18 +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,06 changes 2015-07-30 18:22:54 +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 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 Revision 1.05 changes 2015-07-26 10:45:18 +02:00
param.c Updated help text 2015-03-17 00:07:28 +01:00
param_instance.h
param_tbl.h
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 Revision 1.05 changes 2015-07-26 10:45:18 +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 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.md

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 support.ntp.org

Instructions on how to use NTP pool servers are at 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

Ntimed Project

The official Ntimed project is hosted by Network Time Foundation