944,047 Members | Top Members by Rank

Ad:
Feb 8th, 2007
0

How To Configure Ntp (time Server) On Red Hat

Expand Post »
Dear ALL,

This forum helps me much..and I thank you to everyone who makes this forum useful, even enjoyable.
i'd like to ask to all of you, HOW TO CONFIGURE NTP (TIME SERVER) on Red Hat Linux.?

I've been trying to setting the NTP across my network, but I never make it done.

PS: My computers not connect to Internet, so please let me know how to configure the NTP only on my Local Area Network.

Thnanks a lot for your next reply.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bintang is offline Offline
20 posts
since Dec 2006
Mar 6th, 2007
0

Re: How To Configure Ntp (time Server) On Red Hat

Configuring NTP locally is pointless because it will not be able to update from the main pool of time servers which are on the internet.

Really, this is like having a DNS server without the internet as well...which is pretty pointless as well.

But if you still think this is a good idea (which, if it cannot update itself via the internet at the beginning...the ntp server will only show the time that you set it to be)

yum -y install ntp

Open up /etc/ntp.conf and configure it to your liking.
TKS
Reputation Points: 108
Solved Threads: 18
Posting Pro in Training
TKS is offline Offline
470 posts
since Jan 2004
Jul 17th, 2009
0

Re: How To Configure Ntp (time Server) On Red Hat

Hi,

Can you tell me what should be written in /etc/ntp.conf file for server and client.

Assume my server IP is 192.16.81.10 and client IP is 192.16.81.9.
I do not want any authentication.

I need to synchronize this setup on an urgent basis, so any help is really appreciated.



Click to Expand / Collapse  Quote originally posted by TKS ...
Configuring NTP locally is pointless because it will not be able to update from the main pool of time servers which are on the internet.

Really, this is like having a DNS server without the internet as well...which is pretty pointless as well.

But if you still think this is a good idea (which, if it cannot update itself via the internet at the beginning...the ntp server will only show the time that you set it to be)

yum -y install ntp

Open up /etc/ntp.conf and configure it to your liking.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xs2rmittal is offline Offline
1 posts
since Jul 2009
Nov 18th, 2009
0

best for u

Click to Expand / Collapse  Quote originally posted by xs2rmittal ...
Hi,

Can you tell me what should be written in /etc/ntp.conf file for server and client.

Assume my server IP is 192.16.81.10 and client IP is 192.16.81.9.
I do not want any authentication.

I need to synchronize this setup on an urgent basis, so any help is really appreciated.
on server
# yum install ntp
# chkconfig ntpd on
# vi /etc/ntp.conf
add a line
restrict default ignore
restrict 202.54.1.5 mask 255.255.255.245
server 202.54.1.5
(Replace 202.54.1.5 and mask with actual remote ISP or ntp.org NTP server IP. Save and close the file.)
then client configuration
#vi /etc/ntp.conf
add a line like
server <NTP server IP>
restrict <server IP>mask <subnet mask>
#iptables -F
#ntpdate -b <server IP>
now all is done
Reputation Points: 10
Solved Threads: 0
Newbie Poster
amaloo047 is offline Offline
1 posts
since Nov 2009
Mar 26th, 2010
0
Re: How To Configure Ntp (time Server) On Red Hat
I know this is an old thread but I got to say, way to be a jerk TKS. Do you REALLY think having a DNS server without the internet is pointless? Really?
What do you do if you have a bunch of machines that are not allowed on the internet, memorize all their IPs?
dude...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jjMan72 is offline Offline
1 posts
since Mar 2010
Jul 27th, 2010
0
Re: How To Configure Ntp (time Server) On Red Hat
Hi everybody,

Look, I want sincronize my Red Hat System (clock) with another system (windows XP).

amaloo047, I must do everything write for you.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
adrianvh1978 is offline Offline
1 posts
since Jul 2010
Sep 20th, 2010
0
Re: How To Configure Ntp (time Server) On Red Hat
Here is a list of guides for NTPd installation:
www.sysadmin.md/ntpd.html
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sadotmd is offline Offline
5 posts
since Sep 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Kernel and Hardware Setup Forum Timeline: Releasing beta code for selected customers (ZFS to Linux)
Next Thread in Linux Kernel and Hardware Setup Forum Timeline: mounting usb





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC