【问题标题】:Shell script to sync ubuntu time with gps device用于将 ubuntu 时间与 gps 设备同步的 Shell 脚本
【发布时间】:2012-05-18 08:38:49
【问题描述】:

我有一个运行 gpsd 并且能够从天空收集信号的 ubuntu 盒子。

现在我想从这个 gpsd 同步我的 ubuntu 时间。有没有简单的shell脚本可以做到这一点?所以我可以做一个 crontab 工作?

【问题讨论】:

    标签: ubuntu gps ntp


    【解决方案1】:

    您可以将 gpsd 设置为一种 NTP-TimeServer。 看看这个教程:http://www.bufferbloat.net/projects/cerowrt/wiki/Getting_time_from_gpsd

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-29
      • 2015-06-29
      • 1970-01-01
      • 1970-01-01
      • 2022-01-14
      • 1970-01-01
      相关资源
      最近更新 更多