Raspberry Pi Projects

Raspberry Pi Projects

Pi-Hole

A couple of years ago, I acquired a Raspberry Pi from a friend and only used it once to explore the Raspbian OS. Recently, I stumbled upon a few YouTube videos showcasing various tools for the Raspberry Pi that are not only useful but also educational. Inspired by these videos, I decided to tackle Pi-hole as my first project, and I managed to get everything up and running quickly.

To guide me through the setup, I relied on these excellent resources:

Pi-hole Official Website - https://pi-hole.net/

Crosstalk Solutions: The World's Greatest Pi-hole and Unbound Tutorial 2023 - https://www.crosstalksolutions.com/the-worlds-greatest-pi-hole-and-unbound-tutorial-2023/

While I won't delve into the detailed setup process here (since the linked guides cover it comprehensively), I want to share some valuable insights and skills I gained through this project:

Basic Networking Concepts

I gained a solid understanding of how DNS resolves domain names to IP addresses and how DHCP allocates IP addresses within a local network.

Linux Command Line Skills

I became more comfortable with basic Linux commands, navigating the file system, updating and upgrading software packages, and editing configuration files using text editors like nano or vim.

Windows PowerShell Skills

While working on this project, I also leveraged Windows PowerShell to manage some aspects of the setup. This experience enhanced my proficiency with PowerShell commands, including navigating the file system, executing scripts, and managing network configurations. Using PowerShell allowed me to:

Remote Management: Connect remotely to the Raspberry Pi via SSH using PowerShell.

File Operations: Perform file operations like copying, moving, and editing files directly from the PowerShell interface.

Scripting: Write and execute scripts to automate repetitive tasks during the setup process.

Network Configuration: Configure network settings and manage connections, which streamlined the process of integrating Pi-hole into my home network.

Learning to use Windows PowerShell in conjunction with the Raspberry Pi setup broadened my technical skill set and provided an alternative approach to system administration tasks.

Raspberry Pi Basics

I learned how to write an operating system image to an SD card, perform the initial setup, and configure the Raspberry Pi, including enabling SSH for remote access.

Pi-hole Installation and Configuration

Through the installation and configuration process, I familiarized myself with running installation scripts, customizing Pi-hole settings via the web interface, and managing blocklists and whitelists.

Network Configuration

I configured my router to use Pi-hole as the primary DNS server and set a static IP address for the Raspberry Pi to ensure consistent DNS service.

Web Interface Management

I accessed the Pi-hole web interface to monitor and manage DNS queries, analyze query logs, and understand data such as the number of blocked ads, top domains, and clients.

Troubleshooting

I developed troubleshooting skills by reading system and application logs, identifying common issues, and resolving problems like DNS leaks and devices bypassing Pi-hole.

Security Considerations

I learned about network security implications of running a DNS server and took steps to secure it by setting strong passwords and limiting access. I also emphasized the importance of keeping Pi-hole and the Raspberry Pi OS up-to-date to mitigate security vulnerabilities.

Advanced Customizations

I explored adding and managing custom blocklists for tailored ad blocking and integrating Pi-hole with other tools or services, such as using it alongside a VPN for enhanced privacy.

Community and Support Resources

I discovered the value of online resources, including forums, Reddit, and official documentation, for support and advanced tips. Additionally, I found opportunities to contribute to the Pi-hole project through feedback, bug reports, and development.

Setting up Pi-hole on a Raspberry Pi not only enhanced my ad-blocking capabilities but also provided hands-on experience with various aspects of networking and system administration. It was a highly rewarding project that taught me a lot.

(Kind of messy but here was my setup for my RetroPie.)

(A few of the games I got setup for my RetroPie.)