>> 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 ->di windows ada automachron, gratis. Yupe, dah bisa pake automachron...makasih yach.... >> 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 Maksud saya pake konfigurasi itu (server 127.0.0.1) adalah pada mesin yang ngejalanin ntpd dengan konfigurasi tersebut, dia gak perlu mengacu ke server lain, jadi cukup ambil waktu dari local time dia. Untuk restrict juga udah saya set pakai ip lokal ini. Saya juga udah coba pake server 202.71.97.92. Trus, pas jalanin perintah ntpdate, malah keluar error kayak gini [EMAIL PROTECTED] root]# ntpdate -u 202.71.97.92 22 Jul 16:29:18 ntpdate[18186]: no server suitable for synchronization found Kira2 kenapa yach.. Trus, apa sich kelebihan sinkronisasi waktu dengan ntpd dibandingin dengan pake samba aja (net time \\dev2 /set /yes) ..? Makasih... -- 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
