Technical Goulash

Chrony+GPSD (PPS+GPS) on Pi

Chrony+GPSD (PPS+GPS) on Pi

apt-get update; apt-get -y dist-upgrade; apt -y autoremove; apt clean; apt autoclean root@gps1:~# cat /etc/apt/sources.list deb http://approx.my.side/raspbian/ bullseye main contrib non-free rpi apt clean; apt update; apt upgrade; apt dist-upgrade; apt autoremove reboot apt-get install snmpd apt-get install lsof Configure remote logging ln -s /usr/share/zoneinfo/US/Central /etc/localtime Set swap to 1G […]

Building GPS Clock on Pi w/ Debian Stretch

Building GPS Clock on Pi w/ Debian Stretch

Start with Raspbian Stretch Lite Install most current packages: apt-get update apt-get upgrade apt-get dist-upgrade Clean up packages: aptitude search ‘~o’ apt-get autoremove reboot Test GPS Sentences: cat /dev/ttyAMA0 Limit GPS Sentences: #GPZDA /bin/echo -e ‘$PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0*29\r\n’ > /dev/ttyAMA0 #GPRMC /bin/echo -e ‘$PMTK314,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29\r\n’ > /dev/ttyAMA0 Configure Pi: raspi-config configure local >> […]

Pi GPPS Clocks

Pi GPPS Clocks

Use Chris’ PPS kernel (until I have time or am compelled to compile my own). Compile ntp 4.2.6p5 as follows (from aquarat): But first: apt-get install libcap-dev ./configure –enable-ATOM –enable-NMEA –enable-linuxcaps; make; make install Disable TTY on /dev/AMA0 in /boot/cmdline.txt dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Set baud rate in […]