I need to compare results which come from two different laptops. Each laptop has a different set of sensors and in order to correctly compare them I need to have the same timestamp on both laptops. They are not connected to public internet, but if necessary, I can use a router to make them communicate locally over ethernet.
I installed chrony on both computers, but I didn't understand how to setup the master and how to configure the client.
I've checked these instructions:
Master: driftfile /var/lib/chrony/drift local stratum 8 manual allow 192.168.165 smoothtime 400 0.01 Clients: server master iburst driftfile /var/lib/chrony/drift logdir /var/log/chrony log measurements statistics tracking
but I didn't understand if I need to specify these commands in command-line or if I have to create a text file named "drift" containing these instructions and put it inside /var/lib/chrony/ and then restart chrony.
Can you help me, please? I really cant understand how to use chrony!