Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

How do i link my NT/2k to my linux machine to get the correct time.

My linux machine 7.2 alway have the correct time, because it is link to  Time.nist.gov.   I want my NT server to have the correct time also but i do not want it to go outside the network to any site and look for the correct time.

My question is how do i link my NT machine to my linux server to get the corret time every hour, or minutes  or secounds
0
pcdoctor20
Asked:
pcdoctor20
1 Solution
 
owensleftfootCommented:
You need to run a NTP server on your linux box. Have a look at www.ntp.org
0
 
TheAmigoCommented:
If your Linux box is already getting time, then it's probably also acting as a time server.

You can either set the time once on your NT box using:

net time \\linuxboxname

or you can get software such as Dimension 4:
http://www.thinkman.com/dimension4/index.html
and point it to your linuxbox.
0
 
TheAmigoCommented:
oops... forgot to add the /set option:

net time \\linuxboxname /set

without the /set it only shows the time from your linuxbox.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
kregCommented:
go to /etc/xinetd.d/
edit the time file
remark out the disable = yes
then:
service xinetd restart

Then you should have a time server running.
0
 
GregBolshawCommented:
Execute the following command on the Windows machine where 192.168.0.1 is the IP of your Linux machine.

Windows will then automatically keep time sync'd, and report this in the system log.

net time /setsntp:192.168.0.1
0
 
CleanupPingCommented:
pcdoctor20:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
TheWeakestLinkCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept comments from TheAmigo as answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheWeakestLink
EE Cleanup Volunteer
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now