LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 05-24-2010, 08:37 AM   #1
ShadyCraig
LQ Newbie
 
Registered: Jan 2001
Location: UK - Midlands
Distribution: Redhat various
Posts: 29

Rep: Reputation: 15
Arrow NTP config - how to prevent clients using my server?


Hello all,

I'm presently writing software to keep my system time from drifting, it uses an external clock device.

To verify it's accuracy I'm running ntpd as a server, and have another server monior the first as a client. This allows me to compare the offset with other 'valid' time servers.

The problem is that the monitoring client keeps synchronising with my development server. How can I configure either the dev. server or the client so that it's time won't be selected as a good time source?

The ntp.conf on the dev. server looks like:
Code:
server  127.127.1.0     # local clock
fudge   127.127.1.0     stratum 10

disable auth

driftfile /tmp/drift
broadcastdelay  0.008
Thanks,
Craig
 
Old 05-24-2010, 08:55 AM   #2
ShadyCraig
LQ Newbie
 
Registered: Jan 2001
Location: UK - Midlands
Distribution: Redhat various
Posts: 29

Original Poster
Rep: Reputation: 15
Thumbs up

Doh,

After looking in the docs for the nth time I've found it, right after posting.

Add noselect to the server command on the client:

Code:
server 192.168.4.238 noselect
 
  


Reply

Tags
local, monitor, ntp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 config the Time Sync automatic with Daylight Saving and NTP shatztal Solaris / OpenSolaris 4 10-14-2009 03:51 PM
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 08:35 PM
Why can't clients get the time from my NTP box? kf4otn Linux - Software 4 05-27-2006 04:34 PM
Changing Grub config at boot to prevent Kernel panic neelay1 Linux - Newbie 3 04-12-2006 04:50 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 03:22 PM


All times are GMT -5. The time now is 08:23 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration