NTP setting in Expedition

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

NTP setting in Expedition

L2 Linker

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

4 REPLIES 4

L3 Networker

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

 

 

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...

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.

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

 

  • 8271 Views
  • 4 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!