Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
stratum1ntp [2019/08/20 05:23] – andrew | stratum1ntp [2021/11/28 02:51] (current) – 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 9: | Line 11: | ||
* Add the following to the bottom | * Add the following to the bottom | ||
* < | * < | ||
+ | dtoverlay=pi3-disable-wifi | ||
dtoverlay=pi3-disable-bt #same with rpi4 | dtoverlay=pi3-disable-bt #same with rpi4 | ||
# | # | ||
Line 115: | Line 118: | ||
* {{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 124: | ||
* 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 133: | Line 139: | ||
====== Optimizations ====== | ====== Optimizations ====== | ||
- | * Add nohz=off to the end of the line in /etc/ | + | |
+ | | ||
* configure system to run cpu full speed | * configure system to run cpu full speed | ||
* < | * < | ||
Line 139: | Line 146: | ||
systemctl restart cpufrequtils</ | systemctl restart cpufrequtils</ | ||
* Remove useless stuff | * Remove useless stuff | ||
- | * < | + | * < |
- | apt purge wpasupplicant | + | systemctl stop avahi-daemon |
- | apt-get remove | + | systemctl disable avahi-daemon |
- | systemctl stop raspbian | + | apt -y autoremove |
- | systemctl disable | + | |
- | apt autoremove | + | |
apt clean | apt clean | ||
+ | </ | ||
+ | * Set serial to low latency | ||
+ | * < | ||
+ | @reboot setserial / | ||
</ | </ | ||