sebbo
aka noganex
Hola!
Ich wollte einen Timeserver in meinem kleinen Netzwerk anbringen, damit nicht alle Rechner ntp.fu-berlin.de belasten.
In /etc/rc.conf habe ich folgendes eingetragen:
Meine /etc/ntp.conf sieht so aus:
Der Server hat die IP 192.168.0.1 (avalon) und die Clienten sind im selben Subnet.
Wenn ich nun "ntpdate -u avalon" ausfuehre, beschwert sich nptdate aus einem mir unverstaendlichen Grund:
Im Debugmode sieht das ganze so aus:
ntpdc -c kerninfo avalon und ntpdc -c reslist avalon sagen folgendes:
Also ich weiss echt nicht mehr weiter. Hat jemand von euch ein aehnliches Problem oder seh ich vielleicht nur vor lauter Wald die Baeume nicht mehr?
mfg
sebbo
Ich wollte einen Timeserver in meinem kleinen Netzwerk anbringen, damit nicht alle Rechner ntp.fu-berlin.de belasten.
In /etc/rc.conf habe ich folgendes eingetragen:
ntpd=YES
ntpd_flags="-g -A"
Meine /etc/ntp.conf sieht so aus:
# Process ID file, so that the daemon can be signalled from scripts
pidfile /var/run/ntpd.pid
# The correction calculated by ntpd(8) for the local system clock's
# drift is stored here
driftfile /var/db/ntp.drift
# suppress the syslog(3) message for each peer synchronization change
logconfig -syncstatus
server ntp.fu-berlin.de
restrict default ignore
restrict 192.168.0.0 mask 255.255.255.0 notrust nomodify notrap
Der Server hat die IP 192.168.0.1 (avalon) und die Clienten sind im selben Subnet.
Wenn ich nun "ntpdate -u avalon" ausfuehre, beschwert sich nptdate aus einem mir unverstaendlichen Grund:
20:43 ~ # ntpdate avalon
Looking for host avalon and service ntp
host found : avalon.euphoria.lan
11 Mar 20:43:58 ntpdate[8815]: no server suitable for synchronization found
Im Debugmode sieht das ganze so aus:
20:43 ~ # ntpdate -d avalon
11 Mar 20:45:15 ntpdate[8831]: ntpdate 4.2.0@1.1161-r Wed Jan 12 18:48:31 CET 2005 (1)
Looking for host avalon and service ntp
host found : avalon.euphoria.lan
transmit(192.168.0.1)
receive(192.168.0.1)
transmit(192.168.0.1)
receive(192.168.0.1)
transmit(192.168.0.1)
receive(192.168.0.1)
transmit(192.168.0.1)
receive(192.168.0.1)
transmit(192.168.0.1)
192.168.0.1: Server dropped: strata too high
server 192.168.0.1, port 123
stratum 16, precision -18, leap 11, trust 000
refid [192.168.0.1], delay 0.02576, dispersion 0.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 7:28:16.000
originate timestamp: c5dc73cb.17e8ff32 Fri, Mar 11 2005 20:45:15.093
transmit timestamp: c5dc73cc.09f31f46 Fri, Mar 11 2005 20:45:16.038
filter delay: 0.02592 0.02577 0.02576 0.02576
0.00000 0.00000 0.00000 0.00000
filter offset: -0.94553 -0.94557 -0.94557 -0.94557
0.000000 0.000000 0.000000 0.000000
delay 0.02576, dispersion 0.00000
offset -0.945575
11 Mar 20:45:16 ntpdate[8831]: no server suitable for synchronization found
ntpdc -c kerninfo avalon und ntpdc -c reslist avalon sagen folgendes:
pll offset: 0 s
pll frequency: 0.000 ppm
maximum error: 0.747024 s
estimated error: 1.6e-05 s
status: 0041 pll unsync
pll time constant: 0
precision: 1e-06 s
frequency tolerance: 512 ppm
address mask count flags
=====================================================================
0.0.0.0 0.0.0.0 27 ignore
localhost 255.255.255.255 0 ntpport, interface, ignore
192.168.0.0 255.255.255.0 95 notrust, nomodify, notrap
avalon.euphoria 255.255.255.255 0 ntpport, interface, ignore
avalon.euphoria 255.255.255.255 0 ntpport, interface, ignore
Also ich weiss echt nicht mehr weiter. Hat jemand von euch ein aehnliches Problem oder seh ich vielleicht nur vor lauter Wald die Baeume nicht mehr?
mfg
sebbo