Posts Categorized: linux

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:


So that my Pi would be available at a static address. I… 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:

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 »

Bash Shell Script to Automate FTP File Transfer

A little script to send a backup file to a remote FTP server:

Then run it every day from Cron.

IPTables Custom Chain for SSH access

I wanted a custom IPTables firewall chain to allow SSH access to a machine. The idea is that users hit a web page that adds their dynamic IP address to a list and then a script inserts that IP address into IPTables to allow SSH access. I achieved this as follows. In /etc/sysconfig/iptables I added:

Read more »

Adaptec Hardware RAID controller on Sun 4150

On our Oracle Sun x4150’s the Hardware Raid can be checked after installing the StorMan software which is available (as StorMan-6.40.x86_64.rpm)  in the software bundle for x4150s available after logging in to the Oralce support website and locating the downloads for x4150s. The download is pretty big (931MB) when the 39MB RPM is all you are… Read more »

Keeping Services Alive with Monit

On CentOS install monit as follows:

Make sure it starts automatically:

The main configuration file is at /etc/monit.conf but this file loads in any files under /etc/monit.d which is where we will place our files. First comment out the following sections in /etc/monit.conf as we will be defining this in the next step:… Read more »

Monitoring Child Internet Use on Ubuntu

So I wanted to keep an eye on what my daughter was up to on facebook etc. In addition to using OpenDNS and the Nanny parental control software in the Ubuntu Software Center I would like to use DansGuardian but that might take a little more time. One of the things I have done quite… Read more »

Skipfish on CentOS

I’m using CentOS 6.2 and needed to install the following dependencies before Skipfish would ‘make’: yum install pcre-devel openssl-devel libidn-devel libidn2-devel Some of the errors listed before this included the following:


Photoshop CS5 on Linux

Great instructions for installing and running Photoshop CS5 via Wine: