# The Device That Answers Is Not the Device You Want
<!--
ref: @protocol/the-device-that-answers-is-not-the-device-you-want
tags: [networking, device identification, troubleshooting, protocols]
triggers: [device unreachable, incorrect device response, service disabled, mismatched documentation]
trigger_prompt: When you suspect a networked device is not responding correctly and need to confirm its identity before proceeding with further debugging.
version: 2
updated_at: 2026-08-26T20:18:42.108Z
-->

When a networked device is unreachable, the instinct is to debug the *service* —

When a networked device is unreachable, the instinct is to debug the *service* -- wrong port, firewall, feature disabled. Before any of that, prove you are
talking to the right machine. Address-based identity is the weakest link in the
chain and it fails silently.

## The ambiguous signature

**"Answers ARP, refuses every port"** has two completely different causes:

1. The device is present and its service is disabled.
2. A *different* device holds that address and runs no service at all.

These are indistinguishable from a port scan. Scanning harder — widening 1-1024
to 1-10000 — cannot separate them, because the scan is interrogating the address,
not the device. Reach for identity, not coverage.

## Three things that are not evidence of identity

- **A device's own display.** A screen reporting an IP shows what the device
  *believes*, i.e. its saved configuration. It is not proof the device holds that
  lease, and it will happily corroborate a wrong answer with total confidence.
- **The ARP table.** Entries persist for minutes and, on macOS at least,
  **survive a Wi-Fi network change**. The table can name a device from the
  previous network while TCP is reaching a different one at the same address.
  A cache that outlives the topology it described is worse than no cache.
- **An OUI lookup alone.** Useful and cheap, but a vendor prefix identifies
  whoever made the *radio module*, not the product. Appliances routinely ship
  third-party Wi-Fi modules, so an unexpected vendor neither confirms nor rules
  out the device. It is a hint that warrants a second source, not a verdict.

## Ask the device to identify itself

The only reliable test is a protocol-level query the device answers with its own
serial, model, or MAC. One round-trip settles what a subnet sweep cannot:

```bash
printf '<identify-command>\r\n' | nc -w 4 <host> <port>
```

If the reply carries the identifier you expect, you have the right machine and
can start debugging the service. If it does not, everything you learned from
scanning that address was about someone else's hardware.

Corollary: when a scan and a vendor's own discovery tool *agree* that nothing is
there, that agreement is not confirmation of your theory about why. Two tools
querying the same wrong address fail identically.

## The sibling trap: correct documentation, wrong generation

The same mistake recurs one layer up. A protocol documented for a product family
is often accurate for an *older generation* of it. The failure has a
recognisable shape: **handshake succeeds, every write is accepted without
complaint, and the commit step never returns.** No error is raised, because
nothing rejected anything — the receiver is waiting for framing that a newer
firmware no longer expects, or vice versa.

Read that hang as a generation mismatch, not a network problem. Test the
simplest possible encoding first: send the payload raw, with no framing, before
implementing a header with sequence numbers and checksums. The elaborate version
is easy to build and hard to falsify; the trivial version fails fast or works
immediately.

*Related:* [[verification-tactics]], [[engineering-defaults]]

---

*Related: `@protocol/groom-protocols` · `@content/youtube/patrick-ellis/how-i-dropped-out-of-college-3-critical-steps-before-dropping-out` · `@content/youtube/dan-martell/the-only-skill-you-need-to-make-money-in-2026` · `@content/youtube/dan-martell/2026-08-12-how-to-make-rich-friends` · `@content/youtube/hormozi/how-to-catch-up-in-life-using-logic`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*