Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-11-08, 23:46
ME2g's Avatar
ME2g ME2g is offline
 
Join Date: Aug 2010
Location: Vienna
Posts: 168
Thanks!: 93
Thanked 58 Times in 32 Posts
Talking ntpdate for N900

My provider does not send NITZ information.

I was looking for a way to synchronize my N900 time with the
DCF77 time from my desktop machine (I use some older parallel port dongle, see also http://de.wikipedia.org/wiki/DCF77 ).

There are only some posts about some older version of "rdate",
about a daemon "openntpd" (I do not want to install a complete
ntp daemon, I only need the client).

Finally I found this website:
http://home.mminternet.com/delaroca/index.html/
where there is:
"Download ntpdate.gz: Ntpdate 4.2.6p1. Home
(Install in your favorite bin/ dir, run in root)".

Installed this and now I can either do (after starting the ntp daemon
on my desktop)
ntpdate <my desktop in my WLAN>
or switch on internet and
ntpdate <public ntp server>

hwclock -w also works.
Reply With Quote
The Following 3 Users Say Thank You to ME2g For This Useful Post:
  #2  
Old 2010-11-09, 00:29
egoshin egoshin is offline
 
Join Date: Dec 2009
Location: California
Posts: 992
Thanks!: 389
Thanked 995 Times in 404 Posts
Default Re: ntpdate for N900

Quote:
Originally Posted by ME2g View Post
My provider does not send NITZ information.
Oh! Interesting, how it is possible for telephone provider to do not send timing info... Very intriguing.

How you find out what provider doesn't send clock info?
Reply With Quote
  #3  
Old 2010-11-09, 12:48
buchanmilne buchanmilne is offline
 
Join Date: Sep 2010
Location: Africa
Posts: 196
Thanks!: 4
Thanked 224 Times in 92 Posts
Default Re: ntpdate for N900

I just wonder why no-one has written a small daemon to get the time from the GPS at intervals. E.g., using this as a time source in ntpd ...

I will try and write a small app for this in Qt first ...

I've been wondering why no-one has done this since the release of the N95 ...
Reply With Quote
  #4  
Old 2010-11-12, 09:11
ME2g's Avatar
ME2g ME2g is offline
 
Join Date: Aug 2010
Location: Vienna
Posts: 168
Thanks!: 93
Thanked 58 Times in 32 Posts
Default Re: ntpdate for N900

Quote:
Originally Posted by egoshin View Post
Oh! Interesting, how it is possible for telephone provider to do not send timing info... Very intriguing.

How you find out what provider doesn't send clock info?
I only found out about NITZ and my provider by asking the support.
That simple.
;-)
NITZ would be better but ntpdate is a workaround.
Reply With Quote
  #5  
Old 2010-11-28, 00:05
Milhouse Milhouse is offline
 
Join Date: Nov 2005
Location: London, UK
Posts: 3,401
Thanks!: 215
Thanked 1,255 Times in 452 Posts
Default Re: ntpdate for N900

Quote:
Originally Posted by egoshin View Post
Oh! Interesting, how it is possible for telephone provider to do not send timing info... Very intriguing.

How you find out what provider doesn't send clock info?
Have a look at bug #9107 for some details - the "Update automatically" setting in the N900 Settings is very confusing if your network does not send time, you tick the box and expect it to work but in fact it never does (the clue is that the Timezone/Date/Time fields remain blank but how are you supposed to know they are meant to populate with values if you've never seen it work before?)

Having an ntpd daemon running periodically and only when there is a network connection (it should never initiate a connection) would be great. Perhaps there is a way to hook it into the network up scripts?
Reply With Quote
The Following 2 Users Say Thank You to Milhouse For This Useful Post:
  #6  
Old 2010-11-28, 00:39
dchky's Avatar
dchky dchky is offline
 
Join Date: Jun 2010
Location: Australian in the Philippines
Posts: 549
Thanks!: 115
Thanked 299 Times in 160 Posts
Send a message via ICQ to dchky Send a message via Yahoo to dchky Send a message via Skype™ to dchky
Default Re: ntpdate for N900

I would suggest people use pool.ntp.org for their timing needs : )
Reply With Quote
  #7  
Old 2010-11-29, 17:06
ME2g's Avatar
ME2g ME2g is offline
 
Join Date: Aug 2010
Location: Vienna
Posts: 168
Thanks!: 93
Thanked 58 Times in 32 Posts
Default Re: ntpdate for N900

Quote:
Originally Posted by dchky View Post
I would suggest people use pool.ntp.org for their timing needs : )
Entering just
pool.ntp.org
does not work in Austria.
It results in
"#
Willkommen
#
auf dem Österreichischen Jugendportal"
There seems to be a tiny DNS problem.
;-)

You have to use
http://www.pool.ntp.org/
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:47.