ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Черницын Алексей" <lex@ies.udm.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] инет+ntpd - синхронизация времени клиентов без бродкаста - как?
Date: Thu, 31 Aug 2006 15:08:39 +0500
Message-ID: <20060831150839.48c4120a.lex@ies.udm.ru> (raw)
In-Reply-To: <200608311622.45324.glebus@asd.iao.ru>

On Thu, 31 Aug 2006 16:22:44 +0700
Gleb Kulikov <glebus@asd.iao.ru> wrote:

> В сообщении от Четверг 31 Август 2006 11:48 Черницын Алексей написал:
> > прошу прошения, а для чего вот эти:
> > > restrict 127.127.1.0
> > > restrict 127.127.27.0 nomodify
> >
> > две строчки?
> 
> без них, сервер никогда не будет раздавать время с внутренних часов машины.
> 
> -- 
>       Салют, /GLeb

Я не очень силен в английском языке и поэтому углубиться в настройки ntp не могу (русских текстов, описывающих серьездно ntpd, не находил), но вот с таким ntp.conf работает:

driftfile /var/lib/ntp/ntp.drift

server 127.127.1.0
server 192.168.1.40 prefer

restrict default kod notrap nomodify nopeer noquery

restrict 127.0.0.1
restrict 192.168.1.40 nomodify notrap

restrict 192.168.0.0  mask  255.255.0.0 nomodify noquery nopeer notrap

disable auth

Wind'овые станции работают, даже если гасим server 192.168.1.40.

-----
Алексей


  reply	other threads:[~2006-08-31 10:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 23:04 Olvin
2006-08-30  5:49 ` Alexey I. Froloff
2006-08-30  7:36   ` Nikolay A. Fetisov
2006-08-30 13:59     ` Olvin
2006-08-31  2:41 ` Gleb Kulikov
2006-08-31  4:48   ` Черницын Алексей
2006-08-31  9:22     ` Gleb Kulikov
2006-08-31 10:08       ` Черницын Алексей [this message]
2006-08-31 10:27   ` Dmitry V. Levin
2006-09-03  2:11     ` Alexey Borovskoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060831150839.48c4120a.lex@ies.udm.ru \
    --to=lex@ies.udm.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git