Posts Categorized: linux

Improving the Munin Layout

Munin Alternative Template

Following on from Fran Diéguez’s post about Munin Layout I found that the layout didn’t work for me – there appeared to be a few broken links – or maybe I hadn’t deleted the style.css file. In any case I decided to fiddle with the template styles from Fran’s download and I have uploaded the… Read more »

DriveReady SeekComplete Error

On some CentOS VMs running on VMWare I was seeing the following errors in the syslog: Jul 19 09:35:08 hostname kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error } Jul 19 09:35:08 hostname kernel: hdc: drive_cmd: error=0x04 { AbortedCommand } Jul 19 09:35:08 hostname kernel: ide: failed opcode was: 0xec Looks like while installing munin-node a plugin… Read more »

Fabric: Getting Started Tutorial

Hopefully this may help someone else out there who is looking for a good excuse to use Fabric in anger. I install Fabric on my local Ubuntu desktop using: sudo apt-get install fabric With Fabric installed I created a new directory for playing around and inside that folder created a file named as follows:… Read more »

Top of the Tops 2013

A revised list of my favourite ‘tops’ htop htop can provide a little more info than the traditional ‘top’ – I like how it shows the amount of memory usage minus the cache. iftop To check network connectivity use iftop: iptraf Like iftop but with more options and even the ability to show traffic by… Read more »

Some Linux LPI 102 Exam Questions

I just passed my Linux LPI 102 exam today and thought I would try to remember a few of the 60 questions in case I ever have to take a refresher – here is about half of them. I can’t remember the wording exactly for these questions so take with a pinch of salt: 1…. Read more »

Command Line Wireless Trouble-shooting

I wanted to compare the command line output of a working Wifi connection versus a connection at a location that was giving us trouble. To do so I used Ubuntu (12.10) on a laptop and used the following commands – in a script if necessary. First a configuration file to use with the wpa-supplicant –… Read more »

Fail2Ban Custom Action

I decided to experiment with creating a central database to hold the IP addresses banned by various servers / honeypots running Fail2Ban – so that the information could be used as a source for IPtables or TCPWrappers to protect other servers. I created the file /etc/fail2ban/action.d/qshield.conf and in it placed the following: [Definition] actionstart =… Read more »

Dynamic DNS to Raspberry Pi

I now have my Raspberry Pi hanging off my router – just two cables – a USB cable to the USB port on the router for power and one ethernet cable. 1. Static IP Address I edited the file: /etc/network/interfaces replacing: iface eth0 inet dhcp with iface eth0 inet static address netmask gateway… Read more »

FFmpeg Convert FLV to AVI

I was having difficulty converting an FLV file saved from iPlayer. The command to successfully convert the file was: ffmpeg -y -i input_video.flv -ar 22050 -b 2048k -f flv output_video.avi

Samsung TV Channel Editing


I wanted to configure the channel numbers on my Samsung LE40C580 but using the remote control on the TV was a bit frustrating. I found that within the TV menu I could export/import the channel list to a USB drive. Changing the file extension to .zip allows extracting the file to view the contents: I discovered… Read more »