diff --git a/README.md b/README.md index fa73940..3fbd823 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ **WILL REBOOT IN BETWEEN EACH COMMAND** 1. `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/time_fuckery.sh?nocache=$RANDOM | $SHELL` 2. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/time_fuckery.sh` - 1. each reboot run the above command a total of four times + 1. each reboot run the above command a total of four (4) times 3. [https://grandfatherclock:3000](https://grandfatherclock:3000/login) 1. default login: `admin` and `admin` 1. set new password @@ -94,6 +94,7 @@ 6. save and test 3. Dashboards->New-Import 1. Upload [Garfana-Visualization.json](./Garfana-Visualization.json) + 2. #### Software (Manual) Clone the repo `git clone https://github.com/PrincessPi3/Precision-Timekeeping-Fuckery.git ~/Precision-Timekeping-Fuckery` @@ -102,24 +103,11 @@ Run raspi-config 1. Interface Options->Serial Port 1. Would you like a login shell to be accessible over serial? **** 2. Would you like the serial port hardware to be enabled? **** -2. Advanced Options +2. Interface Options-I2C + 1. Enable **Yes** +3. Advanced Options 1. A1 Expand Filesystem -update os and packages (will reboot when finished) -`bash ~/Precision-Timekeeping-Fuckery/update.sh` - -install packages (will reboot when finished) -`bash ~/Precision-Timekeeping-Fuckery/packages.sh` - -finish install (will reboot when finished) -`bash ~/Precision-Timekeeping-Fuckery/installer.sh` - -check status of everything and test -`bash ~/Precision-Timekeeping-Fuckery/test.sh` - -navigate to `http://:3000` -Upload ~/Garfana-Visualization.json to create dashboard - ### Clients **Windows** 1. Open the Control Panel and navigate to the Date and Time settings. @@ -131,69 +119,15 @@ Upload ~/Garfana-Visualization.json to create dashboard ## Links **Helpful Guide** https://austinsnerdythings.com/2025/02/14/revisiting-microsecond-accurate-ntp-for-raspberry-pi-with-gps-pps-in-2025/ -**Current Module** +**Old Module** * Chipset https://www.u-blox.com/en/product/neo-f10n-module * Breakout https://docs.sparkfun.com/SparkFun_u-blox_NEO-F10N/single_page/ -**Next Module** +**Current Module** * Chipset https://www.u-blox.com/en/product/neolea-m8t-series * Breakout https://www.ebay.com/itm/134243322249 **U-Blox Software (U-Center)** https://www.u-blox.com/en/product/u-center - - -**todo** -* case -* gps sma antenna adaptor -* change gps settings - * use 5v - * adjust time delay to be closer to - * higher baudrate - 1. 460800 -* README - * installer1-4.sh - * sudo apt update && sudo apt install -y git - * git clone https://github.com/PrincessPi3/Precision-Timekeeping-Fuckery.git ~/Precision-Timekeeping-Fuckery - * cd ~/Precision-Timekeeping-Fuckery - * grafana - * url - * default login - * import - * data source - * fix - * current - * connections->data sources->add data source->influxdb - * url http://127.0.0.1:8086 - * timeout 5 - * database Chrony_Stats - * save and test - * new dashboard - * import a dashbboard->Garfana-Visualization.json - * edit and update each pannel - * save dashboard -* Raspberry OS Lite -* Document scripts - * chrony_statistics.sh - * services.sh - * test.sh - * cleanup.sh - * dump_configs.sh - * nuke_logs.sh - * reconfig_full.sh -* link to docs of all the services and tools - * influxdb - * chrony - * gpsd - * telegraf - * garfana - * syslog-ng - * u-blox software - * modules - * chipsets - * datasheet - * specific boards - * datasheet -* installer with reboot cron for sequence? notes: diff --git a/notes-scratch.txt b/notes-scratch.txt index 4567834..e69de29 100644 --- a/notes-scratch.txt +++ b/notes-scratch.txt @@ -1,13 +0,0 @@ -manual - visudo - root crontab - sudo nano /lib/udev/hwclock-set - comment out and add note - # commented out manually to use rtc - # if [ -e /run/systemd/system ] ; then - # exit 0 - # fi - Also comment out the two lines - # /sbin/hwclock --rtc=$dev --systz --badyear - and - # /sbin/hwclock --rtc=$dev --systz \ No newline at end of file diff --git a/notes-scratch-old.txt b/old/notes-scratch-old.txt similarity index 100% rename from notes-scratch-old.txt rename to old/notes-scratch-old.txt diff --git a/todo.md b/todo.md new file mode 100644 index 0000000..430e75c --- /dev/null +++ b/todo.md @@ -0,0 +1,40 @@ +**todo** +* case +* Raspberry OS Lite +* Document scripts + * time_fuckery.sh [test] + * show_running_configs.sh + * services.sh [start|stop|restart|enable|disable] + * uninstall.sh +* link to docs of all the services and tools + * influxdb + * chrony + * gpsd + * telegraf + * garfana + * syslog-ng + * u-blox software + * modules + * chipsets + * datasheet + * specific boards + * datasheet +* installer with reboot cron for sequence? +* figure out multiple network time servers that support iburst NTS + * fiugre out what this means + * server nts.anastrophe.com iburst nts maxsamples 1 + https://gist.github.com/jauderho/2ad0d441760fc5ed69d8d4e2d6b35f8d +* fiugre out/test pps1 and pps0 +* find the proper datasheet not just the F9T one +* documentation +* case +* positioning + * traffic + * power + * temperature +* backups + * restic backups + * backup image +* check wiring +* check antenna tight both ends +* make image backup \ No newline at end of file diff --git a/todo.txt b/todo.txt deleted file mode 100644 index 6b9b22a..0000000 --- a/todo.txt +++ /dev/null @@ -1,52 +0,0 @@ -check max output mA on 5v to see if suitable to power antenna - needed or no? -figure out multiple network time servers that support iburst NTS - fiugre out what this means - server nts.anastrophe.com iburst nts maxsamples 1 - https://gist.github.com/jauderho/2ad0d441760fc5ed69d8d4e2d6b35f8d -fiugre out/test pps1 and pps0 -figure out configing the ffuckin thing in uthing - increase the baud rate - boot-firmware-config.txt /boot/firmware/config.txt - gpsd /etc/default/gpsd -/boot/firmware/config.txt - baudrate 9600 - pps pin 23 -stop each service - bash ~/Precision-Timekeeping-Fuckery/services.sh stop -start one by one to see any errors - try first - bash ~/Precision-Timekeeping-Fuckery/services.sh start - otherwise - sudo systemctl start gpsd - sudo systemctl start chrony - sudo systemctl start influxdb - sudo systemctl start telegraf - sudo systemctl start grafana-server - sudo systemctl start syslog-ng -find the proper datasheet not just the F9T one -documentation -case -positioning - traffic - power - temperature -automate multi stage installer -backups - restic backups - backup image - -check wiring -check antenna tight both ends -let run unimpeeded -automate - visudo - root crontab -root crontab - # set the system time from the RTC every reboot - @reboot hwclock -s - - # set the RTC from the system time every four hours - 0 */4 * * * hwclock -w -automate installer sequence -make image backup \ No newline at end of file diff --git a/version.txt b/version.txt index d67bbfe..87211e2 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.2-dev \ No newline at end of file +1.3-dev \ No newline at end of file