Aug 25 16:39

spark

spark

debian cryptosetup how to

cryptsetup -c aes create hda3-aes /dev/hda3 -y
mount /dev/mapper/hda3-aes /media/hda3-aes/
cryptsetup -c aes status media /dev/hdc
cryptsetup remove hdc-aes

debian dvd mencoder using xvid how to

xvid is a great way of compressing DVDs for back-up purposes. mencoder provides a 2 pass xvid encoder. However, xvid and lame must be installed when mplayer is compiled.

0) compile xvid:-
cd build/generic && ./configure && make && make install && ldconfig

1) compile lame
./configure && make && make install && ldconfig

3) compile mplayer

./configure && make && make install && ldconfig

To be sure that xvid gets compiled check that xvid is shown in the configure output as follows:
Enabled optional drivers:
Input: vcd dvb

debian vlc stream server compile how to

In order to compile vlc it is necessary to first compile lame and ffmpeg. As a side note it is worth adding xvid to ffmpeg by compiling that first. As i was using vlc for server streaming i dint need any of the GUI components. The build sequence is shown below:-

0) compile xvid:-
cd build/generic && ./configure && make && make install && ldconfig

1) compile lame
./configure && make && make install && ldconfig

2) compile ffmpeg:-
./configure --enable-libmp3lame --enable-shared --enable-pp --enable-gpl && make && make install && ldconfig

3) compile vlc:-

Jul 01 13:38

CheeChee the cat

My cat CheeChee has just got cancer. He is 19.5 years old and out lived his brother CousCous by about 10 years.

debian spamassassin how to

This how to assumes you have a working email server such as sendmail or equivalent and procmail. The local_procmail sendmail feature is not required for this as spamassassin will be configured on a per user basis.

1) create the following directories:-
~/.procmail
~/.spamassassin

2) create a file named ~/.forward and add the procmail pipe configuration (including quote maks).
"|/usr/bin/procmail"

3) create a file named ~/.procmailrc and add variables and an include file.

VERBOSE=no
MAILDIR=/var/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log

IBM ThinkPad 600E sound how to

I just spent hours getting sound working on my IBM ThinkPad 600E.

The key requirements are listed here.

1) The use of ACPI and PNP must be disabled in the kernel. This is done by passing the following arguments at boot using grub or another boot loader.

acpi=off pnpbios=off

2) The following paramaters have to be added to /etc/modprobe.d/sound

options snd-cs4236 isapnp=0 port=0x530 cport=0x538 irq=5 \
fm_port=0x388 sb_port=0x220 dma1=1 dma2=0 isapnp=0

It should work now, check lsmod to see if the correct driver has been loaded.