Apr 27, 2012

[Tutorial] Installing Aircrack in ubuntu 12.04 Precise Pangolin

So.. aircrack is not found in default repository of Ubuntu anymore.
You want it, then you need to compile and install it from the source itself. Download the source from here.

Save it in some less messy folder, say Public.
If you just try to extract and compile it, you will get a good series of errors:

To overcome these errors, follow the steps below:

1) Install build-essential and libssl

apt-get install build-essential libssl-dev

2) Extract the aircrack source if it hasnt already been extracted:

tar -xzf aircrack-ng-1.1.tar.gz

3) cd to it, and edit a file called common.mak

cd aircrack-ng-1.1

open common.mak with a text editor you are comfortable with.
Find this line:
 CFLAGS          ?= -g -W -Wall -Werror -O3
and remove -Werror only,
Save and exit. 

4) Now compile and install

make && make install

You are done.

Well, this was not totally my idea, I also read some tutorials before to make this one. So original credits go to all the writers whose tutorial I have read.

Feel free to comment if needed. :)   

[Release] Ubuntu 12.04, Making it look classic.

Finally, Ubuntu 12.04 LTS codenamed Precise Pangolin has been released.

I downloaded and intalled it. My first impression, I hated it... because it had unity as its default environment.. unity truly sucks.

I tried to install good old gnome.. but it was not possible now. So, I installed gnome-session-fallback to give it classic gnome look. Here are the steps:

1) Install gnome-session-fallback

sudo apt-get install gnome-session-fallback

2) Install myunity

sudo apt-get install myunity

3) Logout and choose gnome classic as your desktop environment. You can choose it  .

Note: The above picture doesnt belong to me. I just searched and found in googleimages.

So, select GNOME Classic or GNOME Classic (No Effects), and login.

4) After that start myunity. I used terminal to start it.

Change H Desktop to 4 and V Desktop to 0 as in the image above, it will make your workspace switcher look like good old one, all in a single row.

After this, I am loving this release even though it is a bit slow. Till now I was stuck with 10.04

Apr 14, 2012

[Tutorial] Installing Nvidia Drivers In BackTrack.

Well, I was asked to make this tutorial by my good reader here "StealthyByR00t". Though I am late [(my apologies for that, as I got back my Nvidia card 2 days ago only)] in making this tutorial, I am not sure if you have already found another way and solved it, but still here it goes.

My card is Nvidia Geforce 8400 GS.
My Operating System: BackTrack 5 R2, 32bit Gnome.

[ For ubuntu you can just enable the driver easily from Hardware Drivers. It maybe possbile for BackTrack too, but I havent tried it as Hardware Drivers is not present by default in Backtrack .]

So, You need to download the driver for linux from here.

On the "Manual Driver Search", select your required specifications and versions. Here is my required info:

Start Search, Agree and Download etc etc.

Now the real stuff begins. The downloaded file is an executable script of format ".run". Try running it via gui... Nothing will happen.

Try from terminal it will say X-server must not be active.

Logout and try from tty1,2,3,4 etc, it will most probably give another error about noveau drivers. It will try to blacklist the drivers and will say to restart the machine. Restart and try again from tty, it will fail.

(Incase you don't know what tty is, it is the black terminal screen you get when you press ctrl+alt+f1 or f2 or f3... f6.)

Now, do this for the real installation part:

You need to blaclist some stuffs first. If you are familiar with nano or vim just add these following lines on the end of blacklist.conf file via terminal, else you can use gedit to do it. This file is located in /etc/modeprobe.d/.

blacklist noveau
blacklist vga16fb
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

Save and exit. Run the following command to update your initramfs:

update-initramfs -u

It will do the necessary job, after it is finished restart once. Login to your root account as usual but do not type "startx".

Ubuntu 12.04 users: Type service lightdm stop in tty1

Now, cd to the Folder where the downloaded file is located, and just run it. In my case it was:


IN your case it will depend on the file name. Just accept the terms and conditions and accept everything it say, after the installation is completed, reboot once.

If everything went all right, then you should have the required drivers installed. Go to system-->Preferences-->Monitors, in my case it asked me a question:

It appears that your graphics driver does not support the necessary extensions to use this tool.  Do you want to use your graphics driver vendor's tool instead?

If I selected "yes" then it would show me Nvidia's control panel, else default one.

I hope this helps someone.

StealthyByR00t, my apologies again, bro!

NOTE: This Should Work In All Ubuntu Derivatives, also in other linux distributions too (Though I can't guarantee for all other distros.)