0

I am using my college's LAN and need my timedate to synchronize to the college's ntp server.

I tried editing the /etc/systemd/timesyncd.conf appropriately (by change the value after NTP= but it keeps trying to synchronize from ntp.ubuntu.com (which won't work on lan)

Please advise

UPDATE: I have installed chrony and it seems to be working fine with this.

Shashwat
  • 179

2 Answers2

0

apt install ntp

Open /etc/ntp.conf add

server yourlocalntpserver iburst

systemctl restart ntp

date -R

Curious
  • 19
0

You can edit the NTP server setting in /etc/systemd/timesyncd.conf.

NTP="your ntp server host name or address"

You can also set a fall back server

FallbackNTP="your fall back server host name or address"