Vibe-troubleshooting on Linux
Claude Code saved me days of headache again!
After more than a decade of using a Linux desktop, I should have known better than to buy a laptop with new hardware.
I replaced my 7-year-old ThinkPad T480s with a Lenovo IdeaPad Pro 5. It has a relatively new chip (writing this on November 2, 2025).
I quickly installed Ubuntu-based Linux.
At first glance, everything worked.
Then I did suspend-unsuspend, aaaaaand no WiFi 😿
These issues happen on new hardware. It takes some time for the Linux kernel and drivers to catch up.
I’m writing this because I discovered a peak of efficiency in troubleshooting Linux problems and want to share it with you.
Coding agents Codex and Claude Code were the absolute time savers for me this week! Apart from coding, they are very good with CLI and Linux.
I could have used ChatGPT, but why work as a copy-paste machine if I have an agent?
It took five minutes and several prompts for the agent to find that the Intel iwlwifi firmware/driver combo mishandles D3cold entry and how to work around that. And another two minutes after I gave it sudo access, it created a system service for a permanent fix.
Later, I repeated the same trick for a different problem with a USB-C and broken hotplug monitor detection. I again YOLOed it with an agent with sudo permissions.
However, a third time, the agent didn’t find the workaround. It was again a different problem (I forgot what it was exactly), but the agent's solution wasn't as clean as the answer on Stack Exchange that I quickly googled ¯\_(ツ)_/¯

