Wednesday, 21. March 2018 03:10



Tools and scripts

Compiled things

Games and fun


Sponsored by

Web VM

2010-06-20 16:29
Twitter article

Die Web VM ist eine vorinstallierte virtuelle Maschine mit Debian 5.0, die einen Apache-Webserver, die MySQL-Datenbank, PHP und weitere für einen Webserver benötigte Komponenten enthält.

Einstellungen ändern

Als root aufrufen: /setup/setup Zum ändern von:
  • IP
  • Netzwerk
  • Broadcast
  • Gateway
  • DNS-Server
  • SSL-Zertifikat
  • SSH-Schlüssel
  • MySQL-Paßwörter
  • System-Paßwörter



  • Name: root, Paßwort: test
  • Name: test, Paßwort: test


  • address
  • netmask
  • network
  • broadcast
  • gateway
  • DNS


  • Webserver-Benutzer: www-data
  • Verzeichnis: /var/www
  • Testseite:



Dieser Benutzer kann für den späteren Gebrauch durch PHP-Skripte verwendet werden.
  • Kann nur SELECT, INSERT, UPDATE, DELETE auf localhost
  • Benutzer: webvm
  • Paßwort: test


Nur für die Administration verwenden.
  • Benutzer (Vollzugriff): root
  • Paßwort: test


  • Benutzer siehe unter "Vollzugriff"
The Web VM is a pre-installed virtual machine with Debian 5.0, that contains an Apache webserver, the MySQL database, PHP and some other components that are needed for a webserver.

Changing the settings

Run as root: /setup/setup This changes:
  • IP
  • Network
  • Broadcast
  • Gateway
  • DNS server
  • SSL certificate
  • SSH key
  • MySQL password
  • System password

Default values

System users

  • Name: root, password: test
  • Name: test, password: test


  • address
  • netmask
  • network
  • broadcast
  • gateway
  • DNS


  • Webserver user: www-data
  • Directory: /var/www
  • Test page:


Datenbank user

This user can be used for your own PHP scripts.
  • Only SELECT, INSERT, UPDATE, DELETE on localhost
  • User: webvm
  • password: test

Full access

Use for administration only.
  • User (full access): root
  • password: test


  • Userinfo is listed under "Full access"


Download the OVF for the Web VM here 208 MB.


2012-12-20 21:45
Twitter article

ExtraMaus is a tool that shows an additional mouse cursor. What sounds silly first, is needed when you want to record your desktop with VLC, because VLC will not include your mouse cursor in the captured video. To VLC the mouse is hidden and the mouse cursor is invisible in the video. To solve this, ExtraMaus shows a mouse shaped window - that is seen and therefore captured by VLC - where your mouse is.

Download extramaus.c and compile it on your Linux distribution. You will need the X11 development packages installed. Compilation instructions are included in C file.

Start extramaus before you want to record a desktop video with VLC.

Build modules for Raspbian

2013-11-28 22:00
Twitter article

This howto is about to build modules on the Debian-based Raspbian distribution for Raspberry Pi. This howto is similar to Build modules for Raspbmc and some of the information given there may be usefull for you too.

Again the module for the TP-LINK TL-WN727N USB WLAN stick should be compiled and installed.

I had build the module on my own and the following articles gave me good hints on this way: D-Link DWA-140 B3 (2001:3c15) wird nicht erkannt komme nicht weiter and Installing TP-LINK WN725N V2 driver (Kernel 3.10.13/September Update).

You may find the following howto useful even if you don't own a TL-WN727N, because you can adopt the basic building steps for your hardware.

Log in via SSH

Use an SSH client to log into your Raspberry Pi

ssh pi@[current IP of you Raspberry Pi]

Do this in the shell

#Become root
sudo bash

#Update Rasbian to get the current kernel installed

#Reboot the system to boot from the (new) kernel

#Become root again
sudo bash

#Install basic packages for building
apt-get -y install build-essential bc gcc make wireless-tools
ln -s /bin/true /bin/dkms

#Get the matching kernel headers package
cd /usr/src
headerPkg=$(wget -qq -O - | grep deb | sed 's/"/\n/g' | grep deb$ | grep $(uname -r))

#Install the package
dpkg -i linux-headers-*.deb

#Install missing dependencies
apt-get install -f -y

#Get WiFi source

#Extract it
tar xfz 4365112-2011_0719_RT3070_RT3370_RT5370_RT5372_V2.5.0.3_prepared.tar.gz

#Build and install the module
cd 2011_0719_RT3070_RT3370_RT5370_RT5372_V2.5.0.3_prepared
make install

#Remove old Kernel modules
rm -r /lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt2x00

#Reboot to make the system use the new WiFi module

