LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2004, 05:43 AM   #1
gigglesnorter
Member
 
Registered: Apr 2004
Location: Harare - Zimbabwe
Distribution: Redhat 7.3
Posts: 35

Rep: Reputation: 15
Set up time server?


I have a red hat 7.3 file server running samba and mysql for my windows network. Is it possible to set this machine up as a time server as well, and if so, how?

Thanks in advance,
Chris
 
Old 06-26-2004, 08:35 AM   #2
scuffell
Member
 
Registered: Jun 2004
Location: Reading, UK
Distribution: SUSE 9.1, SUSE 9.2, SUSE 9.3, Knoppix 3.8, Gentoo 2005.0, cygwn, colinux
Posts: 100

Rep: Reputation: 15
Yep, anything is possible with Linux =). www.ntp.org is the website. Basically you get it to check the time at another server (using ntpdate), and then get your other computers to set their time to that. There is a How-to on this at http://geodsoft.com/howto/timesync/unixinstall.htm
 
Old 06-26-2004, 08:39 AM   #3
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
You'll need to install NTP, config the /etc/ntp.conf, run ntpdate to set the time, then start the ntpd service to keep the time in check and serve time to your network. There are a number of simple programs to use on the Windows computers to check against your server.

Go to << www.ntp.org >> for more info.
 
Old 06-28-2004, 03:47 AM   #4
gigglesnorter
Member
 
Registered: Apr 2004
Location: Harare - Zimbabwe
Distribution: Redhat 7.3
Posts: 35

Original Poster
Rep: Reputation: 15
I added "Time Server = Yes" in the global properties of my samba config file. I then created a batch file on a shared directory with "NET TIME \\mysqlserver /SET /YES". I then added a shedualed task to each of the windows machines to run the batch file on startup and everyday at 5am. This works a treat.

Now I just want to know if I could use the "internet time" setting in XP to read the time from the server instead of the batch file. I tried putting the server name, IP address and netbios address in the server box, but none of them worked. Any suggestions?

Thanks,
Chris
 
Old 06-28-2004, 04:09 AM   #5
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
If you use Samba as a PDC then you can include the NET TIME stuff in the logon.bat file.

Otherwise what you need is xntp to set up your linux machine as a NTP time server so that you can then use the XP internet time functionality.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 07:55 PM
Doub about `net time set` and daylight saving time Thakowbbery Linux - Software 0 10-17-2005 05:23 AM
New server: set time zone to GMT? k1mgy Red Hat 3 12-19-2004 12:22 AM
How to syncronize my system time by public time server? hakansun Linux - Networking 1 09-10-2004 05:10 AM
Updating System time from some Inet time server Steave Linux - General 6 12-21-2001 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration