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

Re: timedatectl DHCP NTP Server



On 2/5/2021 4:33 PM, Charles Curley wrote:
On Fri, 5 Feb 2021 07:22:27 -0700
Charles Curley <charlescurley@charlescurley.com> wrote:

On Fri, 5 Feb 2021 07:24:05 +0100
john doe <johndoe65534@mail.com> wrote:

It does work fine for me, is the lease showing the ntp server?

I don't know. The computer in question is a laptop and using wifi and
NetworkManager. There is no dhcp.leases file for the wifi nic. There
is an old one for the wired nic, which shows the ntp server.

I forced a renewal of the lease, and looked at syslog. NM reports
plenty of information about the lease, but not the time server option.

Is there a way to learn this other than the leases file?

I have two other machines running the systemd time client. Both are
Bullseye. Both show that they are using the local NTP server. Neither
is running NetworkManager.

Is NetworkManager causing problems here?


For lack of time, I resorted to use systemd-timesyncd but apparently you
need to configure NM to handle NTP server by way of a hook or tweaking
the profile for the desired connection.

--
John Doe


Reply to: