If you want ot have “reaver” on your Ubuntu or other Debian based distro, this is how you do it :

Download reaver,

Extract reaver

tar zxvf reaver-1.4.tar.gz

Install libpcap and libsqlite3, don’t forget to check the version installed on your distro.

sudo apt-get install libpcap0.8-dev libsqlite3-dev

Change directory to where reaver source reside (usually named reaver-1.4)

cd reaver-1.4

Configure dan Make

./configure
make
sudo make install

If you have problem controlling your Acer Netbook brightness when using Backtrack or Kali or Ubuntu or other Debian derivative distro, you can try this :

1. Open your Shell or Terminal

2. Type this on Terminal :

setpci -s 00:02.0 f4.b=10

3. Or you can add that to your rc.local

Find (large) file on Linux systems

Posted: January 25, 2013 in TipTrick

1. Find 10MiB files in /var/log directory

find /var/log -size +10M -ls

 

2. Find 10MiB – 50MiB files

find /var/log -size +10M -size -12M -ls

 

3. Find in / (root) directory (Debian/Ubuntu)

find / -type f -size +10000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

When tried to install teamviewer on my Ubuntu 12.04 64bit, the system complaining about unmet dependencies and can not install ia32-libs, but when I tried to install ia32-libs, here’s what I got:

rumy@cbug-nest:~$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-multiarch
E: Unable to correct problems, you have held broken packages.

An attemp to install ia32-libs-multiarch failed too

After some dig on internet I found the solution:

(1) Edit /etc/apt/preferences

rumy@cbug-nest~$ sudo pico /etc/apt/preferences

(2) Add this 3 line code

Package: *       
Pin: release a=precise*
Pin-Priority: 2012

(3) Do dist-upgrade

rumy@cbug-nest~$ sudo apt-get dist-upgrade

It will ask you to downgrade some package, just answer (Y)es

(4) Install ia32-libs-multiarch and/or ia32-libs

rumy@cbug-nest~$ sudo apt-get install ia32-libs-multiarch


(5) Delete /etc/apt/preferences, after you finished updating

rumy@cbug-nest~$ rm /etc/apt/preferences

Other solution that work too:

sudo apt-get install librtmp0/precise

I want to have BackTrack 5 R3 on one of my Desktop computer but it already has Ubuntu 12.04 64bit in it and I like it that way.
BackTrack 5 basically is an Ubuntu distro with a kernel patch that will granted it’s user (a hacker) with packet injection for WiFi hacking but since I don’t need that kernel patch (I don’t have to hack into my home WiFi, do I?) I guess I can just add a BackTrack 5 repository onto the existing Ubuntu 12.04 64bit repository list and use the default Ubuntu kernel instead ;)

So here’s what I do

(1) Adding BackTrack 5 Repository to Ubuntu 12.04 64bit repository

rumy@cbug-nest:~$ sudo su
 root@cbug-nest:/home/rumy# cat >> /etc/apt/sources.list <<
 > deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
 > deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing
 > deb http://64.repository.backtrack-linux.org revolution main microverse non-free testing
 > eof

(2) Add gpg key

rumy@cbug-nest:~$ wget -q http://all.repository.backtrack-linux.org/backtrack.gpg -O- | sudo apt-key add - 
 OK

(3) Update repository

rumy@cbug-nest:~$ sudo apt-get update

(4) Got this error when updating the 64 bit section

Fetched 13.2 MB in 8min 59s (24.6 kB/s) 
 W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
 rumy@cbug-nest:~$

(5) Download apt_0.7.25.3ubuntu9.13_amd64.deb  and downgrading apt to the one BackTrack have

rumy@cbug-nest:~$ sudo dpkg -i Programs/Linux/apt_0.7.25.3ubuntu9.13_amd64.deb 
 dpkg: warning: downgrading apt from 0.8.16~exp12ubuntu10.5 to 0.7.25.3ubuntu9.13.
 (Reading database ... 237850 files and directories currently installed.)
 Preparing to replace apt 0.8.16~exp12ubuntu10.5 (using .../apt_0.7.25.3ubuntu9.13_amd64.deb) ...
 Unpacking replacement apt ...
 Setting up apt (0.7.25.3ubuntu9.13) ...
 Installing new version of config file /etc/apt/apt.conf.d/01autoremove ...
 Installing new version of config file /etc/cron.daily/apt ...
 Processing triggers for man-db ...
 Processing triggers for libc-bin ...
 ldconfig deferred processing now taking place
 rumy@cbug-nest:~$

(6) Increase cache limit

rumy@cbug-nest:~$ sudo su
 root@cbug-nest:/home/rumy# echo APT::Cache-Limit "60000000"; >> /etc/apt/apt.conf.d/70debconf
 APT::Cache-Limit 60000000
 root@cbug-nest:/home/rumy#

(7) Update again and I have BackTrack on my Ubuntu 12.04 64bit