Re: [Linuxptp-users] Trouble with time synchronization

2021-06-01 Thread Richard Cochran
On Tue, Jun 01, 2021 at 04:04:36PM +0530, Sebastian Parakal wrote: > How do I fix this? Also, am I doing this properly? My goal is to > synchronize a slave clock to a master clock. The best way is to synchronize the VM _hosts_ using NTP or PTP or whatever, and then synchronize the guest to their

Re: [Linuxptp-users] Trouble with time synchronization

2021-06-01 Thread Chris Caudle
> From: Sebastian Parakal > To: linuxptp-users@lists.sourceforge.net > Subject: [Linuxptp-users] Trouble with time synchronization > I created a master and a slave clock using 2 Ubuntu VMs and I connected > them to the same network, and by using the ptp4l daemon I tried to > synchronize the sla

[Linuxptp-users] System Clock isn't Synchronizing

2021-06-01 Thread Sebastian Parakal
I have connected 2 Virtual Machines to the same network using NAT network configuration in Oracle VM Virtualbox Manager. They have been successfully connected since I am able to ping between the two systems successfully. I am keeping the Ubuntu Server version 20.04's NIC(enps03) as Master Clock an

Re: [Linuxptp-users] System Clock isn't Synchronizing

2021-06-01 Thread Chris Caudle
> From: Sebastian Parakal > ptp4l[2663.201]: clockcheck: clock jumped forward or running faster than > expected! Are you sure you do not have ntpd, chronyd, or systemd-timesyncd running? The "clock jumped forward" message typically indicates that another software component is adjusting the clock

Re: [Linuxptp-users] System Clock isn't Synchronizing

2021-06-01 Thread Dharm, Matthew
A lot of VM software includes a guest component which re-synchronizes the guest clock to the host automatically. This allows you to "suspend" the host (i.e. shut the laptop lid) and then bring it back and have the time in the guests be correct (among other uses). Matt -Original Message---

[Linuxptp-users] (no subject)

2021-06-01 Thread Sebastian Parakal
As you mentioned i stopped systemd-timesyncd,and now the statement clock jumped forward isnt there,but the clock isnt still synchronized. *Master clock Machine* command 1: sudo ptp4l -i enp0s3 -S -m -2 //S indicates software stamping and -2 indicates that it's an ethernet connection to the slave

Re: [Linuxptp-users] System Clock isn't Synchronizing

2021-06-01 Thread Sebastian Parakal
How do I disable this guest clock?Is there a name for it?Any leads? On Wed, Jun 2, 2021 at 1:16 AM Dharm, Matthew wrote: > A lot of VM software includes a guest component which re-synchronizes the > guest clock to the host automatically. This allows you to "suspend" the > host (i.e. shut the la