Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this sets the source to local time
- server 127.127.1.0
- fudge 127.127.1.0 stratum 8
- # this makes the ntpd deamon to send out its time on the local net.
- broadcast 192.168.255.255
- ntpq -c lpeer
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- 192.168.255.255 .BCST. 16 B - 64 0 0.000 0.000 0.000
- server 192.168.1.123 iburst
- server 127.127.1.0
- fudge 127.127.1.0 stratum 8
- ntpq -c lpeer
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- 192.168.1.123 .INIT. 16 u 1 64 0 0.000 0.000 0.000
- LOCAL(0) .LOCL. 8 l 6 64 1 0.000 0.000 0.000
- ntpq -c lpeer
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- *192.168.1.123 .INIT. 16 u 1 64 0 0.000 0.000 0.000
- LOCAL(0) .LOCL. 8 l 6 64 1 0.000 0.000 0.000
- ntpq -c lpeer
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- 192.168.1.123 .INIT. 16 u 1 64 0 0.000 0.000 0.000
- *LOCAL(0) .LOCL. 8 l 63 64 377 0.000 0.000 0.000
- #if you want to listen to time broadcasts on you local subnet,
- #de-comment the next lines. Please do this only if you trust
- #everybody on the network!
- #disable auth
- #broadcastclient
- # this is the IP or name of the local networks NTP server. This line
- # should be commented out on the server
- server 192.168.1.111
- # this enables checking the local clock. Do not change that IP values!
- server 127.127.1.0
- fudge 127.127.1.0 stratum 10
- # this lines are required to run the ntpq -p command to verify the
- # function of the system
- restrict 127.0.0.1
- restrict ::1
- sudo /etc/init.d/ntp restart
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- *LOCAL(0) .LOCL. 2 1 6 64 377 0.000 0.000 0.000
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- *192.168.1.111 LOCAL(0) 3 u 31 64 377 0.206 -5.900 0.654
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- *192.168.1.111 LOCAL(0) 3 u 31 64 377 0.206 -5.900 0.654
- LOCAL(0) .LOCL. 8 l 6 64 1 0.000 0.000 0.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement