Ebay

Auction sniping is evil

Published
Categorized as Rants

Netgear WG511

The Netgear WG511 is a Cardbus 802.11g adapter. It’s actually a very good one, except for one serious issue: They changed the specification without changing the model number. As far as I’m concerned, this is deliberate deception on the part of Netgear and I wrote them a letter telling them so. My response consisted of… Continue reading Netgear WG511

Published
Categorized as Rants

Linksys PSUS4

The Linksys PSUS4 is a neat little print server that supports a single USB attached printer. Just one problem, it doesn’t work. This device is one of those infuriating things that’s enough to put me off Linksys for good, despite some of their other products being excellent. The basic issue is that the IPP (Internet… Continue reading Linksys PSUS4

Published
Categorized as Rants

Moving Filesystems

Just some commands to remind me how to move non-raid filesystems to mdadm raid1 Use fdisk to create two identical partitions of type fd – raid autodetect Create the new array mdadm –create –verbose /dev/md0 –level raid1 –raid-disks 2 /dev/hda1 /dev/hdb2 Mount the new filesystem mkdir /mnt/newdisk mount /dev/md0 /mnt/newdisk Copy a filesystem to it… Continue reading Moving Filesystems

Published
Categorized as Debian

Encrypted Filesystems

My efforts to load an encrypted filesystem under Debian Sarge using a 2.6 kernel

Published
Categorized as Debian

IRC Stuff

Some useful IRC commands that I constantly forget: /msg nickserv register [password] [email] [additional info] Register a nickname /ignore JOINS PARTS QUITS NICKS Ignore joins, parts, quits and nickname changes /ctcp [nick] version Returns details of the irc client being used by [nick] /mode [chan] +o [nick] Promotes [nick] to Operator status on channel [chan]… Continue reading IRC Stuff

Published
Categorized as General

Database Backup

This script will dump a mysql database into a given directory and keep a 7 day rolling history. Parameters should be fairly self-explanitory. This needs to be run daily via cron. #!/bin/bash DATE=`date +%y-%b-%d` DESTDIR=/home/duplicity/wordpress DATABASE=myblog DB_USER=root DB_PASSWORD=password cd ${DESTDIR} /usr/bin/mysqldump -c –user=${DB_USER} –password=${DB_PASSWORD} ${DATABASE} > \ wpdump_${DATE} find $DESTDIR -name “wpdump*” -mtime +7 -print… Continue reading Database Backup

Published
Categorized as WordPress

Backing up with RSync

Whilst I use Duplicity to perform my mass backups on a nightly basis, it’s comforting to have some components backed up on a much more regular basis and stored in an instantly recoverable format. RSync solves this problem very well for me. The hardest part of getting RSync working for me is always getting the… Continue reading Backing up with RSync

Published
Categorized as Debian

ROT13

ROT13 is a very simple encryption algorithm that rotates the alphabet by 13 places. In other words, A becomes N and M becomes Z. Obviously it’s pretty useless as a secure cipher, but it’s great for covering up something in a posting that a reader might not want to see, such as the murderers name… Continue reading ROT13

Published
Categorized as Debian

phpMyAdmin

During an upgrade of WordPress, I realised it was about time I figured out how to backup my databases. This led to the requirement for phpMyAdmin, and this section. There doesn’t seem to be any Debian packaging for phpMyAdmin, so I just went to the homepage and downloaded it. It consists of a single tarball… Continue reading phpMyAdmin

Published
Categorized as WordPress

INN – News Server

I’ve been using INN for long enough now to appreciate some of its quirks and features. Because of this, I don’t really want to install it from a package, but much prefer to build it from the source. One of the primary reasons for this is that INN gets big, even with just the small… Continue reading INN – News Server

Published
Categorized as Debian

Postfix Config

Debian’s Postfix configuration is pretty much as Fedora, the only differences I’ve noticed are the aliases are in /etc instead of /etc/postfix, and the origin parameter is read from a file /etc/mailname. The later of these two caused me endless problems during testing as mails were getting bouced to the wrong domain when I sent… Continue reading Postfix Config

Published
Categorized as Debian

Kite Buggy

Received kite and buggy yesterday after getting the harness in a seperate package last Saturday. Order was placed on Friday, so not bad delivery. Harness came from Powerkiteshop, whilst everything else came direct from Flexifoil, hence seperate shipments. One big problem; buggy came without a rear axle! This apparently happened because usually wide wheels and… Continue reading Kite Buggy

Apache2 SSL on Debian

How to configure Apache2 on Debain with support for SSL. In other words, how to serve https.

Published
Categorized as Debian

Kite Package

Just got reply from The Power Kite Shop. Copied below so I don’t forget to order the beast! Steve, The package below should be fine – please catch up with Richy Stones one of our team riders at Westward Ho! http://www.powerkiteshop.com/profiles/richystones.htm Flexifoil Buggy with extra wide wheels Flexifoil Bullet 4.5m with lines and safety system… Continue reading Kite Package