ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] openntpd as client
Date: Thu, 9 Jun 2011 15:56:22 +0400
Message-ID: <201106091556.22256.serpiph@nikiet.ru> (raw)

Я прочитал в мане, что openntpd может выступать как слиент для настройки часов 
на локальном компьютере ("The  ntpd daemon synchronizes the local clock to one 
or more remote NTP servers, and can also act as an NTP server itself, 
redistributing  the local  time."). Сделал следующее: на сервере 192.168.1.1 в 
настройках /etc/ntpd.conf написал:

listen on 192.168.1.1

И запустил при помощи service ntpd start.

На компьютере 192.168.1.2 в /etc/ntpd.conf написал:

server 192.168.1.1

И тоже запустил. Перед запуском машин разбежка времени 5 минут. Спустя 7 часов 
ничего ровным счётом не изменилось, в логах тоже нет информации о 
синхронизации времени. Не работает синхронизация или я что-то не то кручу? На 
обеих системах свежий Сизиф.

[192.168.1.1]#netstat -a -A inet -np | grep ntpd
udp        0      0 192.168.1.1:123             0.0.0.0:*                               
31065/ntpd: ntp eng 

[192.168.1.2]#netstat -a -A inet -np | grep ntpd
udp        0      0 192.168.1.2:50407           192.168.1.1:123           
ESTABLISHED 11156/ntpd: ntp eng

-- 
С уважением, Епифанов Сергей

             reply	other threads:[~2011-06-09 11:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 11:56 Sergei Epiphanov [this message]
2011-06-09 12:17 ` Dmitriy Kruglikov
2011-06-09 12:24   ` Sergei Epiphanov
2011-06-09 12:38     ` Dmitriy Kruglikov
2011-06-10  2:38     ` Vyatcheslav Perevalov

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=201106091556.22256.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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