Jan 252012
 

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 http://www.3dconnexion.com/service/drivers.html
wget http://3dconnexion.s3.amazonaws.com/79108370-9342-3437-a063-4ed4c07cfa86?response-content-disposition=attachment%3Bfilename%3D3dxware-linux-v1-6-0.x86_64.tar.gz&AWSAccessKeyId=AKIAIR6EKS4F6GZY347Q&Expires=1327508645&Signature=s%2F7R8LHm39hXO4hxL8Igh%2FpUDfE%3D
tar -xf 3dxware-linux-v1-6-0.x86_64.tar.gz
sudo ./install-3dxunix.sh

And answer the questions in the following way:

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

Unfortunately, the driver needs an older version of a library which is not being shipped with Ubuntu 11.10 anymore (/usr/lib/libXm.so.3):

$ sudo /etc/3DxWare/daemon/3dxsrv -d usb
/etc/3DxWare/daemon/3dxsrv: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

Jan 232012
 

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

echo '-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.5 (GNU/Linux)

mQGiBE3HD/cRBACcaW+ghDnPPCDtkuq3QWkGE3hRgfmnbtgLjC3oMqQ+03Pqsy1o
IHI5XysykjsigP9RECWXjklKEanaCA9susiQgXE9oFROBeD9055r3rtFf4yXi6YJ
KHgaISFRBMAGmxBg+tYMoc2tzHYmEhfS5fJUigOjtyvdtWlYG0cW4bP46wCgpooY
RQDp9hYkpOcXRzY8nBbQ55ED/Rp8pVLrMkIu9pzNw5uYLyWHonrOsaUsXkvy9u51
yza0TbkkKAT/NOy2cQy8E9lBtAlMLSafMDgWjmCPouoMWviMnUKx/gOL3kCsO79V
ZCONULeU9DVjB3AbcARLVL+qgMdMYHzKcRsIMl7i0Wq3asEoRUw1tatsTpaxi9Rs
lhSgA/9SJFP3EW8wBm2BeBXk5NjDyMlRRCtDYfFx7NilYxoRVc/TUkKiwEHAvi8D
7PsL4ofC5eNtXxCoGKeBXct3dfMiuJhlCSrqZbJHJZK7nVPzVgmhB8TfCsxkNh03
udK61atVUNq54zgQonz6oX/EZHuQe0VnVENULmeGmkaimsfZc7Q+aG9tZTp0YW5r
dGFydGEgT0JTIFByb2plY3QgPGhvbWU6dGFua3RhcnRhQGJ1aWxkLm9wZW5zdXNl
Lm9yZz6IZgQTEQIAJgUCTccP9wIbAwUJBB6wAAYLCQgHAwIEFQIIAwQWAgMBAh4B
AheAAAoJEGi0IqJ7r+i3TAYAnRDUZs0j0fETb6pASV43YffPBYxmAJ9S4pvAF78v
g9JASGgZ5RkRkKQVdohGBBMRAgAGBQJNxw/3AAoJEDswEbdrnWUjXb8AoIhjj7DO
yDOm3DM8+NT2Lm78SJijAKCEFeZrWc4R/bw6+vAYVLUNVWFzHA==
=KcVR
-----END PGP PUBLIC KEY BLOCK-----' | sudo apt-key add -
sudo sh -c "echo deb http://www.gnome15.org:9999/$(lsb_release -cs) ./ >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install gnome15-ubuntu gnome15-kernel

Reboot.

Run g15-config and set Driver to Kernel Drivers.

Resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Jan 212012
 

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

Resources

Jan 202012
 

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 by a user-friendly GUI designed using Qt.
If your data is stored in TTree stuctures and you want to perform simple analysis with your data without writing any piece of code, iRoot is for you. It has GUI interfaces for most of the jobs that one is most likely to perform with TTree data. Fitting, analysis with PROOF, converting TTree data to ASCII, uploading plots to the cloud etc., are some attractive features to mention.

Jan 182012
 

Features:

  • 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.

Details

The PKI Smartcard works perfectly for me in the Feitian R-301 SIM reader. The reader doesn’t need a driver from the vendor (on Linux and Mac OS X).

Initialization

 opensc-tool --atr

Using reader with a card: Feitian SCR301 00 00
3b:9f:95:81:31:fe:9f:00:65:46:53:05:30:06:71:df:00:00:00:80:6a:82:5e

Jan 172012
 

Linux

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:

IFACE=eth0
ping6 -c2 -I $IFACE ff02::1 && echo -e "\nIPv6 Neighbours:\n" && ip -6 neigh

Mac OS X

Neighbour discovery (command for IPv4 was arp -a -n):

ndp -a -n  # the -n prevents ndp from reverse looking up the IPs

Windows

Most of the standard network utilities of Windows will also work for IPv6 related matters. Standard utiilties are:

Jan 152012
 

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
opkg install tinc

On Ubuntu / Debian:

sudo apt-get update && sudo apt-get install tinc

On Mac OS X using Homebrew (you also need TunTap for OS X):

Jan 112012
 

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.cursor()
c.execute('SELECT * FROM sqlite_master;')
for row in self.cursor:
    print row

Resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)