NTP setting in Expedition

Reply
L2 Linker

NTP setting in Expedition

Does anyone know how to change the NTP settings in Expedition. For instance to point it to a local server?

L3 Networker

Re: NTP setting in Expedition

SSH to Expedition and change the /etc/ntp.conf settings

 

ssh -l expedition <ip.of.your.server>

sudo -s . (passwd: paloalto)

nano /etc/ntp.conf

comment out all lines starting with "pool ..." and insert  a "server statement:

 

# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
# pool 0.ubuntu.pool.ntp.org iburst
# pool 1.ubuntu.pool.ntp.org iburst
# pool 2.ubuntu.pool.ntp.org iburst
# pool 3.ubuntu.pool.ntp.org iburst

# Use Ubuntu's ntp server as a fallback.
# pool ntp.ubuntu.com

server 192.168.123.123

 

Restart NTP: service ntp restart

or stop and run ntpdate and start again

service ntp stop

ntpdate 192.168.123.123

service ntp start

 

 

L2 Linker

Re: NTP setting in Expedition

That is what I was looking for @KlausGroeger but on my VM /etc/ntp.conf and NTP service are missing.

I am looking now at:

https://help.ubuntu.com/lts/serverguide/NTP.html.en

and

https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-ubuntu-16-04

They seem to apply to my Ubuntu. I am trying to validate the success of the changes now...

Highlighted
L3 Networker

Re: NTP setting in Expedition

Just become root on your expedition server and install ntp and ntpdate:

 

apt-get install ntpdate

apt-get install ntp

 

Go on with the above.

Tags (3)
L2 Linker

Re: NTP setting in Expedition

It never crossed my mind to install ntp and ntpdate. Aparently if installed they start takeing care of keeping time even if the new (replacement) service is installed already. Thank you for guidance and support @KlausGroeger

 

What I ended up doing though is:

  • add the local seerver in: /etc/systemd/timesyncd.conf
  • check the status with: systemctl status systemd-timesyncd.service

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!