Re: [chrony-users] Chronyd not adjusting the board's time when trying to adjust with PC(running ntp) time

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


And what I find far more distrubing is that the clock steps backwards.

2013-03-15 14:28:39 192.168.3.5     N  9 1111 111 1111  4  4 0.00 -1.150e-02
3.236e-03  7.536e-06  0.000e+00  1.181e-02
2013-03-15 14:28:44 192.168.3.5     N  9 1111 111 1111  4  4 0.00 -3.447e+00
2.557e-03  6.168e-06  0.000e+00  1.184e-02
2013-03-15 14:28:43 192.168.3.5     N  9 1111 111 1111  4  4 0.00  4.600e-05
2.569e-03  6.192e-06  0.000e+00  1.187e-02
2013-03-15 14:28:45 192.168.3.5     N  9 1111 111 1111  4  4 0.00  4.700e-05
2.623e-03  6.306e-06  0.000e+00  1.190e-02
2013-03-15 14:28:47 192.168.3.5

Note the packets sent out at 14:28:44 and two seconds later at :43. This indicates wither that you have severe hardware problems, or something
else is altering the clock behind the scenes.


On Sat, 16 Mar 2013, Vasanth Ragavendran wrote:

Hi,
I am using the latest version chronyd-1.27 for syncing my embedded board
(running linux 2.6.27.27) with my pc running ntp server. The board is
connected to the PC via a wireless ap with the board containing the
wireless client. my wish to synchronise the board with the pc when ever the
client is connected to the ap. the setup is

board running chronyd-1.27 --(eth link)-> client ---(wirless)--> ap -(eth
link)--> pc running ntp server

With the configuration attached im some times able to sync the board with
the pc but sometimes there is no syncing occuring. I even captured the
packets transfer in wireshark running in the pc im able to see transfer of
packets between client and the server with original timestamp and receive
timestamp to that of the PC's time. however checking the date in the board
doesn't show any change in the time, it remains at wat it was before.
however sometimes it correctly adjusts to the PC's time. why does this
occur?! in order to perform the sync i connect and disconnect the ap/client
link which mimics the offline setting in chronyd. Attached pls find the
chrony.conf and chronyd_connected is called whenever the client is
connected to the ap.  am i missing something very basic?! i tried to look

What does "client is connected to the ap." mean? What ap?

at the configs they all seem to be okay to me. or is it not?! also
attaching the log files which has cases where the sync was successful. plz
help! many thanks in advance.

Thanks and Regards,
R.Vasanth Ragavendran


--
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/