Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Sep 1 '11 at 21:54

This question came from our site for professional and enthusiast programmers.

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. – Pascal Cuoq Sep 1 '11 at 21:35
up vote 4 down vote accepted

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|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.