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

Re: timedatectl DHCP NTP Server



basti wrote: 
> I use a up to date debian. 

Stable? Testing? Unstable?


> As I can see now timedatectl seems *not*
> using the NTP Server provide by DHCP. I have configure a NTP server in  LAN.
> 

Assuming you are sending option 42, the usual way to get that
adopted is to tell dhclient.conf:

request ... ntp-servers ...

which should create an /etc/ntp.conf.dhcp which could then
be picked up by /etc/dhcp/dhclient-exit-hooks.d/.

But maybe you're running systemd, in which case it will
probably be different.

-dsr-


Reply to: