ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] openntpd as client
@ 2011-06-09 11:56 Sergei Epiphanov
  2011-06-09 12:17 ` Dmitriy Kruglikov
  0 siblings, 1 reply; 5+ messages in thread
From: Sergei Epiphanov @ 2011-06-09 11:56 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Я прочитал в мане, что 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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-10  2:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-09 11:56 [sisyphus] openntpd as client Sergei Epiphanov
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

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