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 ...

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 ...

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 ...

Power consumption due to boinc running on host

Date Sat 07 February 2009 By JHF Category Linux. Tags Apps

Very pragmatic measurement of power (W) consumption of my server with and without boinc client running (99% CPU load on idle) shows 40W difference !

CPU is a 2GHz Intel celeron, no idea how this scales for more up-to-date processors and boards.

However, with current energy costs, disabling boinc means savings …

more ...

Calling bash from SUID program

How do you make a shell script SUID ?

Unfortunately you can't directly set the 's' bit on the script. That is... you can but it will be ignored :-)

One of the possible hacks is to write a small C programm that will call the shell script. This executable can then …

more ...

Testing websites in multiples IEs while running Linux

No need to run Windows in a virtual machine, wine can do the trick, thus having IE run as a single window within the Linux desktop.

Software is called IEs 4 Linux and is able to install several IE versions (5, 6, 7) in parallel.

more ...