I turned an old laptop and a Raspberry Pi into a home lab
How a 2014 laptop that can't officially run Windows 11 and a Raspberry Pi became my home lab: a private network, my own VPN, monitors that watch each other, and updates that look after themselves.
- Written by
- Naresh Kumar
- Published
- Reading time
- 12 min
- Topic
- Tech & AI
Over three days I put a Raspberry Pi 4 to work, along with an old laptop that had been sitting around running Windows 10.
The result is a small home lab:
- two servers;
- a private network I can reach from anywhere;
- uptime monitors that watch each other and alert my phone;
- updates that install themselves;
- one start page that links to everything.
I built it with Claude, running in Claude Code on my Mac. Claude wrote the scripts and explained each step. I ran them, typed every password myself and made the decisions.
What’s in it
- HP EliteBook Revolve 810 G2: the main server. It’s a 2014-era laptop with an i7-4600U, 8 GB of RAM and a 256 GB SSD.
- Raspberry Pi 4 (8 GB): the second server, in a case with a fan.
- AT&T fiber gateway: the internet connection and the Wi-Fi.
- TRENDnet gigabit switch: lets both servers share one port on the gateway.
- MacBook Pro: where I work from.
All of it is hardware I already had.
Why an old laptop, and why now

The laptop's last afternoon on Windows 10. A couple of hours later it was running Debian.
If you have an old laptop in a drawer, this is a good time to give it a second life.
- Windows 10 has reached the end of the road. It stopped getting regular security updates in October 2025. Laptops like mine, with a 4th-generation Intel chip, don’t meet Windows 11’s requirements, so a lot of perfectly good machines are being retired. Linux keeps them updated and useful.
- New hardware costs more this year. Memory and SSD prices have climbed as AI data centers buy up supply. Reusing what you already own costs nothing.
- A laptop is a server with extras. Its battery rides out short power cuts like a small backup power supply. It has its own screen and keyboard for the day the network breaks, and it’s built to run on very little power.
- It’s enough. A 2-core i7 from 2014 with 8 GB of memory and an SSD runs everything in this post. Only Immich’s first pass through my photo library made it work hard.
Two watch-outs. A battery that stays plugged in for years can swell, so check it now and then. And one laptop is one machine: anything important on it still needs a copy somewhere else.
Step 1: Windows 10 out, Debian in
The laptop was the biggest job. I wanted a desktop on it rather than a box I could only reach over SSH, so we picked Debian 13 with the Xfce desktop, which is light enough for a machine this age. GNOME and Omarchy were the other candidates.
A few things from the install are worth passing on:
- The USB script couldn’t touch the wrong disk. A big archive drive is always plugged into my Mac. The script that made the installer stick first checked the Debian image against Debian’s published checksums. It also refused to write to any disk except the 8 GB USB stick.
- The install itself took 11 minutes.
- Debian started six hours in the past. Windows keeps the hardware clock on local time, while Linux expects UTC. With its clock six hours slow, Debian refused to download updates until time sync was set up.
- It runs with the lid shut. We set it to ignore the lid and never sleep, so it stays on as a server.
- Remote desktop kept closing straight away. The cause was a locked desktop session on the laptop’s own screen. Ending that session fixed it.
Then came the tidy-up:
- automatic security updates;
- 223 language packs I’ll never use, removed;
- Docker, installed from Docker’s official repository;
- an SSH key, so I can log in from my Mac without a password.
Step 2: Tailscale, so I can reach it from anywhere
Tailscale puts my Mac, my phone, the laptop and the Pi on one private network, wherever each of them is. I didn’t have to open a single port on my router.
It also gave me my own VPN. The laptop is a Tailscale exit node:
- How it works: on café or library Wi-Fi, I switch it on. My Mac’s traffic travels encrypted to the laptop at home and goes out to the internet through my home connection.
- How we tested it: we traced the route. The first stop was the laptop, then my router, then AT&T.
- What it hides: my browsing, from whoever runs the café Wi-Fi. It doesn’t hide it from my internet provider.
Tailscale updates itself on both servers.
Step 3: apps in Docker
Each app has its own folder with a Docker Compose file. It restarts by itself after a crash or a reboot, and its logs are capped so they can’t fill the disk.
On the laptop:
- Uptime Kuma checks whether things are up: my router, the internet connection, the Pi and its apps, remote desktop on the laptop, the start page, and two race sites I build and run, Big’s Backyard Ultra and GVRAT.
- Homepage is my start page.
- What it shows: the laptop’s processor, memory, disk and temperature, and every app with a green or red dot. It links to everything else.
- What it doesn’t get: access to Docker, which would mean full control of the laptop.
- No login: it can only be reached at home and over Tailscale.
- Immich is a self-hosted photo library, for my photos. A photo library on one laptop isn’t a backup, so keeping the originals somewhere else is on my to-do list.

My start page. The green dots are live checks. The one address on it is hidden.

