Archive for the ‘Linux’ Category

LPI training

Saturday, July 30th, 2011

Our LPI trainer is yet another work in progress. You can use our first sample questions to train for LPIC-1, exam 101: http://pygmalion.nitri.de/lpi.

Convert a WEP passphrase into hex

Monday, April 18th, 2011

Traveling the world you may find yourself in a place where the Wi-Fi access point is WEP protected. The owner can only provide you with an alphanumeric passphrase, whereas your Linux notebook expects you to enter the corresponding hexadecimal key. Somewhere on the web we found the following code to ...

Vodafone UMTS: unwanted image compression

Tuesday, February 15th, 2011

When surfing the web over Vodafone UMTS in Germany, you may notice that JPEG images are compressed and displayed in low quality. Press Ctrl-F5 (Strg-F5) in your browser to see the original images on the page. There are several ways around this. Solution 1 (MS Windows) Use Vodafone's HighPerformance Client to set ...

Wardriving using an Ubuntu 10.04 notebook and a Garmin Etrex

Thursday, February 3rd, 2011

Most GPS software that ships with Ubuntu 10.04 uses gpsd to retrieve data from the GPS receiver. So make sure that you have gpsd installed. Unfortunately the new JSON protocol used by gpsd is not supported by some applications. You need to install ...

WDR 2 playlist GNOME panel applet

Thursday, November 25th, 2010

The applet retrieves the current playlist of the German WDR 2 radio channel and displays it in a GNOME panel. It can easily be modified to fetch and display other data from the web (e.g. playlists, headlines, weather) if you are familiar with regular expressions. Download: playlist_wdr2.tar.gz

Default Glade window sizes

Thursday, October 21st, 2010

By default, GtkWindow objects are displayed as compact as possible. In order to specify the preferred window dimensions, first set the visibility of the window to "No" in Glade Interface Designer (properties -> common tab.) In the code of the window class, call set_size_request(x,y) before making the window visible. E.g.: class appgui: ...

Using a cellphone as a GPRS modem in Ubuntu (8.04)

Saturday, May 1st, 2010

We're using a LG KC 910 Renoir. Connect the phone to your computer over the USB cable. Accept the connection in "PC Suite" mode or something similar (that is: not as a mass storage device). Make sure you have the wvdial package installed. Then type: sudo wvdialconf /etc/wvdial.conf The device (e.g. ttyACM0) will be ...

Bypassing a cranky BIOS: boot from CDROM

Monday, June 23rd, 2008

After a major crash of our Acer Aspire 1642 the hard disk needed to be replaced. After booting from a life CD we successfully installed Ubuntu Gutsy on the new drive. Unfortunately, after reboot the BIOS appeared to be completely blind to it. A BIOS upgrade would not fix the ...

Pinnacle PCTV USB2 on Suse 10.x

Wednesday, June 4th, 2008

Retrieved from the old wiki: To get the Pinnacle USB2 device working you'll need the kernel module for the em28xx chipset. This module is not included in the Suse distribution, so obtain the video4linux package v4l-dvb from linuxtv.org. Note: You do not need the usbvision package. It only supports USB1. The sources of ...