Failed Adoption

Share
Failed Adoption
Photo by Vitaly Gariev / Unsplash
Networking · Ubiquiti · Troubleshooting

The U6 Pro adopted in thirty seconds. The six hours before that were a guided tour of every diagnostic detour available to modern networking.

30s
Time to Adopt
~6 hrs
Troubleshooting
3
Useless Factory Resets

The U6 Pro adopted in thirty seconds. The six hours before that were a guided tour of every diagnostic detour available to modern networking, courtesy of an AI that wouldn't listen.


01 The Migration

I replaced my UDM Pro with a UDM Pro SE. Backup, restore, done. VLANs, firewall rules, DHCP scopes, OSPF neighbors. All present and accounted for. Everything except the U6 Pro, which came through the migration stuck in an adoption loop that it had no intention of leaving.

The dashboard showed it cycling between “Adopting” and “Device Unreachable” like a metronome. Its static IP, 10.0.0.4, was gone, replaced by 10.0.0.191 from DHCP. It was alive, pingable, broadcasting UniFi discovery packets every few seconds. It just wouldn't adopt.

02 The Detour

I'd been working on this in the background since about 2 PM, feeding symptoms to an AI chatbot between tasks at my actual job. Tethering for the duration of a livestream is a risky venture so I was hopeful to resolve my wireless woes before 3 PM. The AI was thorough. I will give it that. It was also wrong about the thing that mattered, but we'll get there.

The first suggestion was SSH into the AP and check its inform URL. Reasonable, except I couldn't SSH into it. The AP was unreachable one moment, back the next, and by the time I got a ping reply the connection window had already closed. The AI suggested factory resetting. I did that. Twice. The AP came back each time with the same DHCP address, the same adoption loop, the same nothing.

Then we got into what I can only describe as diagnostic theater. tcpdump on my Mac. Zero packets captured, because switched traffic between the AP and the UDM doesn't pass through my Mac's NIC, which is something I could have mentioned to the AI before running the capture but at this point I was off the clock and a mix of annoyed and amused at how stupid AI bots can be. curl to 10.0.0.191 on port 8080. Connection refused, because TCP 8080 is the controller's inform port, not the AP's, and the AI kept having me test it on the wrong device. nc -vz 10.0.0.1 8080. Connection refused, because my UDM Pro SE isn't at 10.0.0.1. It's at 10.0.0.2. The AI assumed the gateway address and I let that assumption run for longer than I should have.

Somewhere in the middle of all this, after the extraneous factory resets, after the gratuitous port scans, and after the superfluous curl commands aimed at a device that had no business being curled (I want to say maybe just as the livestream was wrapping up) I had a thought. Ubiquiti ships their devices with a default network at 192.168.1.0/24. I'd removed that network months ago. My entire house runs on 10.0.0.0/8 and subnets divided out from that generous /8 space, but a factory-reset AP wouldn't know that. It would revert to whatever it shipped with. Eventually I got to the point of suggesting to the AI-network-engineer-extraordinaire directly: What if I maybe just add the 192.168.1.0/24 network back and let the AP find the controller there? Ya think that'd possibly be good for the W?

The answer was Naw Bruh, I got this. Confidently, with citations and a helpful breakdown of DHCP fallback addresses, no. The AP has 10.0.0.191, DHCP is working, 192.168.1.1 is irrelevant, let's keep looking.

That was before dinner.

03 The Packet

I came back from dinner with two things: a clearer head and the near-certainty that adding the network back was the answer. But I wanted to hear the AI say it. I wanted it to arrive at the same conclusion I'd already reached, acknowledge that the simplest explanation was probably the right one, and suggest we test it.

Instead, it suggested more diagnostics. So I humored it. Partly out of curiosity, partly because there was one test I actually wanted to run. SSH into the UDM Pro SE itself. tcpdump there, where the traffic actually lives.

IP 10.0.0.191 > 192.168.1.1.8080: Flags [S]
IP 10.0.0.191 > 192.168.1.1.8080: Flags [S]
IP 10.0.0.191 > 192.168.1.1.8080: Flags [S]
IP 10.0.0.191 > 192.168.1.1.8080: Flags [S]

SYN. SYN. SYN. SYN.

The AP was reaching for 192.168.1.1:8080. Over and over and over. The address I'd asked about. The address I'd been told wasn't the problem.

After a factory reset, the U6 Pro reverted to its default inform target: http://192.168.1.1:8080/inform. That's the out-of-box default for UniFi APs. The device had DHCP, it had an IP, it was broadcasting discovery, but every inform attempt was aimed at an address that didn't exist on my network. The UDM Pro SE was sitting at 10.0.0.2 (I know, weird. Right?) with port 8080 wide open, and the AP was knocking on a door in a building that hadn't been built.

04 The Fix

I set back up the 192.168.1.0/24 network on the UDM Pro SE. I named it Device Adoption VLAN and associated it with the switch port the U6 Pro was plugged into. The moment that virtual IP hit the interface, the AP went straight from Adopting to Starting up. Adoption completed. Firmware verified. Already current, because I stay on top of that. Online and operational.

Thirty seconds. After six hours.
05 What I Keep Coming Back To

The tcpdump on the UDM was genuinely useful. That was the diagnostic that proved what was happening, and I'd run it again. But the three factory resets were useless. The curl commands aimed at the AP were useless. The port tests against an IP address that wasn't even my gateway were useless. And the confident dismissal of my 192.168.1.1 question was worse than useless. It was the moment the troubleshooting session stopped being productive and started being a performance of productivity.

I had the right instinct at the right time. I got talked out of it by an AI that treated thoroughness as a substitute for listening. Those are not the same thing. Being thorough means you don't miss anything. Listening means you hear the person who's sitting in front of the equipment telling you what they think is wrong. And maybe, just maybe, testing that first instead of queueing it behind the fourth factory reset and a packet capture on the wrong interface.

[And yes, “a conversation with an AI that kept suggesting I try the thing I'd already tried” is becoming a recurring theme around here. I'm starting to notice.]

There's probably a tidy lesson about AI and troubleshooting. Something about how automation doesn't replace intuition, or how the tool is only as good as the judgment you bring to it, or some other sentence that belongs on a conference slide. But the honest version is simpler than that: I knew the answer at hour two. I spent four more hours being polite about it. And I fixed the problem in thirty seconds once I stopped.

What absolutely floored me about the entire experience was that there is a very well documented procedure for sending the inform address especially for Layer 3 adoptions of UniFi devices. And because my very first UniFi deployment was that one-and-the-same U6 Pro, adopted to a self-hosted controller running on a Docker network that had nothing to do with the admin VLAN, you could say my baptism into the cult of Ubiquiti was a trial by fire.

All that to say: The AP adopted. Everything else was ceremony.