SSH tunnelling to your home network

SSH tunelling is no big secret, and there are loads of guides out there that explain how it is done in generic terms. This guide is slightly different, as it explains how to tunnel to hosts that are not publicly addressable. For example, if you have a Linux server as your home network gateway thenContinue reading “SSH tunnelling to your home network”

Configuring sendmail to use a Smart Host

Chances are if you have a Linux server in your home, you’ll want it to be able to send you emails, e.g. its daily logwatch or the output from cron jobs. But most ISPs block SMTP so you can’t directly send emails from your server to wherever they need to go, which is what theContinue reading “Configuring sendmail to use a Smart Host”

Checking for the latest kernel with Nagios

I’ve just written a module for Nagios that will determine if the currently running kernel is the latest kernel available on the system. It will not tell you if there is a newer kernel in a yum repository or similar. The main gotcha is that you need an RPM-based system for my script to work,Continue reading “Checking for the latest kernel with Nagios”

Changing the verbosity of wpa_supplicant on Ubuntu

Sometimes you need to change the log verbosity of wpa_supplicant for debugging purposes. First check which log verbosity you are currently running with. ps -ef | grep wpa_supplicant | grep -v grep -d represents verbose -dd represents extra verbose To change the log verbosity, edit /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service and add -d or -dd as appropriate. Example: [D-BUSContinue reading “Changing the verbosity of wpa_supplicant on Ubuntu”

Automated backups on Linux

In this article I will talk you through how to set up automatic backups from your Linux computer, to another Linux/Unix computer of some description. This works for OS X, too. I have tested these instructions on Fedora and Ubuntu. These backups will use rsync, a handy program for copying only the files that haveContinue reading “Automated backups on Linux”