Uptime Kuma's status page, showing seven of its checks. Each green bar is one check that passed.
On the Pi:
- Speedtest Tracker runs an internet speed test every four hours and keeps the history. Not hourly, because each test moves two to three gigabytes.
- A second Uptime Kuma, which gets its own section below.
The first seven tests barely moved:
| When | Download | Upload | Ping |
|---|---|---|---|
| Nov 26, 1:09 AM | 619 Mbps | 624 Mbps | 1.45 ms |
| Nov 26, 4:17 AM | 616 Mbps | 624 Mbps | 1.47 ms |
| Nov 26, 8:17 AM | 617 Mbps | 623 Mbps | 1.47 ms |
| Nov 26, 12:17 PM | 617 Mbps | 624 Mbps | 1.46 ms |
| Nov 26, 4:17 PM | 617 Mbps | 624 Mbps | 1.47 ms |
| Nov 26, 8:17 PM | 617 Mbps | 624 Mbps | 1.46 ms |
| Nov 27, 12:17 AM | 611 Mbps | 624 Mbps | 1.46 ms |
The Pi’s network port can measure up to about 940 Mbps, so it isn’t what holds these numbers back.
The Pi had been sitting with 207 updates waiting and no automatic security updates, so we fixed that first. There was one small snag: LinuxServer’s image registry kept refusing downloads, so Speedtest Tracker comes from GitHub’s registry instead. It’s the same image from a different shelf.
Who watches the watcher?
Uptime Kuma on the laptop has one obvious blind spot: if the laptop dies, so does the thing that would tell me.
So the Pi runs a second Uptime Kuma whose job is watching the laptop. It checks three things:
- whether the laptop answers pings;
- whether the laptop’s Uptime Kuma is up;
- whether the start page is up.
Meanwhile, the laptop’s Kuma watches the Pi, so each covers the other. Both send alerts to my iPhone through ntfy, a free push-notification app. Each Kuma posts to a private topic, and my phone subscribes to it.
We tested it with a real outage rather than the test button:
- The outage: I stopped Speedtest Tracker for four and a half minutes.
- Down alert: my phone said it was down just under three minutes in.
- Up alert: it said it was back 18 seconds after the app restarted.
An earlier stop of two and a half minutes sent nothing, and that’s by design. That monitor tries twice more, a minute apart, before it calls anything down, so a quick restart doesn’t wake me up.
There’s one thing it can’t catch. A power cut or an internet outage at home takes both Kumas offline together. That’s on the list below.
Updates that look after themselves
The security updates for Debian and Raspberry Pi OS install automatically. For the Docker apps, a small job runs every Sunday morning:
The laptop and the Pi run an hour apart, so the two Uptime Kumas never restart at the same time. Immich is deliberately left out, because its updates sometimes need manual steps from its release notes.
One honest gap remains: Docker itself (the Engine) still doesn’t update automatically on either machine. It’s on the list.
A map of the whole thing
I saw a home lab schematic online and wanted one. Claude built it as a single web page, and it shows:
- the fiber line and the gateway’s ports;
- every cable;
- each machine and its apps;
- the Tailscale network;
- how alerts flow;
- the update schedule;
- what’s monitored.
It’s linked from my start page, and it’s updated whenever the lab changes. The real one lists every address on my network, which is what makes it useful to me and why it stays private. Here’s a copy with the addresses taken out:

The schematic, with every address removed.
Things I didn’t buy
With Black Friday coming, I asked what would improve the lab. The most useful answers were about what not to buy.
- I returned a 10-gigabit adapter I’d bought for my Mac. Only one port on my gateway runs faster than 1 Gbps, and nothing else in the lab does.
- My existing switch is fine. Instead of guessing, we checked it. The laptop and the Pi both connect through it at 1 Gbps, full duplex: gigabit from end to end.
Sometimes the best upgrade is checking what you already have.
Where the AI helped, and where it didn’t
- It kept a record. Every change went into a running handoff document: what was done, when, how to undo it, and what’s still open. Anyone, or any AI, picking this up later can start from there.
- It scripted everything. Each step was a script I could read before running it, with its output saved to a log. Scripts that edited settings files kept a backup and checked the result.
- It was sometimes wrong. When it asked whether the new SSH key worked, I clicked “Yes, no password”, and that was taken as proof. The key hadn’t actually been installed. We caught it later. From then on, the rule was to check on the machine itself rather than trust a “done”.
- It ran into limits I didn’t know about. Claude’s own shell on my Mac couldn’t reach anything on my home network, because macOS blocks local-network access for apps that haven’t been granted it. So commands for the servers ran in a terminal pane in the app, where I could watch them.
- It kept secrets out of files. I typed every password myself. The alert topic, which would let anyone read my alerts, is in the apps and nowhere else.
What’s next
- Pi-hole, for ad blocking across the house. My gateway won’t let me change the DNS server it hands out. So Pi-hole would have to take over handing out addresses too, which is a bigger step than it sounds.
- An outside check, such as Healthchecks.io. It would tell me about a power cut even when everything at home is down.
- Docker Engine updates, done properly.
- A Pi cluster, eventually, running k3s (lightweight Kubernetes) on a stack of Pis.
- More memory for the laptop. It has one memory slot, and an 8 GB stick there would take it from 8 to 12 GB.
What I took away
- An old laptop makes a great first server, especially now. It has a built-in battery, keyboard and screen. It can’t officially run Windows 11 anyway, and I already had it.
- Tailscale removes the scariest part. Nothing is exposed to the internet, and everything is still reachable.
- Monitor your monitor. A single Uptime Kuma can’t tell you that its own machine died.
- Test alerts with a real outage. That’s how I learned about the three-minute delay, and why it’s a feature.
- Write it down as you go. The record and the map made every next step easier.
- Check before you buy. The switch I nearly replaced was already doing its job.