Repurposed laptop to run Pi-Hole for ad and malware blocking
Laptop Model: Toshiba Satellite
This laptop was used for everything ranging from document creation for school to light gaming. Initially the battery life started declining making it useless without being constantly on the charger. Soon after rocket league was released and after acknowledging the laptop was not even meeting the minimum requirements, it was still used to play the game at the lowest possible settings.
After a long gaming session, the laptop automatically turned off. Assuming the problem was the battery, the laptop was left to cool and recharge as seen from the battery indicator colour orange. After being fully charged and cooled, the laptop was turned on only to be greeted with a black screen.
Upon further inspection, using the VGA socket to output display signal on an external monitor windows blue screen of death keep appearing along with pixel artifacts as seen from the images bellow. This revealed that the integrated graphics card as well as the intel graphics card were damaged from intense heat and prolonged gaming session. The laptop was then opened internally, cleaning the fans from minimal dust as well as reapplying the thermal paste which didn't make any difference to its state other than enabling the laptop to run cooler.
The purpose of this project was to repurpose the damaged laptop and make it function as a Pi-hole DNS server for blocking ads and enhancing network security. This was undertaken as a challenge and a learning opportunity to further explore Linux distributions and gain valuable networking experience, with environmental sustainability also in mind.
- Overcoming hardware limitations of the broken GPU
- Expanding the lifespan of the laptop
- Setting up a fully functional Pi-Hole Server
- Using as few resources as possible
- Damaged Laptop
- External Monitor
- VGA cable
- Thermal Paste
- 4GB USB
The installation went smoothly despite the fact that the screen hardly could be seen. This was made possible with the way Alpine Linux works allowing for live use of the system just like Kali. Once you advance through the installation and as soon as OpenSSH is executed, the laptop could be access through another machine enabling installation completion.
Additionally, docker was installed to enable the use of a portable Pi-Hole. The container was created and run with the configured settings to enable the Pi-Hole to run as intended. Ports were opened and firewall rules had been set to enable the laptop to receive and route DNS request from the main router.
The DNS settings had been updated to include the laptop's IP address as the primary DNS resolver followed with Cloudflare DNS as a backup option.
During the execution of this project a lot of challenges were presented, technologies explored and finally the goal was achieved. The installation of Alpine Linux was simple to understand and follow allowing the process to be easily learned along the way without needing to dive into installation guides and Linux commands. Docker and its containers were easily researched and understood with lots of information provided from the community offerings useful resources from installation to custom container configuration for running Pi-Hole.
Lastly, the root cause of the problem. The screen and graphics card made the situation even worse by displaying artifacts and blocking useful parts of the screen. Luckily, even this challenge was overcome with OpenSSH allowing the project to advance and be completed successfully.
Even with the damaged screen output provided from the VGA port when connected to an external monitor, the laptop was successfully repurposed with no additional expenses. The Pi-Hole is operating as intended to this day, blocking and preventing websites from displaying ads and malware maintaining a safe and secure cyber environment with uninterrupted browsing experience for all users in the network.
- Reusing old hardware maintaining environmental sustainability
- Knowledge of DNS networking gained
- Adaptability presented
- Working with limited resources
- Improved browsing speed
- No need to wait for ads to load
- Pi-Hole is fully working
- Over 129359 queries blocked
- Network security enhanced
- Malicious websites are blocked



