Skip to content

{ Monthly Archives } November 2009

Force udev to reassign ethX identifiers in Ubuntu 8.04

Quick tip: If you have replaced your network cards in Ubuntu 8.04, or in my case imaged a Ubuntu install across many PC’s, and would like udev to redetect network cards and reassign ethX identifiers beginning with eth0, run the following command.
sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old
Then reboot the machine, and udev will recreate 70-persistent-net.rules, reassigning only [...]

Tagged , , ,

500 Server Errors in Wordpress when copying Wordpress installs

Part of my workflow when developing Wordpress based websites is to import a brand new Wordpress install into Subversion, then check it out and develop on my local machine using an all in one LAMP stack such as XAMPP. Once I’m happy with the results I then copy it across to a staging production server, [...]

Tagged , , ,

Some resources for fixing IE6 Wordpress site rendering

I’m in the process of deploying a website which has recently been rebuilt in Wordpress to take advantage of the CMS back end and easy administration. Though the site before Wordpress was originally working fine in IE6/7/8, Firefox, Safari, Opera and Chrome I’m now looking for any cross-browser issues that have snuck in during development. [...]

Tagged , , , , , , , , , ,

Creating a Netfilter kernel module which filters UDP packets

Last time we created a Netfilter kernel module which simply dropped all packets which gave the structure and functions that need to be implemented for a Netfilter module to work.
This time, we’ll extend the functionality to poke into the IP header, specifically the protocol field, in order to perform functionality specific to a packet type. [...]