Package: ntp
Version: 4.2.2.p4+dfsg-1

my ethernet is configured via dhcp:

goofy:/etc# cat network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

i added
request ntp-servers;
to /etc/dhcp3/dhclient.conf

so that ntpd.conf.dhcp gets created. see bug #407667.

the problem now is that the dhclient sets networking parameters after ntpd has 
already started. dhclient won't restart ntpd because configuration hasn't 
changed. this way ntpd will fail on the ip adress because the ethernet is 
down. it will remain like this forever:

ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 wo.x.lan .INIT.          16 -    -   64    0    0.000    0.000   0.000

if i restart ntpd it will work.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to