Category Archives: Linux

Hardening your PI: SSHD protection

      No Comments on Hardening your PI: SSHD protection

Steps to take to protect an internet-facing Raspberry PI (or other Debian) from brute-force SSH logins from subnets Note: Fail2ban 0.10.2 on 2020/12/22 Install firewall ufw and log analyzer fail2ban: sudo apt update sudo apt install ufw fail2ban (PiOS Buster: the sshd jail is enabled by default via /etc/fail2ban/jail.d/defaults-debian.conf) Copy… Read more »

Zabbix monitoring

      No Comments on Zabbix monitoring

What is Zabbix monitoring? Zabbix is an enterprise-class open source distributed monitoring solution. Zabbix is software that monitors numerous parameters of a network and the health and integrity of servers. Zabbix uses a flexible notification mechanism that allows users to configure e-mail based alerts for virtually any event. This allows… Read more »

Ubuntu 14.04 and up: Rename a volume group containing root

When checking my cloned Ubuntu 14.04 LTS VM, I noticed that it still contained the volume group name from the original, which is of course not desired. It seemed fairly simple, but I kept receiving an error with update-grub, reporting the old Volume Group name: /usr/sbin/grub-probe: error: failed to get… Read more »

Setting up a static IP address or Wifi on Raspberry PI 2 B

Setting up a static IP address or Wifi on Raspberry PI 2 B

Eth0 static IP address configuration On the latest version of Raspbian (in my case, Raspbian GNU/Linux 8), you should not use /etc/network/interfaces to set up your networks. All configuration has been offloaded to the dhcpcd client. For a static IP address on the eth0 interface, you’ll need to edit file /etc/dhcpcd.conf For… Read more »

Gmail as relayhost for Postfix

      No Comments on Gmail as relayhost for Postfix
gmail as relayhost for postfix

I just installed a new Ubuntu 13.04 server and thought I’d look into using gmail as relayhost for Postfix instead of Exim for a change. Postfix is the default MTA (mail transfer agent) on Ubuntu, so let’s set it up already… Installing packages: sudo apt-get install postfix ca-certificates libsasl2-2 libsasl2-modules… Read more »

Sharing Clementine song status in Empathy

      No Comments on Sharing Clementine song status in Empathy
clementine song status empathy

Found this handy python script for sharing Clementine song status in Empathy….. regrettably it did not work on my Ubuntu 12.10 desktop installation…. Apparently you have to add a line (see the second line) about the character encoding nowadays….. so just to make it easier for other people… here’s the… Read more »