Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
02-18-2015, 11:05 PM
(This post was last modified: 02-26-2015, 02:43 PM by Scott(0).)
Hi,
Thought I would set up one of my PC's with Date/Time synced to NTP Server.
So my internet connection is fine, and I can ping the ntp servers listed: http://www.pool.ntp.org/zone/uk
I add one of the ntp servers, it says "Checking" and it lists it... I can ping it...
But when I come to close the page, it errors out... UFW Firewall is in-active.
Any ideas..??
Thanks.
[img height=449 width=800]http://i.imgur.com/wyKyMV4.png[/img]
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
Hi,
Any ideas on this.?
Anybody else tried to set up Auto Time Sync.?
Thanks... Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 8,898
Threads: 542
Joined: Feb 2014
Reputation:
5
Have you tried any other ntp servers from other countries to test?
Posts: 8,898
Threads: 542
Joined: Feb 2014
Reputation:
5
Upon further research, it looks like the simplest way to fix this is:
Code: sudo apt-get install ntp
Then edit the file below to add time servers:
Code: sudo leafpad /etc/ntp.conf
Add your time-servers to synchronize with.
Then, restart NTP service:
Code: sudo service ntp restart
You may have to let traffic on your router through port 123 fowarded to your pc's ip address if it is still not working. Then restart the service again.
Then test with:
Also check your router, most these days ship with NTP options, config it there.
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
(02-26-2015, 11:28 AM)Jerry link Wrote: Have you tried any other ntp servers from other countries to test?
Hi Jerry,
Tried 4 different from this list: http://www.timetools.co.uk/2013/07/25/ntp-server-uk/
Unless my ISP is blocking NTP ~ Port 123 .?
Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
Hi Jerry,
I think we both posted at the same time...
I will try your suggestions ASAP.
Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 8,898
Threads: 542
Joined: Feb 2014
Reputation:
5
No worries Dave, I'm off to bed....peace
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
02-26-2015, 01:34 PM
(This post was last modified: 02-26-2015, 01:40 PM by Wirezfree.)
Hi Jerry,
I followed your instructions...
It still errors out when using the Date/Time GUI if I try use the Automatic "Tick Box"
However...
On reading this: http://www.pool.ntp.org/en/use.html
Code: dave@asus-mini-1:~$ sudo ntpq -np
remote refid st t when poll reach delay offset jitter
==============================================================================
+82.219.4.30 135.81.191.59 2 u 50 64 177 26.034 18.801 6.295
*94.228.40.3 195.66.241.10 2 u 49 64 177 19.854 10.271 8.200
-130.88.200.6 130.88.212.143 3 u 47 64 177 32.986 20.041 7.014
+130.88.212.143 193.62.22.74 2 u 50 64 77 34.816 17.438 7.865
-91.189.94.4 192.93.2.20 2 u 47 64 77 28.303 9.507 5.759
I do have a " *" next to one of the ntp servers, so I think it is auto syncing time..??
** NOTE ADDED **
It appears time is being synced, so maybe an issue with the Date/Time GUI
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 8,898
Threads: 542
Joined: Feb 2014
Reputation:
5
You are syncing. I have yet to find a reliable, point and click solution for this. In the meantime I'll add the ntp package to LL 2.4 so at least the software will be there, then it's just a matter of a few quick commands.
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
Thanks...
I guess it must poll to find "Best Server"..??
It's now using a different one on the list.
Code: dave@asus-mini-1:~$ sudo ntpq -np
remote refid st t when poll reach delay offset jitter
==============================================================================
*82.219.4.30 195.66.241.2 2 u 84 1024 377 26.732 2.679 3.212
+94.228.40.3 195.66.241.3 2 u 169 1024 377 20.335 2.651 7.067
+130.88.200.6 130.88.212.143 3 u 41 1024 377 33.378 -0.420 7.338
+130.88.212.143 193.62.22.74 2 u 102 1024 377 34.744 0.589 3.996
+91.189.94.4 192.93.2.20 2 u 702 1024 377 28.707 -1.722 2.858
I want to have an accurate time,
Ideally +/- 1 sec for another hobby that requires accurate timing for data decoding.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
|