Solved

increase accuracy of the hwclock linux ubuntu pc when not connected to network

Posted on 2010-08-21
5
515 Views
Last Modified: 2013-12-15
i am currently using the following commands to set the clock date & time using a network connection on a linux pc:

# dpkg-reconfigure tzdata
# ntpdate-debian
# /sbin/hwclock –systohc

The pc will be will not be connected to a network for a long period of time. Has anyone got suggestion on how to stop /slow the time drift in the PC clock time once the PC has been disconnected from the network?

0
Comment
Question by:gerrymac1943
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:mcuk_storm
ID: 33492123
You are probably best having a look at this for some background and further info:
http://tldp.org/HOWTO/Clock-2.html

If it is a server and the time is critical you can get atomic clock cards or radio clock cards to go in the machine to provide a more accurate time. e.g. something like:
http://www.atomictimeclock.com/clockcard.php
0
 
LVL 3

Expert Comment

by:simoesp
ID: 33592231
do you whant to stop time when network it's off or to fix time ?
0
 

Author Comment

by:gerrymac1943
ID: 33592281
i just want to keep the time as accurate as possible i.e. as if it was connected to a network . I've noticed that the time can drift by up to 1 hour after a week when disconnected from a network.
0
 
LVL 3

Accepted Solution

by:
simoesp earned 500 total points
ID: 33594516
the only way is to have an atomic clock there's no other solution mabie try to change the bios battery  it could work
0
 

Author Closing Comment

by:gerrymac1943
ID: 33716131
thanks
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question