Can't get NetworkManager to configure ntp

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

 



I'm trying to convert from static host configurations to dhcp. My understanding is that on dhcp clients I should remove my ntp server from ntp.conf, with the understanding that when the network interface is set up by dhcp, the dhcp-provided option setting will be used by NetworkManager/dhclient to add the network's ntp server to ntp.conf. Everything works except for this part. When I plug the cable into the network port, the machine gets its IP address from the dhcp server, gets the nameservers from the dhcp server, but for some reason ntp.conf remains untouched.

My dhcpd.conf reads:

host t43 {
       hardware ethernet 00:11:25:B1:40:60;
       fixed-address 192.168.0.15;
}

# This is the dhcp client I'm configuring

subnet 192.168.0.0 netmask 255.255.255.0 {

       option subnet-mask              255.255.255.0;

       deny unknown-clients;

       option routers                  192.168.0.5;
       option domain-name-servers      192.168.0.5;
       option ntp-servers              192.168.0.5;

. . .

When I plug it in, the machine gets its IP address, router IP, and DNS ip, but ntp.conf does not get updated.

How do I debug this? I tried stracing the NetworkManager process, but I cannot see it forking/cloning/execing dhclient and dhclient-script.




Attachment: pgpEvgzbhJjrS.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux