Skip to content

czconsole v0.2.0

Choose a tag to compare

@n0xa n0xa released this 08 Jun 16:52

The HDMI Desktop module plus live status across the dashboard. On the 512 MB
CM0, the HDMI desktop (lightdm — Xorg + pipewire + wireplumber) is the single
biggest RAM/CPU consumer; this release makes dropping it a one-tap toggle for a
long capture run, and surfaces module state at a glance.

New

  • HDMI Desktop module. Start/stop and enable/disable lightdm from your
    phone to free RAM and CPU (e.g. for a long wardrive run) — the LCD (APPLaunch),
    this console, kismet and GPS keep running. Status light: 🟢 running /
    ⚪ stopped / 🔴 enabled-but-down. Privilege-separated like the kismet capture:
    the powerless web worker can't touch lightdm directly (its SysV init script
    makes enable/disable a root filesystem write that polkit can't grant), so
    two fixed-verb root one-shots (czconsole-hdmi-{enable,disable}.service) do
    the privileged work and the worker only triggers them via a narrow polkit
    rule.
  • Live dashboard tiles. The HDMI and Wardrive tiles now show their run-state
    as a coloured dot — 🟢 running / ⚪ stopped (and 🔴 failed for HDMI) —
    refreshed on the existing poll. Read fork-free from the unit's cgroup, so it
    adds no load even under memory pressure.
  • LCD mirror auto-refresh. The on-screen mirror updates every 10 s for
    hands-free glancing (~10 KB/frame), on top of tap-to-refresh.

Fixes

  • Wardrive no longer false-reports "stopped." Status shelled out to
    systemctl is-active each poll; under memory pressure that fork stalls or
    fails and was read as "stopped" even while kismet was actively capturing. It
    now reads liveness fork-free from the unit's cgroup, and shows "stats catching
    up" when kismet's REST is slow rather than "stopped."
  • postinstall restarts services on upgrade. It previously did enable --now, which doesn't restart an already-running service — so an upgrade kept
    the old binary running until a manual restart. It now restarts them.

Install (arm64 — Kali graft or stock Raspberry Pi OS)

sudo apt install ./czconsole_0.2.0_arm64.deb

Verify

sha256  ed84c5c30154f19ae4a9bee6d74da71fc06ccb5ab749f1950274a90df4b73abe

Built for the Kali graft and verified on-device (Pi Zero 2 W / CM0).