Installing new kernel on sheeva plug

Updating a linux kernel on a sheeva plug is just a bit more than running the packet manager.

Once the new kernel is installed on the disk, it must be activated in the flashloader :

sheeva:~# flash-kernel
Generating kernel u-boot image... done.
Creating backup of /boot/uImage.
Creating new /boot/uImage …
more ...

Open LUKS container on remote server

This article presents a clever solution to unlock a LUKS encrypted root partition on a remote server.

The idea is to start a remote SSH server through which the key can be fed to the LUKS subsystem.

more ...

Firefox not saving passwords

Having clicked once ago "never remember password", it seems that for some websites it's not that easy to change your mind afterwards.

A small bookmarklet allows to reset the settings for the currently loaded website. Load the page, reset the settings, fill in login+password and submit. Firefox should now …

more ...

Install debian squeeze on a sheevaplug

Ext4 support is only officially available since debian squeeze (6.9) release.

Instructions on how to setup a new debian using the official installer were found here. The installer method was prefered over the lenny tarball installation to get a better control over the installation. Only difference to the method …

more ...

Trouble with SATA-II disk

Switching from a SATA-I to a SATA-II disk (Samsung HM641JI 640 GB) showed incompatibilities between chipset used in laptop and HDD : 1+ time per second, syslog shows SATA trabsfer errors, leading to SATA bus reset et resync. Funny : this only occurs when reading bigger data (1MB+), but write accesses seem …

more ...

Change in apache vhosts files' format

Looks like there was a quite silent change in the format of apache's config files from ubunutu hardy to intrepid (maybe related to the move from debian to its etch release).

Ports.conf now has a statement

NameVirtualHost *:80

Which means all the vhost files (as in /etc/apache2/sites-enabled …

more ...

Another way of managing passwords

Instead of storing your passwords, why not re-generate them each time you need them ? It's the concept behind passwordmaker.

Sounds good, question is how good is the implementation of the hashes, as the safety of the generated passwords is directly related to it.

more ...

Tracking down apache segfaults

Delivery ends in the middle of a PHP page. Where's the rest of it ?

After some research, it came out that the apache logfile was reporting segfaults from the child processes. Unfortunately, this is not done in the domain's error.log, but in /var/log/apache2/error.log :-(

Lot of …

more ...

Compacting a virtualbox volume

One nice feature about virtualbox is that volume files only grow up to their size as you use them. However, after a certain time, it can be that a volume containing 1GB of data occupies 8GB on disk.

This is not really related to virtualbox but rather to the way …

more ...

Emacs and PHP/HTML mode

(X)Emacs can basically handle only one major mode. While this is fine for most applications, it is not very practicable for editing mixed HTML and PHP files, especially concerning indentation of lines.

Several possibilities exist to handle this situation :

more ...