Skip to content

lan-clients add over a LAN address pairs through the pod's USB link - #84

Merged
wardviaene merged 1 commit into
mainfrom
pair-via-usb-ip
Nov 21, 2026
Merged

wardviaene merged 1 commit into
mainfrom
pair-via-usb-ip

Conversation

@wardviaene

Copy link
Copy Markdown
Member

Found testing BenchPod Desktop 0.2.2's "Pair this computer" with two pods on USB: the app was on the LAN (192.168.1.164) and ran --connection usb lan-clients add, which asked which pod.

  • lan-clients with a LAN connection (IP, pod name or .local name) reads status there. When usb.link is true and usb.ip answers from this computer, changes (and a list an unpaired computer may not read) go over that USB link. The pod there must present the LAN certificate pinned for the LAN address, else it refuses. After pairing, the LAN certificate is pinned from the USB link when there was no pin.
  • Without the link: "this computer is not paired with the pod at X, and the pod is not plugged into this computer over USB ... Plug the pod's USB-C port ... or pair it through the cloud: --connection embeddedci: (BP0081)".
  • add from a computer that is paired already, without the link: "This computer (name) is already paired with the pod at X."
  • setup for a pod found only on the network tries the USB link before embeddedci.com.
  • Names: benchpod-xxxxxx and benchpod-xxxxxx.local already resolve the same (mDNS, else USB); no change needed.

Tests: fake LAN pod + fake USB-link pod (pairs over the link, no link, paired already, paired list stays on LAN, another pod's link refused, setup).

🤖 Generated with Claude Code

An unpaired computer still gets status over the LAN, and status carries the
pod's own USB network address (usb.ip). lan-clients (add, remove, clear, and a
list an unpaired computer may not read) and setup now pair through that address
when it answers from here, so the right pod is paired even with several on USB.
The pod on the USB link must present the LAN certificate pinned for the LAN
address. Without the link, the error says to plug the pod in over USB-C or use
--connection embeddedci:<pod> (BP0081); a paired computer is told it is paired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene merged commit 01b94c4 into main Nov 21, 2026
2 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