Posts with the category Ubuntu 11.10

VLAN – on Ubuntu, Arch Linux and Mac OS X



sudo apt-get install vlan
sudo su -c 'echo "8021q" >> /etc/modules'
sudo modprobe 8021q

Usage and Configuration

# adding a vlan to a network interface:
ip link add link eth0 name eth0.10 type vlan id 10
# configuring the vlan:
ip addr add brd dev...

Read on

Using the Huawei E352s-5 UMTS USB Modem Stick with Ubuntu and OpenWrt

The Huawei E352s-5 is being marketed as web'n'walk Stick Fusion III by German Telekom. This blog post describes how to use it on Linux systems with the distributions Ubuntu and OpenWrt.

The Features First

  • Supported Modem Standards: HSPA+, HSUPA, HSDPA, UMTS, EDGE, GPRS
  • Highest speeds with HSPA+: up to 21 MBit/s download and...

Read on

Sound Card Test using Linux

You can use lxsndtest on Linux based computers to test the performance and quality of your soundcard. You should read its user guide for help on installation and usage.

lxsndtest ist based on the older xsndtest (which you can compile using some hints from this build...

Read on

Migrate Existing ext3 Filesystem to ext4

The following collection of commands shows how to migrate your partition formatted with ext3 to an ext4 filesystem. The safest way is to do this when the partition is unmounted. However, if the partition to convert is where the root filesystem of your Linux distro is stored and you don't...

Read on

radvd – The Linux IPv6 Router Advertisement Daemon

Installation on Ubuntu / Debian:

sudo apt-get update && sudo apt-get install radvd

A typical radvd configuration file /etc/radvd.conf to advertise the prefix 2001:db8:2530:fa13::/64 for autoconfiguration on the network connected to the interface eth0 and to advertise the machine running radvd as a router for the local network (based...

Read on

Keeping SSH Tunnels Open Reliably

A (reverse) SSH tunnel can help you being reachable from outside a NATed network or behind a firewall. Keeping the tunnel open when your IP address changes or Internet connection is shaky can be taken care of by autossh. See below for the instructions.


On Ubuntu / Debian:

sudo apt-get update...

Read on

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

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

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

Removing Dropbox on Ubuntu – for a Single User or Entirely

Delete your users's Dropbox settings and the Dropbox folder itself:

rm -rf ~/.dropbox
rm -rf ~/.dropbox-dist 
rm ~/Dropbox

Also remove the dropbox package installed on your machine:

sudo apt-get remove nautilus-dropbox

Read on

Unity over NX Remote Sessions

If you want to start a certain desktop environment when connecting to a Ubuntu Linux machine running a FreeNX or NeatX NX server, you have to change the command to be run remotely:

For a 2D Unity session:

gnome-session --session=2d-ubuntu

For a 2D Gnome session:

gnome-session --session=2d-gnome



Read on

Automized Extraction of Transactions on the ING-DiBa Online Banking Website

This is an iMacros script to extract transaction details on the online banking website of the German branch of the bank ING-DiBa. As this is mostly interesting to Germans, the following blog post is in German. If you want to read it in English, consider translating it using Google...

Read on

Mount Google Storage as a Filesystem

google-storage-fs – a solution using FUSE

I was trying this with Fuse4X on Mac OS X:

cd ~/Downloads
git clone git://
pip install fusepy
pip install boto
mkdir ~/mountpoint
~/Downloads/google-storage-fs/src/ -f ../gsfs.ini ~/mountpoint

I didn't know what to do when I encountered this problem:

Traceback (most recent call last):
File "./", line 48, in...

Read on

YaCy on Ubuntu 11.10


echo "deb ./" | sudo tee /etc/apt/sources.list.d/yacy.list
sudo apt-get update
sudo apt-get install yacy

This will also set up a startup script /etc/init.d/yacy.

The search site will be available on http://localhost:8090/.



Read on

Install NX Server NeatX on Ubuntu 11.10

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:freenx-team

As long as oneiric is not in the list of you have to tell your packages sources to download and install the packages for lucid 10.04:
sudo sed -i 's/oneiric/lucid/g' /etc/apt/sources.list.d/freenx-team-ppa-oneiric.list

sudo vi /etc/apt/sources.list.d/freenx-team-ppa-oneiric.list
sudo apt-get update
sudo apt-get install neatx-server


  • This is a...

Read on

Sort Installed .deb Packages by Size

GUI options

The easy GUI way is to use Synaptic and enable the "Installed Size" column by going to Settings → Preferences → Columns and Fonts.

You can then go to the "Status" filters and select the "Installed" filter then click on the column you want to sort by. It's interestingly...

Read on

Solve a problem with USB HDDs on Ubuntu 11.10

[ 3.086754] scsi 16:0:0:1: CD-ROM Virtual CDROM PQ: 0 ANSI: 0
[ 3.282066] sr 16:0:0:1: Attached scsi...

Read on

Data Recovery on Linux using TestDisk

Recover Files using TestDisk

Mount the partition with the lost files read only:

sudo mount -o remount,ro /dev/sdX

Install the requirements, the TestDisk suite:

sudo apt-get install testdisk

Start analysing:

sudo testdisk /dev/sdX
  1. Select your disk and enter Proceed.
  2. TeskDisk tries to find the correct partition type. If you are sure, the...

Read on

Update the Firmware of an OCZ Agility 3 SSD via the Linux Command Line

Boot a Linux system (not from the SSD itself!). For example a Ubuntu Live distribution. Run the following commands in your terminal (consider choosing a later firmware version if available from OCZ):

cd ~/Downloads
tar -xf fwupd_v2.12.05.tar.gz
sudo su
### The next step is flashing the SSD:
~/Downloads/fwupd_v2.12.05/linux64/fwupd –log /dev/sd?
# ( ↑...

Read on

Install Brother DCP-7054DN on Ubuntu Connected via Ethernet


These instructions are for 64-bit Ubuntu. (If you're using 32bit, download the i386 .deb package and you also don't have to copy the three files from /usr/lib64 then...)

sudo apt-get install xsane sane-utils xsane-common
cd ~/Downloads
sudo dpkg -i brscan4-0.3.0-2.amd64.deb
sudo cp /usr/lib64/sane/ /usr/lib/sane/
sudo cp /usr/lib64/sane/ /usr/lib/sane/
sudo cp /usr/lib64/sane/ /usr/lib/sane/
brsaneconfig4 -a...

Read on

AutoFS with SSHFS on Ubuntu 11.10

AutoFS is a convenient tool to mount remote filesystems automagically.


sudo apt-get install autofs sshfs

Entire content of my /etc/auto.master:

/net    /etc/auto.sshfs --timeout=120 --ghost

Entire content of my /etc/auto.sshfs

Documents   fstype=fuse,rw,allow_other,IdentityFile=/home<span...

Read on