WEP cracking

You need the following packages installed:


(from Synaptic or from terminal “sudo apt-get install aricrack-ng”)

Next I will give you the terminal commands – you just have to change the parts so that they reflect your situation (for example mac addresses, interfaces etc.).

The recipe

Start airmon on your wireless interface (“ip -d addr” might help if you’re not sure):

airmon-ng start wlan0

Monitoring traffic (enter number from 0 on instead of – sometimes you’ll have to backtrack here to change the channel):

Continue reading WEP cracking

Num pad doesn’t work in Ubuntu

When I installed Ubuntu 9.10, my num pad stopped working as it used to – it moved the mouse instead of inputing numbers. Pressing num lock didn’t help either.

Anyway I found the solution quickly on Ubuntu forums:

It appears it’s some accessibility feature. I probably pressed some key combo that turned it on.

Syncronizing your usb and hard disk with Unison

Today I decided to automate the tedious process of syncronising my SD card and hard drive (for example to get files to an e-book reader faster and be able to read from it more often (which is way better than straining your eyes reading from a monitor)). The good thing is that you can later use the same technique to sync USBs, external hard drives, even remote machines via ssh or ftp – you just tweak the paths.

First I thought of Linux’ rsync command, but Unison is suggested as a bit more user-friendly and abstract program that achieves the deed. Here’s how you do it.

Continue reading Syncronizing your usb and hard disk with Unison

Dynamic web page construction in Ubuntu – Part 1: installing a LAMP server


In this topic (which will span through several posts) I will share my experiences in creating a dynamic web page on the example of www.epska.org, the site I am currently building on my own from scratch (unlike this blog, which is done using the Drupal CMS). It is dynamic on several levels: 

1. content is separated from design using a .css file
2. navigation menu, header and footer are separated from the content of the page by using the php include function.
3. content is dynamically extracted from a MySQL database

The business

In this first part, we will install and set up a working localhost server – for debugging or (in case you have your own server) actual hosting of the web site.

Continue reading Dynamic web page construction in Ubuntu – Part 1: installing a LAMP server

How to set up an OJÄB VPN connection in Ubuntu GNU/Linux

1. Required packages

You’re gonna need “network-manager-pptp” package installed.
If you can connect to the Internet somewhere else (like in a Coffee
bar or sth) open Synaptic package manager, search for and install the
“network-manager-pptp” package (or enter “sudo apt-get install
network-manager-pptp” from a terminal).

If you don’t have Internet available anywhere you can also find
this package on the Ubuntu install CD if my memory is good (somewhere
buried in the folders).

Continue reading How to set up an OJÄB VPN connection in Ubuntu GNU/Linux