When Wi-Fi Works but the Internet Doesn’t: Debugging a Tricky Ubuntu Networking Issue

Everything was working fine — until it suddenly wasn’t.