Aircrack

From Halfface
Revision as of 11:54, 6 December 2007 by 217.10.60.85 (talk)
Jump to navigation Jump to search

Install aircrack-ng

For compiling injection drivers.

install kernel-headers

Optionally install kismet.

install injection enabled network drivers. I use a netgear 122 with a ra73 driver.

Remove maybe conflicting driver.

mv /lib/modules/`uname -r`/kernel/drivers/net/wireless/rt2x00/* /tmp/rt2x00
depmod -ae

Build drivers.

wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/rt73-k2wrlz-2.0.1.tar.bz2
tar -xjf rt73-k2wrlz-2.0.1.tar.bz2
cd rt73-k2wrlz-2.0.1/Module
make
make install
modprobe rt73

Load and tweak driver.

ifconfig rausb0 up
iwconfig rausb0 mode monitor
iwpriv rausb0 rfmontx 1
iwconfig rausb0 rate 1M
iwconfig rausb0 mode monitor
http://tinyshell.be/aircrackng/forum/index.php?topic=1824.45

kismet

kismet

/etc/kismet/kismet.conf

source=iwl4965,wlan0,addme
source=rt73,wlan1,wlan1
source=rt73,rausb0,rausb0
source=rt2500,rausb0,RT73

Information

netgear DWL-G122 
mac:	00:1B:11:BC:D5:1B
Name    : B2_private_49
SSID    : B2_private_49
BSSID   : 00:01:38:9A:91:EC
Channel : 11
Name    : vgrox
SSID    : vgrox
BSSID   : 00:13:46:E1:2F:4F
Channel : 9
client:	00:13:46:E1:2F:4F
airodump-ng --ivs --write dump2 --channel 9 --bssid 00:13:46:E1:2F:4F rausb0
ifconfig rausb0 up
iwconfig rausb0 mode monitor
iwpriv rausb0 rfmontx 1