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:47] – 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 134: | Line 140: | ||
| * https:// | * https:// | ||
| - | * Add nohz=off to the end of the line in /etc/ | + | * Add nohz=off to the end of the line in /boot/ |
| * configure system to run cpu full speed | * configure system to run cpu full speed | ||
| * < | * < | ||
| Line 140: | Line 146: | ||
| systemctl restart cpufrequtils</ | systemctl restart cpufrequtils</ | ||
| * Remove useless stuff | * Remove useless stuff | ||
| - | * < | + | * < |
| - | apt -y purge wpasupplicant | + | systemctl stop avahi-daemon |
| - | apt -y purge alsa-utils | + | systemctl disable avahi-daemon |
| - | systemctl stop raspbian | + | |
| - | systemctl disable | + | |
| apt -y autoremove | apt -y autoremove | ||
| apt clean | apt clean | ||
| + | </ | ||
| + | * Set serial to low latency | ||
| + | * < | ||
| + | @reboot setserial / | ||
| </ | </ | ||