mariatanbobo Posted on May 30 I Gave My Dead Raspberry Pi to an AI Agent. It Fixed Everything Over SSH. # ai # linux # raspberrypi # devops A headless Raspberry Pi 4. A failed OS upgrade. No monitor, no keyboard, no network. One AI agent, one Jetson Nano, and a Tailscale connection. The Situation I run a headless Raspberry Pi 4 called homepi that handles critical home infrastructure: NextDNS, PiVPN/WireGuard, Tailscale, Docker, and Pi-hole. It sits in a closet with no monitor attached. Last week, I attempted to upgrade from Raspbian 10 (Buster) to 11 (Bullseye). The apt full-upgrade ran for hours, asked me a few config file questions, then went silent. The Pi never came back to the network. No DHCP lease. No SSH. No ping. The router showed nothing. I pulled the 32GB SanDisk microSD card and plugged it into my Mac. Finder showed only the FAT32 /boot partition. The ext4 root partition — where all the configs and logs live — was invisible to macOS. This is where most people would reach for a fresh SD card and start over. But I had an AI agent, and I wanted to see how far it could go. Phase 1: Triage From macOS (Blind) I shared a screenshot of the /boot directory with the agent. It immediately noticed something suspicious: cmdline.txt was dated December 31, 1979 — the Unix epoch. Could be corruption? Agent: "Step 1: On your Mac terminal, run cat /Volumes/boot/cmdline.txt " The file was intact — timestamp corruption only. The kernel command line looked fine. But the agent couldn't go deeper without reading the ext4 root partition. macOS can't do that natively. We tried installing macFUSE. Homebrew threw errors. The macOS version (26.5, a developer beta of what appears to be macOS 16) wasn't compatible with any available macFUSE build. Mac was a dead end. We needed Linux. Phase 2: The Tailscale Pivot I have a Jetson Nano on my Tailscale network. It runs JetPack (Ubuntu-based) and has a spare microSD slot. The agent suggested: Agent: "Plug the microSD into a USB card reade
Back to Home

I Gave My Dead Raspberry Pi to an AI Agent. It Fixed Everything Over SSH.
B
Blizine Admin
·2 min read·0 views
📰Dev.to — dev.to
B
Blizine Admin
View Profile Staff Writer