Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.