How can I sync time between two ubuntu computers, not connected to the internet

10,912

You'll need to install an NTP server on one of the computers and then modify the NTP settings on the other computer to look to that NTP server for it's time.

UbuntuGeek has a detailed walkthrough on this.

Share:
10,912

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    I have two computers connected to each other over an ad-hoc wifi. How can I make the first computer always sync to the time of the second computer?

    I tried playing with NTP, but could not figure out how to make it work in this situation.

    • Admin
      Admin over 12 years
      I'm always reluctant to move questions to stackexchange sites that I don't use, but it seems to me that NTP configuration would get more answers on ServerFault.