For almost a year now, I’m running Pi-hole on a Raspberry Pi 1 (yup, the first version) to block all ads and malicious domains completely.
Installing and running Pi-hole doesn’t need any explanation, setup a Raspberry Pi and run the command as mentioned on https://pi-hole.net
A simple python script handles the http request and writes text to the LCD display.
It can be found on my github: https://github.com/timdows/PiHoleLCDStats/blob/master/statsScreen.py
[code lang=”bash”]@reboot /usr/bin/python /home/pi/statsScreen.py &[/code]
- Connect the 5V and GND from the LCD directly to the powersupply;
- Make a case around this and combine the case with my openvpn Raspberry Pi server
|Raspberry Pi model B (512MB)||€ 21|
|4 x 20 lines SPI display||€ 23.95|
|Other materials||€ 2.50|
- Note to self: learn python or just keep hating it forever (read: having to google every command)