Newer
Older
gnexus-book / 10-systems / hosts / gprint.md

title: gprint type: host ip: 192.168.1.131 purpose: NFS network share + S10e Android node host (former 3D-printer brain) owner: gmikcon status: active confidence: 100 last_reviewed: 2026-09-29 review_interval: 90d

source_of_truth: ssh-host

gprint (192.168.1.131)

Overview

Small physically separate x86_64 server in the home LAN. Formerly the brain of a 3D printer (Klipper/Moonraker stack) — cleaned up 2026-09-29. Now serves an NFS network share and hosts the S10e Android Navi node (see 10-systems/hardware/s10e-navi-node.md).

Technical details

  • OS: Ubuntu 24.04.1 LTS, x86_64, 4 cores, 1.9 GiB RAM
  • Disk: 13G total, ~6.8G used (57%) after cleanup (was 90%)
  • User: gprint; SSH and sudo credentials — see gnexus-creds
  • Uptime: long-lived (46d as of 2026-09-29); kernel update pending reboot — safe to reboot, all services in autostart

Services

  • NFS share (ports 111, 2049) — primary role, untouched by cleanup
  • nginx (port 80) — fluidd site removed; default config
  • iperf3 (port 5201)
  • ssh (port 22)
  • adb/fastboot/scrcpy + udev rules (51-android-nexus.rules, vendor 18d1/04e8) — for the S10e node

S10e node stack (~/pixel3a-work/)

  • s10e.sh — control script: screen/tap/swipe/text/key/shell/launch/pkgs/info/lock/unlock/reboot/status/scrcpy
  • check.sh — adb connection status
  • 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 (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
  • Dead nginx fluidd site removed (nginx -t OK, reloaded); NFS share preserved

Gotchas

  • 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 <serial>
  • sudo over non-interactive ssh: echo <password> | sudo -S <cmd> (no TTY)