Re: [PLUG] Time sync unsing NTP

2004-12-09 Thread Shantanoo
On Thu, 9 Dec 2004 03:12:05 -0800, Sagar Gokhale <[EMAIL PROTECTED]> wrote: > from man ntpd: >-q Exit the ntpd just after the first time the clock is set. This > behavior mimics that of the ntpdate program, which is to be > retired... IIRC, that note

Re: [PLUG] Time sync unsing NTP

2004-12-09 Thread Devendra Laulkar
On Thursday 09 Dec 2004 2:35 pm, Swapnil Nagle wrote: > > The command can be added to /etc/ppp/ip-up.local Thanks, created the file ip-up.local and added /etc/rc.d/init.d/ntpd restart -Devendra. http://dengineer.blogspot.com/ -- ___

Re: [PLUG] Time sync unsing NTP

2004-12-09 Thread Sagar Gokhale
from man ntpd: -q Exit the ntpd just after the first time the clock is set. This behavior mimics that of the ntpdate program, which is to be retired... > ntpd is a NTP daemon (server). You need client. > 'man ntpdate' > -- Sagar Gokhale --

Re: [PLUG] Time sync unsing NTP

2004-12-09 Thread Shantanoo
On Wed, 8 Dec 2004 23:33:30 +0530, Devendra Laulkar <[EMAIL PROTECTED]> wrote: > > I have a modem connection to net, and I want to keep the local h/w time > accurate. So, I have installed the ntpd daemon. > > ntpd tries to connect to the time server at startup and then quits on error > saying cou

Re: [PLUG] Time sync unsing NTP

2004-12-09 Thread Swapnil Nagle
Sagar Gokhale wrote: ntpd can be run in a 'set time once' mode with ntpd -q. so all you need to do is have a way of running ntpd -q when you connect. dunno what to do for that. perhaps if there is a connect script, you could add a line to it or something. The command can be added to /etc/ppp/ip-up

Re: [PLUG] Time sync unsing NTP

2004-12-08 Thread Sagar Gokhale
ntpd can be run in a 'set time once' mode with ntpd -q. so all you need to do is have a way of running ntpd -q when you connect. dunno what to do for that. perhaps if there is a connect script, you could add a line to it or something. as for getting ntpd configured right, i dont think there's much

[PLUG] Time sync unsing NTP

2004-12-08 Thread Devendra Laulkar
I have a modem connection to net, and I want to keep the local h/w time accurate. So, I have installed the ntpd daemon. ntpd tries to connect to the time server at startup and then quits on error saying could not resolve host server. Basically I want the time to get synchronised after connect