Thread
:
[Poll] Does your N900 'forget' time & date after battery change?
View Single Post
MatMat
2013-05-07 , 03:37
Posts: 97 | Thanked: 24 times | Joined on Jan 2010 @ Planet Earth
#
43
There is
OpenNTPD
http://en.wikipedia.org/wiki/OpenNTPD
OpenNTPD is a Unix system daemon implementing the Network Time Protocol to synchronize the local clock of a computer system with remote NTP servers.
http://wiki.maemo.org/NTP
Nokia-N900:~# apt-cache search ntpd
openntpd - OpenBSD NTP daemon
Nokia-N900:~# apt-get install openntpd
The following NEW packages will be installed:
openntpd
Need to get 47.0kB of archives.
Setting up openntpd (3.9p1-4-maemo8) ...
Starting openntpd: ntpd.
Configuration
Open file /etc/openntpd/ntpd.conf with your favourite text editor and simply put this line into it:
servers europe.pool.ntp.org
Or any other near server from
http://www.pool.ntp.org/
After that, save the file and reboot the device. Everything is working now in the background and you will always have correct time set.
Don't worry, the daemon does not drain battery.
And keep in mind that you have to wait some time for the effect to be seen, because ntpd calculates drift first and does not do rapid changes (to keep consistent log files). You can test if it works if you set your time a few minutes back or forth and leave the device connected. The results after initial installation should be seen in an hour or two, after that set your other clocks by your phone's time.
__________________
MatiasM Oky Blog
Last edited by MatMat; 2013-05-07 at
03:41
.
Quote & Reply
|
The Following 3 Users Say Thank You to MatMat For This Useful Post:
Garrett_PL
,
pichlo
,
sunyakram
MatMat
View Public Profile
Send a private message to MatMat
Visit MatMat's homepage!
Find all posts by MatMat