Labthrift Labthrift What to buy. What to skip. Why.

Written 25 Aug 2026. This is a how-to, not a product card.

Give the computer a name that sticks

Ping and SSH are easier if the computer has a short name. lab works. Set it so the name survives a reboot.

closet or office work too. Letters and numbers, no spaces. A hostname is the computer's name on the house network. Is the computer still on? tells you to ping that name. Your first weekend names it during install, then people forget. This note is hostnamectl, the command that writes the name so it comes back after a reboot.

Skip this if the name is already good

On the computer, ask for the name:

hostname

If it already prints lab, or a name you recognize and like, you are done. You don't need this note.

Set the name so it survives a reboot

On Debian or Ubuntu, as in what OS to put on the computer, set the name with hostnamectl. That writes the computer's name so it comes back after a reboot.

sudo hostnamectl set-hostname lab

Swap lab for closet or office if you picked one of those. Then log out and SSH back, or reboot. Reboot lives on shut down the computer without yanking the plug. If you were already rebooting after keep the computer updated, that reboot is enough.

Check from the couch

From another computer on the house network, knock three times. That is is the computer still on?:

ping -c 3 lab

If ping still needs the number, the house router has not learned the name yet. Use the address from find the computer on the house network. A new router will not help. Some phones find lab.local. Some don't. Don't buy a Pi-hole just for naming. If Pi-hole is already house DNS, a Local DNS record is the reliable house-wide name: add a local name in Pi-hole.

What next

If ping lab works on some devices and not others, give the house a Local DNS name that every Pi-hole client can resolve: add a local name in Pi-hole. If ping lab works, you are done naming. If ads came back this morning, or SSH hangs, that is is the computer still on?. If the computer is still on Wi-Fi, plug a cable: a cable beats Wi-Fi for the computer. Don't buy a NAS.

Skip

Sources

Debian: hostnamectl. Ubuntu: hostnamectl. Debian: hostname. Official pages only. For the computer, see start with what you already have. For the first name, see your first weekend. For ping, see is the computer still on?.

Also on this topic

When SSH says the computer looks differentAfter you reinstall, SSH can refuse because your laptop still remembers the old ID. Clear that memory. You don't need a new router. Is the computer still on?You left the computer on. This morning ads are back, or SSH hangs. Check if it is awake before you buy anything. Find the computer on the house networkThe computer has a number on your house network. You need that number to SSH from the couch. You don't need a new router. Add a local name in Pi-holeGive the old PC a short house name so phones and laptops can open SSH, the share, and the admin page without remembering the number. You don't need a new router. Your first weekend with the computerInstall the OS, name it, and reach it from the couch. See which OS the computer is already runningBefore you reinstall or buy a tiny computer, check which OS the computer already has. SSH from the couchType commands on the computer from your laptop, on the house network. Password login first. Don't open this to the internet.