convert ogg to mp3

Today I googled for a program to convert ogg vorbis audio files into mp3 files – because my car player can’t play ogg files. I found hundreds of shareware programs with ugly UI’s and bad encoders.

At last I found a real cool one at – LameDropXPd did exactly what I wanted:

  • Let me drop in the ogg’s,
  • converted it using the best mp3 encoder – lame (IMHO),
  • tagged it and
  • saved it in the correct folder

secure wireless lan

On saturday I had to install another wireless lan and I used a D-Link DI-624+ router.When I searched for a method to generate a WEP or WPA password I found a very good page about the configuration of this router (its in german). It contains a link to software from a ct’ article that allows you to generate WPA and WEP keys – very usefull.I used the WPA-PSK encryption mode which is more secure than WEP.

improving console video mode

I wanted to improve the resolution of the console on a linux server. After reading some forums and HOWTO’s I found out that it’s very easy, you just have to add vga=MODE to your kernel parameters – where MODE stands for the desired screen resolution.The possible screen resolultions are listet here. These values are hexadecimal so vga=791 stands for 1024×768 and 16 Bit Colors (0×317).

mounting SATA disk on startup

A friend of mine had trouble with his VDR based on Debian Sarge – he added a SATA disk, partitioned, formatted an mounted it, added an entry in/etc/fstab and everything seemed to be fine – until he rebooted.When the system booted the disk was not mounted automatically at the mount point defined in /etc/fstab. After logging in and typing mount -athe disk was mounted correctly.

The problem was that the required modules for SATA were not loaded early enough. To fix this I did the following:

  1. Add the required module in the correct order in/etc/mkinitrd/modules (scsi_mpd, sata_via, sd_mod)
  2. Run mkinitrd -o /boot/new_initrd_filename
  3. Changed line initrd of desired boot menu entry in/boot/grub/menu.lst to name of new initrd file
  4. Reboot

new debian mail server

Today I finished the setup of my new mail server. Based on the recently released Sarge 3.1 I used the following configuration:

Of course the web interface and the IMAP server are only accessibly through a secure connection.

All the packages used for this configuration can be found in the debian repositories and were easy to install with apt-get. The configuration of the components was not to hard though there were some tricky things (I never thought it could be complicated to get apache2 running in secure mode only – see).

Maybe I’ll write a short HOWTO about it.