| Author |
Message |
|
|
Post subject: How to synchronize time with ntpd ?
Posted: 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 ?  |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to synchronize time with ntpd ?
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to synchronize time with ntpd ?
Posted: 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? |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|