April 21, 2009 · Networking · Email This Post
Share

If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums. Thanks for visiting!

Packet injection is a computer networking term which refers to sending a packet on a network into an already established connection.This tutorial will explain how to Enable Packet Injection on a Intel PRO/Wireless 3945ABG Wireless Card
Open a terminal and type the following commands

Preparing your system

You need to install following packages

sudo apt-get install build-essential libssl-dev

Download drivers using the following comamnd

wget http://dl.aircrack-ng.org/drivers/ipwraw-ng-2.3.4-04022008.tar.bz2

extract the archive file

tar -xjf ipwraw-ng*

go to the extracted folder

cd ipwraw-ng

compile the source files into a binary

make

install the driver

sudo make install

sudo make install_ucode

blacklist the default ipwraw

echo “blacklist ipwraw” | sudo tee /etc/modprobe.d/ipwraw

Create a dependency file for the modules

sudo depmod -ae

unload driver that you do not need

sudo modprobe -r iwl3945

load the driver that you installed

sudo modprobe ipwraw

enable the network adapter

sudo ifconfig wlan0 up

When you’re done, open a terminal and type lsmod, you should see the ipwraw driver loaded.

Source from here

  • Share/Bookmark

Related Articles

9 Comments to “How to Enable Packet Injection on a Intel PRO/Wireless 3945ABG Wireless Card”

  1. Vadim P. says:

    Any idea if this works on 4965?

  2. Guilhem says:

    For 3945 or 4965, you doesn’t need ipwraw if you use iwlwifi.
    You can make injection with iwlwifi, but not on “wifi0″.
    You must create an other interface (with airmon) and the injection will work on this.

  3. Sepp says:

    hm i thought ipwraw is deprecated?

    i m using the iwlwifi like Guilhem mentioned.

    if you are realy interested in this stuff, a good start would be to take a look at aircrack-ng.org iwl3945 page.

  4. ksall.com says:

    Any idea if this works on 4965?

  5. Larry says:

    The ipwraw driver is not necessary since Hardy. Since kernel verion 2.6.27 iwl3945 already supports injection, and with kernel version 2.6.28 iwl4965 and iwl5XXX support injection.

    The ipwraw driver is very buggy as well. I would substitute out the section in regards to ipwraw driver and instead have the user install aircrack-ng, libnl-dev and iw. libnl-dev is needed by iw and iw is a userspace CLI utility used by airmon-ng to create the monitor interface mon0.

    Just do this:

    # sudo apt-get install aircrack-ng libnl-dev iw
    # sudo airmon-ng wlan0

    Now, you have a new interface called mon0. You use the mon0 interface for both injection via aireplay-ng and collecting data via airodump-ng.

    To go one step further, you can use airoscript to automate a lot of the attacks. Airoscript works well with aircrack-ng 1.0rc2.

  6. Probes says:

    Hey! after that now i have ipwraw but when i try to go back to ipw3945 it says “Module ipw3945 not found.” What’s it?

  7. Larry says:

    Probes: The ipw3945 driver has been deprecated since Hardy Heron. The new driver is iwl3945.

  8. celaka says:

    it didnt work with precompiled kernel 2.6.30.x

  9. Bah says:

    Any idea how to do it with iwl4965 in Karmic Koala?

Leave a Reply