When someone new comes over, one of the first questions I get is why in the world I have a random laptop plugged into my router.Depending on how tech-savvy they are, my answer usually ranges from "Oh, it’s just for movies" to "This is my home server, and here's what it does." So, here’s why I actually keep a decade-old laptop running next to my router.My old laptop started life as a humble media server It began as a very modest project Close I'll admit, I've never been much of a Linux tinkerer kind of person.
I always just had a Windows desktop PC and Android phone that I occasionally did cool stuff on, but that's about it.After months of talking to my colleagues at How-To Geek and some deliberation over whether to buy a NAS to start a home media server, I realized that I had everything I needed—I could just build one from an old laptop with a broken screen that I had tucked away years ago.The laptop is nothing special.
It's an old Lenovo Miix 2-in-1 with an i5-7200U, 4GB of soldered RAM, and a 128GB NVMe.I knew that I would eventually find a way to repurpose it, and the day finally came when I decided to turn it into a small-scale project, just to see if I'd like it.It was much less intimidating than spending hundreds of dollars on a device that I might not use; I'll tell you that much.
So, I bought a cheap USB-C hub with an HDMI output, a few extra USB ports, and a microSD card reader.After successfully installing Ubuntu Server on the laptop, I connected a few USB flash drives I had lying around to expand the measly 128GB internal storage so that I had space for at least a few larger backup files, movies, and shows.I then proceeded to install Jellyfin, spent some time figuring out how to set it up and how to optimize it for my use case, and then loaded up some old media I had lying around.
It was a humble beginning, but I finally had a device that I could easily stream content from to all the other devices in my house.Related I ripped the screen off my broken laptop and turned it into the ultimate free homelab My old laptop had a dead screen and a broken SSD—how I still turned it into the ultimate free homelab Posts 1 By Faisal Rasool Then I fell into the self-hosting rabbit hole One service quickly led to another My homelabbing journey had humble beginnings, but it turned out that I liked my new little Jellyfin machine way more than I expected, so I soon fell into the self-hosting rabbit hole.I started looking for other self-hosted apps I could spin up on my home server.
My colleague Patrick suggested I use Docker to manage the apps in their own individual environments, called containers, to keep my system clean and easier to troubleshoot, so that's what I did and rebuilt Jellyfin.I first optimized everything around Jellyfin, adding apps like Sonarr, Radarr, Lidarr, and Bazarr to manage my library.Then I discovered Immich, and after trying it out for a bit, I realized I could replace Google Photos if I invested in an external hard drive—and I did.
I bought a 6TB hard drive to replace those tiny, overheating USB flash drives and loaded all of the personal images I'd accumulated over the years onto the server.Then I added Home Assistant and migrated my entire smart home to it, and the list just continued growing from there.I couldn't believe what this old laptop with a 2-core CPU and just 4GB of RAM could do.
All these little services run constantly in the background, without fail.AdGuard Home gave my old laptop a reason to sit by the router My server became an active part of the network Perhaps one of the most important and interesting self-hosted apps I keep running on my laptop is AdGuard Home.It's a network-wide DNS server that filters out unwanted traffic, such as trackers and telemetry.
I installed this just to see how it works, but soon discovered that moving DNS handling away from my underpowered router to my laptop was one of the best things I could do for my network.Normally, a router has to do a lot of work: it routes traffic between the internet and your local network, assigns IP addresses, handles DNS forwarding, manages Wi-Fi, switches traffic between devices, and so much more.Just one of these tasks can be a lot to ask from a budget router, and unfortunately, in my case, it seemed like DNS handling sometimes suffered as a result.
But after I spun up AdGuard Home, set up a few custom filters, and assigned it as the primary DNS server on my router, the web experience got so much faster on every single device.Instead of waiting a few seconds for a webpage to load while my poor router struggled with the DNS request, everything loaded almost instantly.It makes sense—despite being old, the laptop is much more powerful and has less work to do in general than my router, which allows it to handle DNS requests more easily.
It also has vastly more RAM, allowing it to keep DNS responses in its cache for quick access when a page has already been loaded.AdGuard Home gave me more control over my network I can finally see what was happening Performance was far from the only benefit with AdGuard Home.The app allows me to monitor DNS requests across my network, blacklist or whitelist certain domains, and even completely block some devices, like my smart home gadgets, from accessing the outside world.
And just like that, the laptop I remember having in my drawer became a very active part of my network.Given how big a benefit moving my DNS off my router was, I'm thinking about adding a second, smaller device to act as a fail-safe in case AdGuard Home on my laptop ever goes down or takes too long to respond because of everything else it's running.It's worth pointing out that other DNS services exist aside from AdGuard Home, such as Pi-hole, which can easily run on a Raspberry Pi, Technitium DNS Server, and Unbound.
Ultimately, these apps are awesome if you care about your network, as they give you greater control over how DNS is being handled on your network, while potentially providing some indirect performance benefits.That old laptop turned out to be far more useful than I expected It's hard to believe that my whole setup started with a laptop that most people would probably glance at at a garage sale or flea market, see the broken screen, and pass on even for just $20.After tinkering with it and loading up a collection of self-hosted apps, I transformed it into a Swiss Army knife of a home server that handles everything from my backups and media to my smart home and, most impressively, my DNS.
Read More