From fnaumann@mail.cs.uni-magdeburg.de Wed Jan 21 00:59:21 2004 To: mint@fishpool.com Subject: Re: [MiNT] NTP client alpha binary available Date: 11 Jun 2014 03:47:06 From: "Adam Klobukowski" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 In-Reply-To: X-Priority: Normal X-Mailer: Marijuana Mail 0.1.67n [pl] (Atari Falcon 030; TOS 4.04 & MiNT / NVDI 5.01) Message-Id: <20040120233625.C353435450@komp7.euh-e.edu.pl> Delivered-To: mint@fishpool.com Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: atari@gabo.pl Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by prinz.cs.uni-magdeburg.de id i0KNxIo05420 > Hi All! > > I noticed some mails here in the list send with a wrong date. Adam > Klobukowski suggested NTP might be the solution - thanks Adam! I wasn;t the one that gave that advice, I was the one that advice has been given to. > Could you give the ntpdate binary a try? > http://phoenix.inf.upol.cz/~opichals/files/ntpdate-ntp-4.2.0-alpha1. > gz > > I run it like this (found in RH9.0 /etc/init.d/ntpd script): > > $ ntpdate -s -b -p 8 $NTP_SERVER_IP > > It worked for me here today finaly after some porting effort. With > this command line it synchronizes the system time with the server. > You can also try to add the -d option to see more verbose output. Sure. Unfortunrly it does not work for me: root@deathstar:/i/nowe>./ntpdate-ntp-4.2.0-alpha1 -s -b -d -p 8 192.168.1.1 addto_syslog: ntpdate 4.2.0@1.1161-r Tue Jan 20 22:47:58 CET 2004 (8) Looking for host 192.168.1.1 and service ntp host found : core addto_syslog: select(): nfound = 0, error: Success transmit(192.168.1.1) receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) addto_syslog: select(): nfound = 0, error: Success receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) receive(192.168.1.1) findserver: server cmp 0xc0a80101 == 0xc0a80101 @port 123 -> 1 transmit(192.168.1.1) 192.168.1.1: Server dropped: strata too high server 192.168.1.1, port 123 stratum 16, precision -16, leap 11, trust 000 refid [192.168.1.1], delay 0.04544, dispersion 0.00000 transmitted 8, in filter 8 reference time: 00000000.00000000 Thu, Feb 7 2036 7:28:16.000 originate timestamp: c3b83796.9f0db6a1 Wed, Jan 21 2004 0:26:14.621 transmit timestamp: d74251a0.28f2495e Wed, Jun 11 2014 5:55:12.159 filter delay: 0.05043 0.04544 0.04544 0.17044 0.17044 0.16544 0.17044 0.17044 filter offset: -3278177 -3278177 -3278177 -3278177 -3278177 -3278177 -3278177 -3278177 delay 0.04544, dispersion 0.00000 offset -327817737.543795 addto_syslog: no server suitable for synchronization found root@deathstar:/i/nowe>date Wed Jun 11 05:57:50 CEST 2014 The line "originate timestamp" shows correct time from server... but the program does not set it... strange -- Semper Fidelis Adam Klobukowski atari@gabo.pl