avoid syncronising clock and how to dial-up

Ed Fletcher ed at fletcher.ca
Sat Dec 4 19:32:24 UTC 2004


Neil Woolford wrote:
> At 11:44 04/12/04, altern wrote:
> 
>> couple of stupid questions I guess.
> 
> 
> Not in the least!
> 
>> I just setup my network connection yesterday and my problem now is 
>> that every time Ubuntu loads up it tries to syncronise the computer 
>> clock to the one on ubuntu server. Because i have dialup connectionn 
>> at home its cannot syncronise at all as its not connected by default. 
>> So it takes several seconds until this is timed out. How could i 
>> disable this?
> 
> 
> I've been meaning to do this for a while myself, so you've nudged me 
> into it :)
> 
> 
> The script that calls for the update is /etc/init.d/ntpdate.  This is 
> called as part of the later stages of the general boot process by a link 
> from /etc/rcS.d/S51ntpdate.
> 
> The are differing views about how to disable such a process...
> 
> My opinion on it is to rename the link from /etc/rcS.d/S51ntpdate to 
> /etc/rcS.d/_S51ntpdate.  This simple renaming stops the script running 
> automatically, as the system is looking for names that begin with S (for 
> start) or K (for kill).  The link is easy to rename back if you want to 
> start the service again.
> 
> (I don't know your level of experience of Linux, so I'll just point out 
> you'll need to be in a root terminal to do this renaming;  it is not 
> allowed as a normal user.  Email me for more info if this is problematic.)

This is an interesting thread.  I also have Ubuntu on a laptop and the 
ntp-update was not set.  I've added it because I'm usually either on a 
wired or a wireless connection.  However, is there a way for me to turn 
it off by default and run it from the gui after the laptop has booted? 
Or perhaps have it detect a network and run only if a connection is 
available?

Thanks,
Ed
-- 
Ed Fletcher
ed at fletcher.ca

What difference does it make to the dead, the orphans and the homeless,
whether the mad destruction is wrought under the name of totalitarianism
or the holy name of liberty or democracy?  -  Mahatma Gandhi (1869-1948)





More information about the ubuntu-users mailing list