Posts from 2012-01

3Dconnexion SpaceMouse Pro with Ubuntu 11.10

Installing the Proprietary Driver

mkdir -p ~/Downloads/3D3dxware-linux-v1-6-0.x86_64
cd ~/Downloads/3D3dxware-linux-v1-6-0.x86_64
# ↓ Get the latest from
tar -xf 3dxware-linux-v1-6-0.x86_64.tar.gz
sudo ./

And answer the questions in the following way:

  • Enter (Continue)
  • 4 (Linux)
  • Enter (start with every system start via /etc/inittab)
  • 1 (USB device)


Read on

Logitech G110 on Ubuntu Linux

There is a nice tool to configure the keyboard including a kernel driver provided by the Gnome15 project. Here is how you install it:

Version: GnuPG v1.4.5 (GNU/Linux)


Read on

New Linux Kernel 3.3 Features

What Linux 3.3 will bring:

  • A new Ethernet teaming driver - a userspace-driven alternative to the existing bonding driver
  • Integration of Open vSwitch
  • Faster resizing of ext4 partitions
  • Better HDMI audio support for Radion and AMD graphics cards
  • "Hot Replace" for software RAID (see 1 and 2)
  • ... much more


Read on

Installing iRoot from TATA Institute on Mac OS X

iRoot is a product of the India-based Neutrino Observatory collaboration lead by Prof.Naba Mondal at the Tata Institute of Fundamental Research.
It is a simple plotting and analysis tool based on the popular ROOT from CERN and is primarily intended for analysis using the TTree structures in ROOT. iRoot is supported...

Read on

DB WebSign with Mac OS X 10.7

I ordered a WebSign banking smart card for Deutsche Bank in January 2012 and I just got it. So the first thing, I did, was checking what it actually is using pcsc_scan:

philipp@lion:~$ pcsc_scan 
PC/SC device scanner
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <>
Compiled with PC/SC lite version: 1.4.0
Plug'n play...

Read on

Feitian PKI Smartcard (FTCOS / PK-01C)


  • PIN code security.
  • Support ISO 7816 features / 64KB data space.
  • Support RSA keys up to 2048bit / standard X.509 v3 certificates.
  • On-board DES, 3DES, MD5, SHA-1, SHA-256, RSA 1024,RSA 2048 algorithms.
  • OpenSC compatible (GNU/Linux, Mac OS X, Windows)
  • Both PKCS#11 and MS-CAPI interfaces.
  • Hardware random number generator.


The PKI Smartcard works perfectly for me in the...

Read on

IPv6 Tools on the Command Line


neighbour discovery:

# trigger the discovery
ping6 -c2 -I eth0 ff02::1
# print the results:
ip -6 neigh

Or with the network interface specified in a shell variable and the commands put in a single command line:

ping6 -c2 -I $IFACE ff02::1 && echo -e...

Read on

VPN with tinc and IPv6 (Using OpenWrt Routers)

The vpn software tinc has full support for IPv6 according to its projects' web site.

Here are the features in short:

  • Encryption, authentication and compression
  • Automatic full mesh routing
  • Easily expand your VPN
  • Ability to bridge ethernet segments (check this)
  • Runs on many operating systems and supports IPv6

Installing tinc

On OpenWrt Routers:

opkg update

Read on

SQLite DB Introspection

If you have an SQLite database file and want to check its structure (programmatically)

SELECT * FROM sqlite_master;

To do this via Python as simple as possible, run:

conn = sqlite3.connect("your/database.sqlite")
c = conn<span...

Read on


search using SQL

SELECT * from bash_history where  command LIKE '%modprobe%'

% is the wildcard character in SQL!

SQlite specifics


Read on

Compile MJPG-Streamer from Source on Ubuntu 11.10

Instead of downloading an old .deb package and installing it using sudo dpkg -i mjpg-streamer you can also just get the source, compile and run:

sudo apt-get install libjpeg-dev subversion imagemagick
cd ~/Downloads/
svn co mjpg-streamer
cd mjpg-streamer/mjpg-streamer
make clean all

To try a first start, run:


Read on

Installing the newer libccid v1.4.4 on Mac OS X 10.7

I tried libccid v1.4.5 before but couldn't get it to compile. Here are all the needed steps again as Terminal commands to get 1.4.4. to work:

cd ~/Downloads
curl -k -O
tar -xf ccid-1.4.4.tar.bz2
cd ccid-1.4.4
sed -i '.bak' 's/-arch i386 -arch x86_64/-arch x86_64/g' ./MacOSX/configure
sudo make install</code>

If anyone is interested,...

Read on