Pi – Ultimate Advert Blocking with PiHole

Got a Pi-hole, but some ads are still making their way through? Perhaps you are not blocking enough ad domains… To fix this, open a browser session to this page on your pi: http:/192.168.0.x/admin/groups-adlists.php (replace 192.168.0.x with your Pi IP) Insert the text list from here: https://v.firebog.net/hosts/lists.php (Be sure to only use the ticked list to […]

Raspbian Pi – Installing Log 2 Ram Tool

printf ‘deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ bullseye main’ | sudo tee /etc/apt/sources.list.d/azlux.listsudo wget -O /usr/share/keyrings/azlux-archive-keyring.gpg https://azlux.fr/repo.gpgsudo apt updatesudo apt install log2ramsudo sed -i -e ‘/MAIL/s/true/false/’ /etc/log2ram.confsudo sed -i -e ‘/SIZE/s/40M/100M/’ /etc/log2ram.confsudo journalctl –vacuum-size=16Msudo du -hs /var/log/* | sort -h | tail -n 5sudo find /var/log/ -type f -name ‘*.gz’ -exec rm -rf {} +sudo truncate -s 100 […]

Raspbian Pi (aarch64) – Installing Fail2ban

sudo apt install python3-pyinotify python3-systemd 2to3git clone https://github.com/fail2ban/fail2ban.gitcd fail2ban./fail2ban-2to3sudo python setup.py install –without-testssudo cp build/fail2ban.service /etc/systemd/system/fail2ban.servicesudo systemctl enable fail2bansudo service fail2ban startsudo fail2ban-client statussudo fail2ban-client versionsudo fail2ban-client –testsudo fail2ban-client -h

Raspbian Pi – System Info

List of linux commands for gathering Pi specifications “cat /proc/device-tree/model && echo “” ” (Raspberry Pi Hardware Model) “cat /proc/meminfo” (Memory Info) “cat /proc/cpuinfo” (CPU Info) “cat /proc/partitions” (Disk Partition Info) “cat /proc/version” (Linux Version Info) “cat /boot/cmdline.txt” (Boot Parameters) “cat /proc/filesystems” (File System Info) “cat /etc/passwd” (Username & Password Info) “free -h” (Memory Stats […]