Date
1 - 15 of 15
Locked NTP Delayed Startup Sync when computer is turned on #Timesync
Mark W2OR <reston2010mm-orders@...>
My NTP works great all of the time and the Offset (seen in Quick NTP Status) is always well below 5.00. Great. The one oddity is when the computer is turned on from a cold start in the mornings, where it takes NTP several minutes before it will start a sync. Some times it's only a three minute wait. Most of the time it takes six to ten minutes. When it does sync, the large Offset differential does not gradually change at all, but rather, all three service providers suddenly drop down to a very low, acceptable Offset number. Questions:
Does anyone else experience this? Is there a permanent 'fix' for this, something that's easy to do for us non-computer junkies? My quick fix each morning is to go to Services (Task Manager) and simply reset (Right Click) NTP, whereupon it syncs immediately and all's well. -- // Mark .. w2or .. |
|
Tim Dawson
Almost every NTP deployment I have seen makes a step change at boot, since nothing will be affected at that point, and then corrects/maintains time thereafter, so I would not worry about it.
toggle quoted message
Show quoted text
On June 17, 2022 9:01:29 PM CDT, "Mark W2OR via groups.io" <reston2010mm-orders@...> wrote:
My NTP works great all of the time and the Offset (seen in Quick NTP Status) is always well below 5.00. Great. The one oddity is when the computer is turned on from a cold start in the mornings, where it takes NTP several minutes before it will start a sync. Some times it's only a three minute wait. Most of the time it takes six to ten minutes. When it does sync, the large Offset differential does not gradually change at all, but rather, all three service providers suddenly drop down to a very low, acceptable Offset number. Questions: --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
|
Williams, G (af8c) <af8c@...>
I have the same problem. Solution: (for Meinberg NTP)
toggle quoted message
Show quoted text
Go to your ...\NTP\bin folder, and find the "restartntp.bat" file and create a named desktop icon to run it. Move the desktop shortcut out of the way of any FT8 or logging software windows. After booting up, run that BAT file, using "Run as Administrator" (if you are not administrator) using right mouse button click on the shortcut icon. It will take (in my PC anyway) 10 seconds to finish. It will tell you if restart was successful. Then start your WSJT-X app. --73, Glenn, AF8C On 6/17/2022 10:01 PM, Mark W2OR via groups.io wrote:
My NTP works great all of the time and the Offset (seen in Quick NTP Status) is always well below 5.00. Great. The one oddity is when the computer is turned on from a cold start in the mornings, where it takes NTP several minutes before it will start a sync. Some times it's only a three minute wait. Most of the time it takes six to ten minutes. When it does sync, the large Offset differential does not gradually change at all, but rather, all three service providers suddenly drop down to a very low, acceptable Offset number. Questions: --
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
|
Bruce - K5WBM
I see something similar sometimes. I go to start, meinberg and restart the ntp service. It works fine after that.
toggle quoted message
Show quoted text
Also, make sure you have iburst for each server in the ntp config file. Bruce - K5WBM On Jun 17, 2022, at 9:01 PM, Mark W2OR via groups.io <reston2010mm-orders@...> wrote: |
|
Thomas, SM0KBD
In the normal ntp-client, there is a directive called iburst that
toggle quoted message
Show quoted text
handles exactly the startup problem you have. I checked the Meinberg documentation and it is mentioned there. Unfortunately I am on Linux so I can't check exactly where this is to be found on a Windows installation. Hopefully someone with some more knowledge than I have can figure out how to add it. /Thomas, SM0KBD Den 2022-06-18 kl. 05:03, skrev Williams, G (af8c) via groups.io: I have the same problem. Solution: (for Meinberg NTP) |
|
Michael Black
During Meinberg installation fast burst is an option.
Also a common mistake some make is forgetting to use the pulldown to set their country (and if missed Meinberg won't work). Mike W9MDB |
|
Mark W2OR <reston2010mm-orders@...>
Those replies to the initial question were appreciated. Thank you Thomas, Bruce, Glenn, and Tim.
I'm still a newbie at this. If anyone has more commentary on any of the three suggestions, I'd look forward to seeing them. Including suggested web links with instructions on how to ensure iburst is set for each server. Thanks. Related Questions: In Win-10 START, when I type "EDIT NTP" I get the "Edit NTP Configuration" page that has what appears to be useful config instructions. Including: # The 'iburst' keyword speeds up initial synchronization, please check the documentation for more details! server 0.us.pool.ntp.org iburst minpoll 6 maxpoll 7 server 1.us.pool.ntp.org iburst minpoll 6 maxpoll 7 server 2.us.pool.ntp.org iburst minpoll 6 maxpoll 7 My Questions: Are the above three noted servers actually what I'm using? Or, are they just examples for all readers? If they are what I am actually using, then do each have to be modified to ensure iburst is activated when my computer starts every morning? You can see from my questions that I have yet to find the appropriate set of instructions, among the hundreds there on the NTP web pages. -- // Mark .. w2or .. |
|
Michael Black
You just add iburst to each line
toggle quoted message
Show quoted text
server 0.us.pool.ntp.org iburst minpoll 6 maxpoll 7 iburst server 1.us.pool.ntp.org iburst minpoll 6 maxpoll 7 iburst server 2.us.pool.ntp.org iburst minpoll 6 maxpoll 7 iburst https://kb.meinbergglobal.com/kb/time_sync/ntp/configuration/ntp_conf_file Mike W9MDB On Monday, June 20, 2022, 06:43:36 AM CDT, Mark W2OR via groups.io <reston2010mm-orders@...> wrote:
Those replies to the initial question were appreciated. Thank you Thomas, Bruce, Glenn, and Tim. I'm still a newbie at this. If anyone has more commentary on any of the three suggestions, I'd look forward to seeing them. Including suggested web links with instructions on how to ensure iburst is set for each server. Thanks. Related Questions: In Win-10 START, when I type "EDIT NTP" I get the "Edit NTP Configuration" page that has what appears to be useful config instructions. Including: # The 'iburst' keyword speeds up initial synchronization, please check the documentation for more details! server 0.us.pool.ntp.org iburst minpoll 6 maxpoll 7 server 1.us.pool.ntp.org iburst minpoll 6 maxpoll 7 server 2.us.pool.ntp.org iburst minpoll 6 maxpoll 7 My Questions: Are the above three noted servers actually what I'm using? Or, are they just examples for all readers? If they are what I am actually using, then do each have to be modified to ensure iburst is activated when my computer starts every morning? You can see from my questions that I have yet to find the appropriate set of instructions, among the hundreds there on the NTP web pages. -- // Mark .. w2or .. |
|
William Smith
So you need to have iburst twice in each line?
toggle quoted message
Show quoted text
73, Willie N1JBJ On Jun 20, 2022, at 7:58 AM, Michael Black via groups.io <mdblack98@...> wrote: |
|
Michael Black
Oh duh...I didn't read your whole line.
toggle quoted message
Show quoted text
You should be OK. Are you still having time problems at startup? Mike On Monday, June 20, 2022, 07:06:57 AM CDT, William Smith <w_smith@...> wrote:
So you need to have iburst twice in each line? 73, Willie N1JBJ On Jun 20, 2022, at 7:58 AM, Michael Black via groups.io <mdblack98@...> wrote: |
|
Jim Bacher - WB8VSU
Mark, as to what servers you are using, as long as the lines don't start with a "#", those are the servers you are using.
toggle quoted message
Show quoted text
Jim Bacher, WB8VSU wb8vsu@... https:\\trc.guru On Jun 20, 2022, 7:43 AM, at 7:43 AM, "Mark W2OR via groups.io" <reston2010mm-orders@...> wrote:
Those replies to the initial question were appreciated. Thank you |
|
Reino Talarmo
Mark, and for the full performance Meinberg is providing you should have at least three servers listed.
toggle quoted message
Show quoted text
73, Reino OH3mA Mark, as to what servers you are using, as long as the lines don't start with a "#", those are the servers you are using. |
|
Tim Dawson
The solution for this on *nix systems has historically been to run the "ntpdate" program (part of ntp/Meimberg) prior to starting the"ntpd" process itself. Ntpdate simply makes a one-time adjustment to the clock, and then ntp keeps it in sync.
toggle quoted message
Show quoted text
On my box, in the "staetntp" and "restartntp" batch files, I have added "ntpdate -b 0.us.pool.ntp.org" (or whatever one of your servers is) immediately prior to the line for ntpd, and removed the "iburst" entries altogether (although there should be no issue if left there. I also went back to defails for minpoll/maxpoll, ut that has nothing to do with this . . .). Now the system makes an immediate stem adjustment within a couple tenths of a millisecond, and then ntp loads to maintain it, and there is no delay or wait for time to sync other that the time for ntpdate to run, which is a few seconds. (If your ntp servers are unreliable, you can add a couple of lines of ntpdate to multiple server to be safe . . . ) Just another way to solve the problem, using another provided part of the ntp distro as documented in the past. (Note also that ntpdate will *NOT* work once ntpd is runnimg, since ntpd will have port 123 open, and you will get an error to that effect, so tonuse this post boot, you *MUST*nstop the ntp (ntpd) service forst!) On June 20, 2022 6:43:30 AM CDT, "Mark W2OR via groups.io" <reston2010mm-orders@...> wrote:
Those replies to the initial question were appreciated. Thank you Thomas, Bruce, Glenn, and Tim. --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
|
Mark W2OR <reston2010mm-orders@...>
Tim, I appreciate what you just wrote. Not at all sure what all the details are all about, since I'm a newbie and all, but hv a general understanding.
And so, if you are suggesting a modification to my NTP config, what exactly should I add to the Config, or change? What I have now is listed below, which is simply the server list, and which is only slightly different from the server list that I had two days ago (as noted in an older post below). And again, in sum, my NTP continues to work great, with Offsets mostly less than 2.000 ... after a 5-10 minute wait after startup. I now get around the long wait by simply typing "Restart NTP Service" in the Win START (or going into Service to reset). That get's the Offsets immediately reduced to less than 2.000 etc. Immediately. You would think that a clean installation of NTP, like mine, would not require several minutes of un-exact time at startup. //Mark. # My config: server 0.north-america.pool.ntp.org minpoll 6 maxpoll 7 iburst server 0.us.pool.ntp.org minpoll 6 maxpoll 7 iburst server 1.us.pool.ntp.org minpoll 6 maxpoll 7 iburst server 2.us.pool.ntp.org minpoll 6 maxpoll 7 iburst // Mark .. w2or .. |
|
Tim Dawson
If you add the "ntpdate . . ." commands I posted to the start and restart batch files (in c:\Prog..x86..\NTP\bin\...) then it will instantly set at boot, and you won't need to do anything. I'm not at my system atthe moment, but will try to remember to give the specific edits later.
toggle quoted message
Show quoted text
On June 21, 2022 12:33:34 PM CDT, "Mark W2OR via groups.io" <reston2010mm-orders@...> wrote:
Tim, I appreciate what you just wrote. Not at all sure what all the details are all about, since I'm a newbie and all, but hv a general understanding. --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
|