diff --git a/10-systems/hosts/gprint.md b/10-systems/hosts/gprint.md index 4005434..fd258df 100644 --- a/10-systems/hosts/gprint.md +++ b/10-systems/hosts/gprint.md @@ -38,10 +38,15 @@ - `keepalive.sh` + systemd `pixel3a-keepalive.service` (active) — reconnects adb-over-WiFi, re-enables tcpip via USB after phone reboot - `pixel3a-watch.service` (active) — USB presence watcher (watch.log) - `pixel3a-setup.service` — disabled, one-shot setup completed 8/8 +- `notif-watcher.sh` + systemd `notif-watcher.service` (active, enabled) — polls phone notifications every 10s, new ones appended to `notif.log` (ts|pkg|title|text), dedup in `notif.state` - `.pin` — phone PIN (chmod 600) -- `README.md` — full node documentation +- `README.md` — full node documentation (80 lines, includes Termux + notifications sections) - TWRP beyond0lte 3.7.0_9-2 at `/home/gprint/twrp-beyond0lte.img` (sha256 verified) +## Termux access (on the S10e) +- SSH from gprint to the phone: `ssh -i ~/.ssh/s10e_key -p 8022 navi@192.168.1.22` (key `~/.ssh/s10e_key`, ed25519 gprint-navi) +- Details and gotchas — see `10-systems/hardware/s10e-navi-node.md` + ## Cleanup history (2026-09-29) - Removed arm-none-eabi cross-compiler (2.4G), trimmed journald to 100M limit - Klipper/Moonraker remains backed up to `/root/klipper-backup-*.tar.gz`, then removed @@ -51,3 +56,4 @@ - USB port 1-2 is glitchy (EMI-disable, connect/disconnect cycle) — keep the phone in port 1-3 - scrcpy 1.25: no `--no-audio`/`--time-limit` flags (those are 2.x); headless via `xvfb-run -a scrcpy -s 192.168.1.22:5555 --max-size 800` - With both USB and Wi-Fi adb connected, always use `adb -s ` +- sudo over non-interactive ssh: `echo | sudo -S ` (no TTY) diff --git a/90-maintenance/pending-changes/20260929165549-c525407d.json b/90-maintenance/pending-changes/20260929165549-c525407d.json new file mode 100644 index 0000000..efef312 --- /dev/null +++ b/90-maintenance/pending-changes/20260929165549-c525407d.json @@ -0,0 +1,19 @@ +{ + "id": "20260929165549-c525407d", + "kind": "doc", + "target": "10-systems/hosts/gprint.md", + "summary": "gprint doc: add notif-watcher service, Termux SSH access section, README size, sudo -S gotcha", + "reason": "notif-watcher.service added to gprint (notifications pipeline for the S10e node), Termux SSH access from gprint documented, README grew to 80 lines, sudo -S pattern noted. Source: live ssh session 2026-09-29.", + "payload": { + "content": "---\ntitle: gprint\ntype: host\nip: 192.168.1.131\npurpose: NFS network share + S10e Android node host (former 3D-printer brain)\nowner: gmikcon\nstatus: active\nconfidence: 100\nlast_reviewed: 2026-09-29\nreview_interval: 90d\nsource_of_truth: ssh-host\n---\n\n# gprint (192.168.1.131)\n\n## Overview\nSmall physically separate x86_64 server in the home LAN. Formerly the brain\nof a 3D printer (Klipper/Moonraker stack) — cleaned up 2026-09-29. Now serves\nan NFS network share and hosts the S10e Android Navi node\n(see `10-systems/hardware/s10e-navi-node.md`).\n\n## Technical details\n- **OS:** Ubuntu 24.04.1 LTS, x86_64, 4 cores, 1.9 GiB RAM\n- **Disk:** 13G total, ~6.8G used (57%) after cleanup (was 90%)\n- **User:** gprint; SSH and sudo credentials — see gnexus-creds\n- **Uptime:** long-lived (46d as of 2026-09-29); kernel update pending reboot — safe to reboot, all services in autostart\n\n## Services\n- **NFS share** (ports 111, 2049) — primary role, untouched by cleanup\n- **nginx** (port 80) — fluidd site removed; default config\n- **iperf3** (port 5201)\n- **ssh** (port 22)\n- **adb/fastboot/scrcpy** + udev rules (51-android-nexus.rules, vendor 18d1/04e8) — for the S10e node\n\n## S10e node stack (~/pixel3a-work/)\n- `s10e.sh` — control script: screen/tap/swipe/text/key/shell/launch/pkgs/info/lock/unlock/reboot/status/scrcpy\n- `check.sh` — adb connection status\n- `keepalive.sh` + systemd `pixel3a-keepalive.service` (active) — reconnects adb-over-WiFi, re-enables tcpip via USB after phone reboot\n- `pixel3a-watch.service` (active) — USB presence watcher (watch.log)\n- `pixel3a-setup.service` — disabled, one-shot setup completed 8/8\n- `notif-watcher.sh` + systemd `notif-watcher.service` (active, enabled) — polls phone notifications every 10s, new ones appended to `notif.log` (ts|pkg|title|text), dedup in `notif.state`\n- `.pin` — phone PIN (chmod 600)\n- `README.md` — full node documentation (80 lines, includes Termux + notifications sections)\n- TWRP beyond0lte 3.7.0_9-2 at `/home/gprint/twrp-beyond0lte.img` (sha256 verified)\n\n## Termux access (on the S10e)\n- SSH from gprint to the phone: `ssh -i ~/.ssh/s10e_key -p 8022 navi@192.168.1.22` (key `~/.ssh/s10e_key`, ed25519 gprint-navi)\n- Details and gotchas — see `10-systems/hardware/s10e-navi-node.md`\n\n## Cleanup history (2026-09-29)\n- Removed arm-none-eabi cross-compiler (2.4G), trimmed journald to 100M limit\n- Klipper/Moonraker remains backed up to `/root/klipper-backup-*.tar.gz`, then removed\n- Dead nginx fluidd site removed (nginx -t OK, reloaded); NFS share preserved\n\n## Gotchas\n- USB port 1-2 is glitchy (EMI-disable, connect/disconnect cycle) — keep the phone in port 1-3\n- scrcpy 1.25: no `--no-audio`/`--time-limit` flags (those are 2.x); headless via `xvfb-run -a scrcpy -s 192.168.1.22:5555 --max-size 800`\n- With both USB and Wi-Fi adb connected, always use `adb -s `\n- sudo over non-interactive ssh: `echo | sudo -S ` (no TTY)" + }, + "status": "applied", + "created_at": "2026-09-29T16:55:49Z", + "updated_at": "2026-09-29T16:55:50Z", + "applied_at": "2026-09-29T16:55:50Z", + "validation": { + "status": "ok", + "issue_count": 0, + "issues": [] + } +}