Pi – Logging

sudo cat /var/log/auth.log – (Contains system authorization information) sudo cat /var/log/boot.log (Contains information that is logged when the system boots up) sudo cat /var/log/daemon.log (Contains information logged by the various background daemons) sudo cat /var/log/dpkg.log (Contains information that is logged when a package is either installed or removed using dpkg) sudo cat /var/log/syslog sudo cat […]

Pi – Ultimate 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:/localaddress/admin/settings.php?tab=blocklists (replace localaddress 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 […]

Pi – Security

Install an antivirus scanner Download it: sudo apt install clamav Update it: sudo freshclam (if it fails run this first and try again: sudo pkill -15 -x freshclam) Install a malware checker Download it: sudo apt install rkhunter Update it: sudo rkhunter −−update if the update fails, update the following file: /etc/rkhunter.conf as below: change […]

Pi – System Info

List of linux commands for gathering Pi specifications “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 Info) “hostname -I” (Hostname Info) “lsusb” (USB Devices info) “lscpu” […]

Pi – Updating

The ultimate update command… Run this from the pi bash shell sudo apt update && sudo apt upgrade –assume-yes && sudo apt full-upgrade –assume-yes && sudo apt autoremove -y

Pi – External VPN with Pi-Hole

Objective: The ability to configure your mobile/roaming device to route all your internet traffic through your home connection whilst utilising your LAN based Pi-Hole blocking DNS service.  Required: 1 x Raspberry Pi (with ethernet connection, monitor, USB keyboard/mouse) 8GB+ SD Card Windows PC with SD card reader your own internet connected network time to kill Resources […]