websites/ewintr.nl/content/2024/til-change-text-console-fon...

28 lines
1.6 KiB
Markdown

+++
title = "TIL: Change text console font and size with console-setup"
date = 2024-12-03
+++
Today I learned one can change the font and its size on the text console of a Debian system using:
```bash
sudo dpkg-reconfigure console-setup
```
Keep in mind that the available sizes depend on the chosen font; some fonts offer fewer size options than others. If your primary goal is to increase text size (like mine was), it might help to experiment by going back and forth between different fonts.
![Screenshot from 2024-12-04 14-15-38](https://bear-images.sfo2.cdn.digitaloceanspaces.com/ewintr/screenshot-from-2024-12-04-14-15-38.webp)
## Backstory
I had a headless server in my home that disappeared from the network at random moments. Walking over to the machine showed, I noticed that it was still running. I was just not available to access it with `ssh` any more.
Rebooting the server resolved the problem, but that is of course not a solution. I needed to figure out why it would randomly decide to ignore the network.
The only portable monitor I have is an old eink screen, so I used that to make the server temporary not-headless. The monitor did not cope well with the tiny text on the black background, so after some searching I was fortunate to find the above-mentioned way to increase the size of the font.
~~And then I discovered that the server was fine, and the real issue was actually that I had misconfigured my router.~~
And then I discovered that the network controller on the main board suffers from a known bug, fortunately one for which a [workaround](https://forum.proxmox.com/threads/intel-nic-e1000e-hardware-unit-hang.106001/) exists.