top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to set up timing if NTP was block by ISP?

+3 votes
1,175 views

How to set up timing if NTP was block by ISP? I have try many way such as link the timezone , getting from the hardware clock. However, it is not the solution.

Please advice.

posted Jan 15, 2014 by Tarun Singhal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Your ISP doesn't have their own timeserver you can access??

I've never heard of an ISP blocking ntp protocol, unless they are  blocking /everything/ but web and email via proxy, whereupon they aren't  really an internet service provider, they are just a web-n-mail service  provider.

1 Answer

+1 vote

You can setup a your own NTP server following this howto:
http://brainwreckedtech.wordpress.com/2008/08/25/howto-run-your-own-ntp-server-when-your-isp-blocks-ports/ and adapting it for your machine, or you can use a workaround like trying to setup a cron job to run ntpdate every 15 minutes to sync system time with ntp.org public servers using unprivilleged port.

15 * * * * /usr/sbin/ntpdate -s -u -B pool.ntp.org

-s option tells ntpdate to print output to syslog; -u tells it to use unprivilleged port; -B tell it to adjust the time incrementally as oppose to instantly.

Then setup ntpd as a local ntp server for internal use. This ntpd uses it's localtime as the source instead of syncing from another ntp.org public server.

answer Jan 15, 2014 by Satish Mishra
Similar Questions
+1 vote

I would like to sync my CentOS 6.3 hardware clock time to my NTP server's time. Can I do that without reboot the hosts?

Does anyone has the steps to do that?

+6 votes

I want to write NTP client which sends and receives NTP packet to NTP server and should read the value from one of the four offsets and convert it to user readable local or GMT time format, I specifically want to know which offsets should I read in order to get correct timestamp from the packet.

Any suggestions?

+4 votes

I am running Fedora 20 x86_64. Its on a private network not connected to the Internet, and with no NTP server. When I shut down the machine, it pauses for more than a minute at a stop job is running for NTP client/server. I dont think I enabled NTP when I installed it, but Ive done

systemctl disable ntpd.service 

and the same for ntpdate and sntp, but it still pauses for that stop job. Why is it doing that, and what can I do to make it skip that?

+2 votes

When there is a need to update our machine time, we use NTP update. Is there any public NTP server available which can serve all the requests coming from clients located around the globe ? Or Is a dedicated NTP server required for each geographical location ?

...