christoph ender's

blog

tuesday the 2nd of may, 2023

debian on nipogi-jk06

I've been looking for two simple budget machines to run debian with icinga nodes in HA-mode on. Usually the raspberrys I've been so far using would've been enough, but since the supply chain shortage it's been practically impossible to get new ones, except for creatively overprized ones.

Since it's now possible to get some fairly standard mini PCs for a just a little bit more money, I've got myself a set of nipogi jk06, which is a machine based on a Celeron N5100 with 8GB RAM and a 256GB M.2 SSD. This also had the advantage that using these as a desktop machine in parallel to their server duties wasn't a problem anymore, as would've been with a raspberry. Everything's been working fine except suspend/hibernation: The machine woke up when it was triggered from keyboard/mouse, but the screen stayed dark and couldn't be revived except via rebooting the entire machine.

In general, this wouldn't have been a problem with a server machine running 24/7,but I wanted to have this resolved despite of this. Installing the intel-microcode and non-free firmware package and the latest backported kernel did the trick.

apt-get install intel-microcode firmware-misc-nonfree
echo "deb https://deb.debian.org/debian/ bullseye-backports main" \
 >> /etc/apt/sources.list
apt update
apt -y -t bullseye-backports install linux-image-amd64 firmware-misc-nonfree

After that, in order to disable any kind of sleep or hibernation on the machine:

systemctl mask sleep.target suspend.target \
  hibernate.target hybrid-sleep.target