[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntp.conf and ntpd

On Wed, 2006-04-05 at 21:57 -0700, Account for Debian group mail wrote:
> Is there a way to configure ntpd to listen to a select number of
> interfaces? I have it set up on a virtual server and the ntpd program has
> attached itself to hundreds of interfaces.

If you were to look at the ntp-docs that are
in /usr/share/doc/ntp-docs/html/

        about 2/3rds of the way down the file.

You will find a section called: Command Line Options

In there you will find the "-L" option.

                Do not listen to virtual IPs. The default is to listen.

So if you are using Debian Sarge (I assume), to the
file /etc/init.d/ntp-server change the following partial line:

        /usr/sbin/ntpd -- -p /var/run/ntpd.pid -u $UGID

to this 

        /usr/sbin/ntpd -- -p /var/run/ntpd.pid -L -u $UGID

adding the -L will make ntpd not listen on Virtual IPs.

Hope this Helps.

Sorry if you are subscribed to Debian-User, I haven't seen you on here
greg, greg@gregfolkert.net

The technology that is 
Stronger, Better, Faster: Linux

Use Debian GNU/Linux, its a bazaar thing

NOTICE: Due to Presidential Executive Orders, the 
National Security Agency may have read this email 
without warning, warrant, or notice, and certainly 
without probable cause. They may do this without 
any judicial or legislative oversight. You have no 
recourse nor protection.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: