Mithun Bhattacharya proclaimed:
> xntp is a daemon based service. You just need to install it and run the
> ntp server. Ofcourse you need to tell which server to coordinate the
> time too but definitely no cron-job is needed for this.

xntp is overkill.  Why should he run an NTP server on a stand alone
machine?  Also, he clearly mentions that his machine only has occasional
connectivity to the net.  That is why a cron job or an ip-up script is
necessary.  Also, ntpdate is enough for most client machines.

Thaths


> Sudhakar Chandra wrote:
> > dayalan manohar proclaimed:
> > > What is a good method to automatically get the time from an ntp
> > > server and set the date in the bios?I thought of using a script get the
> > > time using xntp and then set the time using hwclock.Can this be
> > > done?Also this is for a system with only a temporary dial-up
> > > connection.So the script can be called in the ip-up script?
> >
> > Possible solutions:
> >
> > 1. Write a script that will invoke xntp or ntpdate and then set the clock
> > using hwclock.  BTW, between xntp and ntpdate, go with ntpdate.  It is much
> > easier to use.  Invoke this script periodically every 1 hour or so from
> > cron.
> >
> > 2. Same as above.  But your script will also make sure that it is actually
> > online before running ntpdate.
> >
> > Thaths
> >
> > --
> > Lenny: So, Homer, if we vote for you, what are you going to do different?
> > Homer: What am I, the answer man?  Just vote for me.
> > Sudhakar C13n    http://www.aunet.org/thaths/    Lead Indentured Slave
> >
> > ----------------------------------------------
> > The mailing list archives are available at
> > http://lists.linux-india.org/cgi-bin/wilma/LIH
> 
> ----------------------------------------------
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at
> http://lists.linux-india.org/cgi-bin/mj_wwwusr

-- 
Lenny: So, Homer, if we vote for you, what are you going to do different?
Homer: What am I, the answer man?  Just vote for me.
Sudhakar C13n    http://www.aunet.org/thaths/    Lead Indentured Slave

----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to