como o cliente gpsd reconhece servidor sem usar conexão com a internet?

0

Eu tenho 2 laptops com um endereço IP, por exemplo:

**Receiver:    192.168.21.168**
**Transmitter: 192.168.11.186**

geralmente, no computador Receiver, eu uso o comentário sudo ntpdate -d 192.168.21.168 com conexão de internet para ambos os computadores, eu tenho esta mensagem:

23 Mar 21:49:05 ntpdate[10078]: ntpdate [email protected] Wed Oct  5 12:34:47 UTC 2016 (1)
Looking for host 192.168.1.231 and service ntp
192.168.1.231 reversed to Lab-X230.fios-router.home
host found : Lab-X230.fios-router.home
transmit(192.168.1.231)
receive(192.168.1.231)
transmit(192.168.1.231)
receive(192.168.1.231)
transmit(192.168.1.231)
receive(192.168.1.231)
transmit(192.168.1.231)
receive(192.168.1.231)
server 192.168.1.231, port 123
stratum 3, precision -23, leap 00, trust 000
refid [192.168.1.231], delay 0.02567, dispersion 0.00000
transmitted 4, in filter 4
reference time:    dc7ef94a.6dba5ca9  Thu, Mar 23 2017 21:47:54.428
originate timestamp: dc7ef997.3f55cd9c  Thu, Mar 23 2017 21:49:11.247
transmit timestamp:  dc7ef997.3f4c834d  Thu, Mar 23 2017 21:49:11.247
filter delay:  0.02574  0.02567  0.02574  0.02571 
         0.00000  0.00000  0.00000  0.00000 
filter offset: -0.00000 -0.00000 -0.00002 -0.00000
         0.000000 0.000000 0.000000 0.000000
delay 0.02567, dispersion 0.00000
offset -0.000003

23 Mar 21:49:11 ntpdate[10078]: adjust time server 192.168.1.231 offset -0.000003 sec

de repente, a internet desconectou, tentei usar novamente o mesmo comentário, e ele me mostrou esta mensagem:

 7 Apr 14:16:26 ntpdate[24022]: ntpdate [email protected] Wed Oct  5 12:34:47 UTC 2016 (1)
Looking for host 192.168.21.168 and service ntp
host found : 192.168.21.168
transmit(192.168.21.168)
transmit(192.168.21.168)
transmit(192.168.21.168)
transmit(192.168.21.168)
transmit(192.168.21.168)
192.168.21.168: Server dropped: no data
server 192.168.21.168, port 123
stratum 0, precision 0, leap 00, trust 000
refid [192.168.21.168], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  1:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  1:28:16.000
transmit timestamp:  dc925600.fef4c72c  Fri, Apr  7 2017 14:16:32.995
filter delay:  0.00000  0.00000  0.00000  0.00000 
         0.00000  0.00000  0.00000  0.00000 
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

 7 Apr 14:16:34 ntpdate[24022]: no server suitable for synchronization found

A minha pergunta é: como obter "servidor de horário djust 192.168.1.231 offset -0.000003 sec" messeage sem ter conexão com a internet?

Por favor ajude.

Obrigado.

    
por phuc nguyen 07.04.2017 / 20:19

0 respostas