Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
stratum1ntp [2019/08/20 03:12] – andrew | stratum1ntp [2021/10/22 20:35] – andrew | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Stratum 1 NTP Setup on Raspberry Pi ====== | ====== Stratum 1 NTP Setup on Raspberry Pi ====== | ||
+ | == By: Bun-Bun & guppy == | ||
+ | |||
* This guides uses Uputronics Raspberry Pi+ GPS Expansion Board and a rpi3 or newer | * This guides uses Uputronics Raspberry Pi+ GPS Expansion Board and a rpi3 or newer | ||
* Setup rpi with latest Raspbian, enable ssh, etc... | * Setup rpi with latest Raspbian, enable ssh, etc... | ||
Line 115: | Line 117: | ||
* {{ntpsetup.tar|gpsControl files and install.sh}} #for stationary mode (Credit to guppy for creating and Bun-Bun for correcting) | * {{ntpsetup.tar|gpsControl files and install.sh}} #for stationary mode (Credit to guppy for creating and Bun-Bun for correcting) | ||
* Download linked tar | * Download linked tar | ||
+ | * wget -O ntpsetup.tar http:// | ||
* tar -xvf ntpsetup.tar | * tar -xvf ntpsetup.tar | ||
* cd ntpsetup | * cd ntpsetup | ||
Line 120: | Line 123: | ||
* This copies the gpscontrol files and creates/ | * This copies the gpscontrol files and creates/ | ||
* Disable NTP from dhcp | * Disable NTP from dhcp | ||
- | * echo "" | + | * < |
- | | + | echo "" |
- | | + | echo "" |
- | | + | chattr +i / |
+ | chattr +i / | ||
+ | </ | ||
* reboot | * reboot | ||
* gpsmon #also cgps -s | * gpsmon #also cgps -s | ||
Line 130: | Line 135: | ||
* http:// | * http:// | ||
* https:// | * https:// | ||
+ | |||
+ | ====== Optimizations ====== | ||
+ | |||
+ | * https:// | ||
+ | * Add nohz=off to the end of the line in / | ||
+ | * configure system to run cpu full speed | ||
+ | * < | ||
+ | echo ' | ||
+ | systemctl restart cpufrequtils</ | ||
+ | * Remove useless stuff | ||
+ | * < | ||
+ | systemctl stop avahi-daemon | ||
+ | systemctl disable avahi-daemon | ||
+ | apt -y autoremove | ||
+ | apt clean | ||
+ | </ | ||
+ | * Set serial to low latency | ||
+ | * < | ||
+ | @reboot setserial / | ||
+ | </ | ||