OpenQNX :: The QNX Community Portal

Sep 07, 2008 - 07:35 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 41 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
oink
Post subject: How to synchronize time with ntpd ?  PostPosted: Apr 08, 2008 - 03:00 PM
Senior Member


Joined: May 16, 2006
Posts: 136

I am synchronizing time with cron and simple "scrpit":
ntpdate 10.0.0.11
rtc -s hw

but I found that I can do that with ntpd.
Anybody knows how ? Smile
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject: RE: How to synchronize time with ntpd ?  PostPosted: Apr 08, 2008 - 05:00 PM
QNX Master


Joined: Sep 01, 2002
Posts: 2849

Read up on ntpd, you need to setup configuration file to point it the the server.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
oink
Post subject: RE: How to synchronize time with ntpd ?  PostPosted: Apr 09, 2008 - 07:14 AM
Senior Member


Joined: May 16, 2006
Posts: 136

I know it, and set up my /etc/ntp/ntp.conf:
server 10.0.0.11 prefer
...and then run ntpd:
ntpd -d &
...and nothing changes.

How long do I have to wait for time synchronization?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.