For a few months I’ve had an instance of pi hole running in an LXC on my proxmox machine. Basically just to learn how it works and how to use it. Recently was seriously considering buying a raspberry pi 5 kit. But, acquiring new tech would be a tough sell to the wife. They’re not exactly cheap if you go all in with case/power/nvme hat plus the ssd.
Time to repurpose a p.o.s. laptop I almost trashed. A core i5 Lenovo ideapad that was in pieces. I installed a spare sata ssd and re-assembled it. Once together I knew it would be running under the living room TV next to the cable modem/router.
I opted to go with standard Ubuntu 24.04 LTS because I might give it additional duties and connect it to the tv via hdmi. I gave it a static ip and Pi-Hole installed and set up easily. Really the hardest part was figuring out how to keep the laptop from shutting down or hibernating when the lid was closed. Ran it for a week with just my main PC using it to make sure it was going to do its job. I also made a backup image with rescuezilla “just in case.”
A couple of days ago I changed the DNS settings on the router and now all my networked devices are going through the Lenovo Pi-Hole. The laptop is powered with the same UPS as the modem/router so short term a/c line issues are taken care of. Now, if the proxmox machine is down at least the rest of the network can still use the Pi-Hole.
This was a fun project and thought I would share.