Skip to content

Posts from the ‘Linux Generic stuff’ Category

20
Dec

Installing airoscript-ng_1.1 in debian

Now that airoscript-ng 1.1 is released, the version distributed with aircrack-ng 1.1 is outdated, so here’s a easy script to download and install aircrack-ng and airoscript-ng 1.1 both, sorry for the inconvenience of separate releases (it was like that before), this version is much more similar to the one releasing on aircrack-ng 1.2 ;-)

This is almost fully supposed to be run as root, so I recommend you to su to root first.

We’re going to get all deps first, get a deb-src in your sources.list, if you dont have one (this is for debian squeeze):

echo "deb-src http://ftp.fr.debian.org/debian sid main contrib non-free" > /etc/apt/sources.list.d/removeme.list
apt-get update

We get the deps:

apt-get build-dep aircrack-ng
apt-get install xterm iw macchanger

We delete the removeme.list file.

And we download aircrack-ng and airoscript:

wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz -O -|tar xvz
wget http://airoscript.googlecode.com/files/airoscript-ng_1.1.tgz -O -|tar xvz

Now we’ll compile and install both of them

make -C aircrack-ng-1.1 && make -C aircrack-ng-1.1 install
make -C airoscript-ng

This, in a row, can be done with a single script:

echo "deb-src http://ftp.fr.debian.org/debian sid main contrib non-free" > /etc/apt/sources.list.d/removeme.list apt-get update apt-get build-dep aircrack-ng rm /etc/apt/sources.list.d/removeme.list apt-get install xterm iw macchanger tar gzip wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz -O -|tar xvz wget http://airoscript.googlecode.com/files/airoscript-ng_1.1.tgz -O -|tar xvz make -C aircrack-ng-1.1 && make -C aircrack-ng-1.1 install make -C airoscript-ng

And there you have it, you can execute it just with

# airoscript-ng
29
Nov

Using joystick as mouse

This is almost microblogging, using your normal joystick on debian as a mouse is as easy as installing its support for Xorg, and the joystick package

apt-get install xserver-xorg-input-joystick joystick

Then restart your Xserver, and enjoy!