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: pgptqyrvFXmoK.pgp
Description: PGP signature

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux