From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3CAD86BC.E5EE696C@altlinux.ru> Date: Fri, 05 Apr 2002 15:13:00 +0400 From: cornet X-Mailer: Mozilla 4.79 [ru] (X11; U; Linux 2.4.18-alt1-up i686) X-Accept-Language: en MIME-Version: 1.0 To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Re: I: new ntp-4.1.1-alt2 available for testing References: <20020402103551.GA12592@ldv.office.alt-linux.org> <20020405095330.GH2032@mhz.mikhail.zabaluev.name> <20020405125522.353c3334.kosha@kp.ru> <3CAD75D3.464DA309@altlinux.ru> <20020405130639.0f9c8b03.kosha@kp.ru> <3CAD7B30.BDCC4693@altlinux.ru> <20020405132841.003f3d90.kosha@kp.ru> <3CAD7EE9.8BE688CE@altlinux.ru> <20020405134616.681fc60c.kosha@kp.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: Korshunov Ilya wrote: > > > > # RESTRICTIONS > > > # ============ > > > # By default, don't trust and don't allow modifications. Ignore in fact. > > > restrict default ignore notrust nomodify > > > > > > # Allow others in our subnet to check us out... > > > #restrict 11.22.33.0 mask 255.255.255.0 nomodify notrust > > ^^^ > > В соответствии с этим шаблоном ||| > > пропишите свою подесть. > > Так блин....о разном говорим... )) > Я не организовываю time server. Мне надо > только получать время с другого timeserver (zenon) А, понятно. > > > # Trust our peers for time. Don't trust others in case they are insane. > > > #restrict 127.127.27.0 nomodify > > > #restrict 11.22.33.4 nomodify > > > #restrict 11.22.33.9 nomodify > > > > > > # Allow anything from the local host. > > > restrict 127.0.0.1 > > > > > > # Allow synchronization source from NTP server > > > > > > # Servers for Moscow region > > > restrict 195.2.64.5 > > > restrict ntp1.zenon.net > > > restrict ntp0.zenon.net Вот эти 2 строки заремарьте до поры, они лишние, если директива server указывает только на один адрес 195.2.64.5 > > А что говорит на сервере > > ntpdate -d localhost > > и > 5 Apr 13:43:43 ntpdate[5099]: no server suitable for synchronization foun Буковку "-d" забыли. С дебагом, плиз. ntpdate -d localhost ^^^^^ > > ntpdc -lpd localhost > > ??? > [kosha@kosha kosha]$ sudo ntpdc -lpd localhost > client ntp0.zenon.net > client ntp1.zenon.net > remote local st poll reach delay offset disp > ======================================================================= > =ntp0.zenon.net 192.168.1.26 1 1024 1 0.01405 3567.5140 7.93750 > =ntp1.zenon.net 5.0.0.0 16 1024 0 0.00000 0.000000 0.00000 Ну тута все прилично. -- Власенко Олег. Отдел технической поддержки ALT Linux Team. mailto:cornet@altlinux.ru