Change and build Debian packages

2010-07-06 09:47
Twitter article

Sometimes it is needed to create new Debian packages from changed/patched source codes. This howto will show the basic tasks to change the source code and make a new Debian package from the modified sources. This howto will use the grub package from Debian Lenny and the ext4 patch from as example. Of course you can create other package with your new knowledge lerned by this howto ;-)

  1. Create a new directory and jump to it. This directory will contain all parts of the new package.
  2. Grab the source code: You will most likely start from an existing Debian source package. To fetch it, get its code via:

    apt-get source grub

    This will create the directory "grub-0.97" and some other files.
    Hint: If you have the source file(s) (*.tar.gz/bz2) and the dsc file, you can extract them via:

    dpkg-source -x packageNameIWantToExtract.dsc

  3. To get the packages installed, that are needed to build grub, do a:

    apt-get build-dep grub

  4. Go to the directory "grub-0.97"
  5. Now it's time to download the patch to get included into our package. All patches are stored in the subdirectory "debian/patches". So we will place the ext4 patch in this directory. This can be done via

    wget -O debian/patches/ext4.patch
  6. To inform the Debian package build tools about the added patch, we need to add its name in the file debian/patches/00list. To do so, you can use the nano editor:

    nano debian/patches/00list

    Add a new line and write "ext4.patch". Then save the file by pressing Ctrl+X.
  7. Now it's time to give our package a new version name. The version number of the original package is "0.97" and we want to add ext4 support. So we

    debchange -v"0.97-ext4"

    An editor will be openend and now it's time to give some information about the changes we did to our package. Add your comments after the occurring "* ". Here we just write "Added ext4 support".
    If you want to add another entry to the changelog, you can do this by:

    debchange -a

    Hint: debchange will mark your changes with an email address created by your username and the name of your computer. E.g. if your user name is foo and your comuter is named, debchange will assume foo@bar as your eMail. If you want to use a different eMail address, you can set the environment variable "DEBEMAIL". E.g. with:

    export DEBEMAIL=""

  8. Hints for other packages: The grub package is quite simple because it doesn't contain any libraries. If we have a more complicated package, it might be needed to adjust settings in the file "debian/rules". E.g. the parted package needed to have the LIBPKGVER variabe get incremented. parted's rules says: When incrementing this because of a new library SONAME, add an 'a' to the end if there isn't already one, otherwise increment the letter that is already there. When incrementing this, also set DEPVER to the current package version. But you may need to change other things in rules.
    If your packages contains libraries it is most likely that it replaces the libraries of the original package. APT may run into an error, if you don't tell it, that that your package contains never versions of the libraries. To do so, edit the file debian/control. There you should write the old library name(s) (maybe together with a condition like ( (<< 1.4.24-2) ) ) in the lines starting with "Conflicts" and "Replaces".
  9. Now it's time to compile and build our changed package after doing our changes. The building is done by a simple:


Trinity Desktop Environment howtos

2011-02-20 13:52
Twitter article

The "Trinity Desktop Environment" continues the development of KDE 3 as a fork. There are packages that can be installed on Debian (Lenny and Squeeze) and Ubuntu.

Running Trinity applications, if KDE 4 and Trinity are installed together

Scenario: You have installed KDE 4 (on Squeeze) and the Trinity packages and run the Trinity desktop. When you have installed applications with the same name (e.g. kate) and want to run them from the konsole, it may happen that the KDE 4 version and not the Trinity pedant is called. To ensure that the Trinity application is run (if it is existing) put the following in your ~/.bashrc, after then (maybe existing) PATH declaration:
	trinityCount=`ps -A | grep kicker$ -c`
	if [ $trinityCount -gt 0 ]
	export PATH

Changing charset for kio_ftp

If you want to access an FTP server that uses a different encoding that UTF-8 for directories and file names, the names will be converted wrongly during the file transfer. To fix this behaviour, you can adjust the file ~/.trinity/share/config/kio_ftprc to change the encoding. Just add the following line (maybe you have to create the file), if you want to change the encoding for the FTP server with the IP to iso 8859-1:
	Charset=iso 8859-1

<< Previous articles

My other projects

m23 software distribution

m23 is a software distribution and management system for Debian, Ubuntu and Kubuntu. With m23 you can install and administrate hundreds of clients in an easy way!

Visit the m23 project at SourceForge:

Grass Roots Democracy Machine (GRDM)

The GRDM, the Grass Roots Democracy Machine is a software development project designed to create a voting system. The aim is to implement the basic goals of anonymous and comprehensible votings into software.

Visit the GRDM project at SourceForge:


khtml2png is a command line program to create screenshots of webpages.

Visit the khtml2png project at SourceForge:

based on devalcms