Skip to content

fix: x86 live boot without /data, missing wpasupplicant; TV Wi-Fi controls - #11

Merged
madeofpendletonwool merged 1 commit into
mainfrom
fix/x86-live-and-wifi-setup
Oct 15, 2026
Merged

madeofpendletonwool merged 1 commit into
mainfrom
fix/x86-live-and-wifi-setup

Conversation

@madeofpendletonwool

Copy link
Copy Markdown
Owner

Fixes from the first laptop run of the x86 ISO.

Live boot failing

The live session never mounted /data, and its fstab line for LABEL=syncphony-data timed out and failed fsck on a stick without one. The leftover root-owned /data meant the SSH host-key links dangled (sshd failed in a loop) and the kiosk couldn't create /data/chromium.

  • The live image has no /data line in fstab.
  • syncphony-live-boot.service (live-session, renamed from live-boot-firmware) mounts the stick's syncphony-data partition (fsck'd first) or a tmpfs, before data-persist, sshd and the kiosk. The install boot always gets the tmpfs, replacing the data.mount drop-in.

Setup hotspot never appeared

In Trixie, network-manager only Recommends wpasupplicant, and the box installs without recommends. Pi OS Lite brings it; the x86 root didn't, so NetworkManager couldn't scan or start the access point.

  • wpasupplicant and wireless-regdb in common.list (no-ops on the Pi), checked by the smoke test.
  • firmware-mediatek and firmware-brcm80211 in x86.list.

TV Wi-Fi controls

  • Setup screen: a live countdown to the hotspot (/status → wifi.hotspotIn), the start error when it fails, the no-Wi-Fi reason, and a Start setup Wi-Fi now button.
  • Choose Wi-Fi on this screen (/wifi, from the setup and hotspot screens): scan, pick, type the password, join, with no phone needed. The hotspot is held off while the screen is in use, and a failed TV join doesn't bring it up underneath.
  • New routes are loopback-only and refuse any Origin but boxd's own. Remote arrows move the focus.

Docs: ADR 0010, ADR 0013, docs/testing.md (steps 9–10, live-boot checks), README, CHANGELOG.

Testing

  • go vet, go test ./... (incl. -race), shellcheck pass; new tests cover the countdown, start-now, start errors, origin guard, TV scan/join/failure.
  • Not yet built or run on hardware. Needs the ISO rebuilt and the docs/testing.md live and Wi-Fi steps run on the laptop.

🤖 Generated with Claude Code

… controls

- Live session: no /data line in the live fstab (a missing label stalled
  the boot and failed fsck). live-session mounts the stick's
  syncphony-data partition, or a tmpfs, before data-persist, sshd and the
  kiosk, so SSH host keys and the Chromium profile have a home. The
  install boot always gets the tmpfs.
- wpasupplicant and wireless-regdb are explicit packages: network-manager
  only recommends them, so the x86 root couldn't scan or run the setup
  hotspot. MediaTek and Broadcom Wi-Fi firmware for laptops.
- Setup screen: a live countdown to the hotspot, why it couldn't start,
  and "Start setup Wi-Fi now". A new /wifi screen picks and joins a
  network on the TV itself (loopback, boxd's own origin only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@madeofpendletonwool
madeofpendletonwool merged commit 73e7f35 into main Oct 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant