Experimental network time synchronization software for AROS and AmigaOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Carsten Larsen c1354f1524
Updated README
7 years ago
include Revision 1,06 changes 8 years ago
.gitignore Revision 1.04 changes 8 years ago
COPYRIGHT Revision 1.04 changes 8 years ago
HISTORY Revision 1,06 changes 8 years ago
LICENSE Revision 1.04 changes 8 years ago
README.md Updated README 7 years ago
combine_delta.c Refactored compiler and platform logic 8 years ago
compiler.h Revision 1.04 changes 8 years ago
configure Revision 1.05 changes 8 years ago
main_amiga_client.c Revision 1.04 changes 8 years ago
main_amiga_poll.c Version 1.02 changes 8 years ago
main_amiga_sim.c Version 1.02 changes 8 years ago
main_amiga_test.c Revision 1.04 changes 8 years ago
mem.c Revision 1.04 changes 8 years ago
mem.h Revision 1.04 changes 8 years ago
net_getaddrinfo.c Revision 1.04 changes 8 years ago
net_getaddrinfo.h Refactored external inet code 8 years ago
ntimed.guide Revision 1.04 changes 8 years ago
ntimed.h Revision 1.04 changes 8 years ago
ntimed_endian.h Capitalize the be[bits]{enc,dec}() functions to avoid colliding 8 years ago
ntimed_platform.h Revision 1,06 changes 8 years ago
ntimed_queue.h First preview release. 8 years ago
ntimed_tricks.h Added Amiga OS memory management 8 years ago
ntp.h Optimized includes 8 years ago
ntp_filter.c Add signal detection to TODO and time_unix.c and use this to let 8 years ago
ntp_packet.c Revision 1.01 changes 8 years ago
ntp_peer.c Bugfixing and cleanup 8 years ago
ntp_peerset.c Bugfixing and cleanup 8 years ago
ntp_tbl.h Add signal detection to TODO and time_unix.c and use this to let 8 years ago
ntp_tools.c A bit of signed/unsigned cleanup work. 8 years ago
ocx_stdio.c Revision 1.05 changes 8 years ago
param.c Updated help text 8 years ago
param_instance.h First preview release. 8 years ago
param_tbl.h Update param_tbl.h 8 years ago
pll_std.c Add signal detection to TODO and time_unix.c and use this to let 8 years ago
plotgen.py First preview release. 8 years ago
suckaddr.c Initial commit 8 years ago
time_amiga.c Revision 1.05 changes 8 years ago
time_sim.c Add signal detection to TODO and time_unix.c and use this to let 8 years ago
time_stuff.c Version 1.02 changes 8 years ago
time_unix.c Version 1.02 changes 8 years ago
todo.c Revision 1.04 changes 8 years ago
udp.c Version 1.02 changes 8 years ago
udp.h Purified to Amiga OS code 8 years ago

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