Перейти к содержанию

Навигация

Получение точного времени через GPS/Glonass/en: различия между версиями

Новая страница: «stratum=0, refid=GPSP, flags=1 Then configure NTP as we need to and so on.»
(Новая страница: «Reboot and see what our aliases are»)
(Новая страница: «stratum=0, refid=GPSP, flags=1 Then configure NTP as we need to and so on.»)
 
(не показаны 3 промежуточные версии этого же участника)
Строка 49: Строка 49:


root@wirenboard:~# ls /dev/gps*   
root@wirenboard:~# ls /dev/gps*   


/dev/gps0  /dev/gpspps0
/dev/gps0  /dev/gpspps0


Далее ждем минут 10 и ntpq -nc peer -c as -c rl
Next, wait for 10 minutes and ntpq -nc peer -c as -c rl
Буква о у 127.127.20.0 – значит что последняя синхронизации с ппс (http://citrin.ru/net:ntpq)
The letter o at 127.127.20.0 means that the last sync with PPP (http://citrin.ru/net:ntpq)


root@wirenboard:~#  ntpq -nc peer -c as -c rl
root@wirenboard:~#  ntpq -nc peer -c as -c rl
Строка 102: Строка 103:
clk_jitter=0.008, clk_wander=0.000
clk_jitter=0.008, clk_wander=0.000


Это чтобы посмотреть ошибки и что выдает гпс
This is to view mistakes and that gives GPS


root@wirenboard:~# ntpq -c clockvar
root@wirenboard:~# ntpq -c clockvar
Строка 117: Строка 118:
Дальше настраиваем нтп как нам надо – кому что можно откуда и так далее.
Then configure NTP as we need to and so on.
12 063

правки