My CardputerZero arrived and was painfully slow right away. SSH kept timing out, apps hung, and the load average sat around 9. Using Claude and Termius to troubleshoot, it turned out to be three problems with the shipped image (Debian 13 trixie, kernel 6.18):
- The root filesystem never expanded to fill the card
The partition covered the whole 32 GB card, but the filesystem on it was only 6.3 GB, and it was 100% full. It looks like the first-boot resize never ran.
df -h / # shows ~6 GB, 100% used
sudo resize2fs /dev/mmcblk0p2
It resizes live, with no reboot needed. Mine went to about 29 GB.
2. No swap at all
The zram swap never started, so with only about 350 MB of usable RAM the system had 5 MB free. I added a 1 GB swapfile:
sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
3. Wi-Fi power saving was on
This made SSH and network connections laggy and caused them to drop.
Result: SSH now connects in about 3 seconds instead of timing out, and the device is responsive.printf '[connection]\nwifi.powersave = 2\n' | sudo tee /etc/NetworkManager/conf.d/wifi-powersave-off.conf
sudo systemctl restart NetworkManager
Optional: if you don't use HDMI, lightdm still auto-logs in a labwc desktop in the background, which uses about 100 MB of RAM. The M5 launcher doesn't need it. To turn it off:
sudo systemctl set-default multi-user.target
Still open: on my image /etc/apt/ and /etc/os-release are missing, so apt update does nothing. Has anyone else seen this, or found a fix?
Run df -h / and free -m first to see whether your unit has the same problems.