network time

Ryan Jacobs ryan at ungana-afrika.org
Mon Sep 5 15:48:08 UTC 2005


Hi,

I had a similar problem. After I installed a second NIC and setup a 
bridge between the computers 2 NICs, I was no longer getting time 
updates either.

I run a script to initiate the bridge, and what I found was this script 
was called AFTER ntpdate. Since no external network access could happen 
until the bridge script ran, ntpdate could not access the time server.

ntpdate is called in /etc/rcS.d - on my system it's "S51ntpdate". I my 
case, to fix my problem, I changed the bridge script to run as 
"S41bridge" (after NICs were initiated, but before ntpdate runs), and 
things started cooking again. Maybe your solution is similar?

I changed this script order manually, but it sounds like rcconf might 
simplify any such processes.

Ryan



Stephen R Laniel wrote:
> On Mon, Sep 05, 2005 at 08:11:52AM -0400, Frank McCormick wrote:
> 
>>For some reason I noticed this morning (it may have been happening for
>>a while) that my system no longer contacts the Ubuntu timeserver for
>>the correct time. 
>>Where in the bootup scripts is this located? I probably accidentally
>>deleted it sometime in the distant past.
> 
> 
> /etc/init.d/ntpdate -- here 'ntp' stands for 'network time
> protocol.
> 
> The best way that I've found to remove items from your
> startup scripts is to install and use rcconf. Then go
> through the menu in there and check off startup scripts that
> you want to exclude.
> 
> 




More information about the ubuntu-users mailing list