On Fri, May 21, 2004 at 02:07:48PM +0700, Benny wrote:
> Guys, tanya donk..
> 
>  
> 
> Ceritanya gini nich, Aye mo bikin salah satu mesin Linux ane jadi time
> server pake ntpd.
> Ya biasalah, install dari tarball nya.pake ./configure; make; make install
> 
> Trus, aye maunya nich server gak usah ngacu ke time server manapun, jadi
> pake waktu lokal dia sendiri.
> Nah, konfigurasinya gimana yach..? (/etc/ntp.conf nya)
oke, contoh di debian stable:
# /etc/ntp.conf, configuration for ntpd

# ntpd will use syslog() if logfile is not defined
#logfile /var/log/ntpd

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

server 202.71.97.92
server 202.56.133.180


restrict 172.20.113.0 mask 255.255.255.0 notrust nomodify notrap
restrict 192.168.0.0 mask 255.255.255.0 notrust nomodify notrap
restrict 127.0.0.1


> Trus, setting clientnya (Windows 2000) gimana..? Apa perlu program kayak ntp
> client gitu..? Apa yach nama programnya..?
di windows ada automachron, gratis.

> Udah coba sich, pake konfigurasi minimalis. Isi ntp.conf nya cuman kayak
> gini
> server 127.0.0.1 
>  
> 
> Trus konek ke server itu pake JSSClock Sync (Soalnya cuman 40 kb).
> Kok gak bisa yach..? Firewall kah..? (perasaan sich udah dibuka port 123
> nya).
> Ato ada masalah lain kah..?
maksudnya client anda akses server linux yang ada ntpdnya diatas? contoh
konfigurasi diatas (192.168.0.0 dan 172.20.113.0 adalah jaringan lokal
yang diperbolehkan mengakses) Sedangkan "server 202.71.97.92" adalah
acuan, namun komputer lokal mengacu kepada server linux disini. port
ntpd menggunakan UDP, sehingga di setting firewall anda, UDP tidak di
blok


> 
> Makasih Banyak.

-- 
Program Diploma Teknik Elektro
Universitas Gadjah Mada
Yogyakarta

http://te.pdft.ugm.ac.id/~jaya

-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php

Kirim email ke