User Tools

Site Tools


slackware:packet_injection

This is an old revision of the document!


Packet Injection

The internal wireless card is an Intel Wireless WiFi Link 5100. The driver used by default is iwlagn. There is mention of iwlwifi being good for injection.

But injection works, to some not-clearly-understood-by-me extent, with the default drivers.

Put wlan0 into monitor mode:

airmon-ng start wlan0 1

The 1 referring to the channel you want to monitor.

Interface   Chipset          Driver
wlan0       Intel 4964/5xxx  iwlagn - [phy0]
                             (monitor mode enabled on mon0)

To list available APs:

aireplay-ng -9 mon0

-9 is an injection test.

None of the following works

But other stuff fails, and it's necessary to patch the drivers with compat-wireless to get stuff working properly:

From Jay Scott:

wget http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.37/compat-wireless-2.6.37-4.tar.bz2
tar -xvjf compat-wireless-2.6.37-4.tar.bz2
cd compat-wireless-2.6.37-4
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
patch  p1 < channel-negative-one-maxim.patch
make
make install
su
make unload
slackware/packet_injection.1308623241.txt.gz · Last modified: 2019/11/07 17:58 (external edit)