In countries where Black Friday is a thing, I think everyone spent a good part of their day just looking through all the deals. This year I finally bought a Raspberry Pi. Two actually.
Few weeks ago I re-discoverd an awesome project that promises to stop all ad traffic in your local network. I normally use uBlock Origin for browsers, but that still leaves all the other applications and devices unprotected. Enter Pi-hole!
Since this is a brand new Raspberry Pi and I didn’t want to connect any peripherals to it, I downloaded Raspbian Stretch Lite image from the official web site.
Next step was getting the image on the SD card. I’m using macOS and I followed the official tutorial.
This was the command I ran after unmounting SD card with the Disk Utility.
Next, in Terminal I ran the following commands.
Here I used nano to open the file and pasted in the following.
After this I ejected the SD card, inserted it in Raspberry Pi and plugged it in!
Next step was to find the ip address assigned to the Raspberry Pi, and I found the easiest way to see this is on the router.
Default password is raspberry
You can change the default password by typing in
As the final step, I ran the command from the official page. Following the instruction was pretty straightforward and I’m surfing without ads on all devices!