[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] NTP client alpha binary available
> 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