I am trying to follow this guide: Local stratum-1 NTP server
to build an NTP server but it appears that the guide maybe missing some steps. I can not get it to work. I just got into this as a hobby and do not know much on the topics. If anyone have followed this guide or built with the hardware on the guide can help, I would appreciate it?
Thanks
For example, when I run the following commands from the GPS configuration portion:
/bin/stty -F /dev/gps0 raw 9600 cs8 clocal -cstopb > /dev/null 2>&1
cat /dev/gps0
I get the below output instead of the expected output:
▒JVRZjz▒▒▒ΦG▒9)R^ZҾb▒▒▒c▒Cb"▒▒b▒J
z▒sBRb▒̌
▒▒scBb▒▒ǧL▒▒R▒b▒Kj▒▒@▒▒▒JVR^▒z▒▒▒▒▒G▒9)R^ZҾb▒▒▒c▒Cb#▒▒b▒J
z▒sBRb▒̌
▒▒scBb▒▒ǧL▒▒R▒b▒Kj▒▒@▒▒▒JRRRj▒IfL▒▒▒▒g▒9)R^ZҾb▒▒▒c▒Cb#▒▒b▒Jz▒sBRr▒̌
▒▒scBb▒▒ǧL▒_R▒b▒Kj▒▒@▒▒▒JRRVjz▒▒▒▒▒▒g▒9)R^ZҾb▒▒▒c▒Cb"▒▒b▒Jz▒sBRr▒̌
▒▒scBb▒▒ǧL▒_R▒b▒Kj▒▒@▒▒▒JRRZjz▒▒▒▒▒▒G▒9)R^ZҾb▒▒▒c▒Cb"▒▒b▒Jz▒sBRb▒̌
▒▒scBb▒▒ǧL▒_R▒b▒Kj▒▒@▒▒▒JRRVj▒YfL▒Φ▒g▒9)R^ZҾb▒▒▒c▒cb#▒▒r▒Jz▒sBRb▒̌
▒▒scBb▒▒ǧL▒_R▒b▒Kj▒▒@▒▒▒JRRR▒z▒▒▒Φ▒g▒9)R^ZҾb▒▒▒c▒cb"▒▒r▒J
z▒sBRb▒̌
▒▒scBb▒▒ǧL▒_R▒b▒Kj▒▒@▒▒▒JRRRjz▒▒▒▒▒▒G▒9)R^Z¾b▒S▒▒c▒cb"▒▒r▒J
z▒sBRr▒̌
▒▒scBb▒▒ǧL▒_R▒b▒Kj▒▒@▒▒^C
In addition, following the rest of the guide yield additional errors.
I am in the process of going through it again. I will come back and provide more info…
You’ve got a data encoding error somewhere. It’s outputting binary data to the console.