::    Home > Linux Packet Injection & Monitoring
your question will be answered promptly!
Wi-Fi Application

Linux setup for Packet Monitoring & Injection

Many buyers have come to us enquiring about the way in which they could install the Linux operating system in the light of running the patch driver for packet injection and monitoring.

What is packet injection?

What is packet injection?

Packet injection is a computer networking term which refers to sending a packet on a network into an already established connection. This is accomplished by crafting a packet using raw sockets for testing and improving the security of the wireless network.

Older generation chipsets have lower RF output and are confined to detecting the 802.11b and 802.11b/g wireless networks only; whereas the chipset incorporated in the family of High Power TurboTenna Plug & Play antennae work with both the older and the current 802.11n wireless standards.

Why do you need the High Power antenna?

Apart from the obvious reasons, you need to detect both the 802.11n wireless router, as well as the client stations that usually have lower signal output.

We've done that in our lab with the Ubuntu 9.04, which works readily with the NextG USB-Yagi, USB-TurboTenna and the Ultimate Kit Plug & Play antenna.

The Ubuntu is a Linux distribution which resembles closely to the Windows environment, yet it comes with the free OpenOffice suite. You may spend a Sunday afternoon to explore or refresh this open computer language both in desktop style and command line level. We are pretty sure that you'd have great fun like we did.

Playing with Linux is not as straight forward as Windows, yet it is where the software tools and utilities are created - and for this reason Linux is both challenging and rewarding.

Ubuntu CD Download

To begin with, you need to download the Ubuntu CD image and create your own CD here:


Then, you could either rejuvenate an old PC shelved in your garage; or spare a small harddisk partition of your laptop or PC for the installation of Ubuntu.

Creating a Dual Boot Computer

If you are running Windows 7 or 8, the hard disk partition is pretty straight forward. Simply go to the "Control Panel", then double click the "Administrative Tools" followed by "Computer Management".

When the "Computer Management" screen pops up, expand "Storage" and double click "Disk Management".

At this point, you might want to backup your Windows system and files. We found Norton Ghost 15 pretty handy - it just takes a few clicks to backup the image of your hard disk. Recovery is also as easy as backup. If you choose to copy your files to another storage media that would also be fine.

Although we'd created and resized the harddisk partitions successfully for so many times without failing once, we still suggest you to backup before proceeding further.

Let's go back to the "Disk Management" screen. Suppose that your C drive (of Disk 0) contains the Windows operating system. Right click on it and select "Shrink Volume". Ubuntu doesn't take up much space, 20GB is good enough. Once a spare partition is recreated, reboot with the Ubuntu installation CD and follow the steps to complete the installation.

Altering the Boot up Sequence

Now, you should have got a dual boot system - Windows and Ubuntu. When it restarts, you could choose what to load from a startup menu. However, if you leave it to time out, it will boot up Ubuntu by default. To change this, you could go to alter the boot sequence at GRUB in Ubuntu.

Ubuntu should have got the software driver and be able to recognize and work with these Plug & Play antennae.

Patch Driver Installation

Here comes the insteresting part - the patch driver for packet monitoring and injection.

Although it is intended for verifying that the hardware is capable of injection, we found that it has good stability in working with the aircrack-ng suite.

Those who failed to install the patch driver with compilation errors probably forgot to update the OS (operating system) before continuing.

So, the first thing to do is to open the command line window at Ubuntu and update the OS and the "IW" package for configuring the Linxu wireless device.

The Kernel 2.6-28 was used to install the patch driver. As Linux is an Open operating system, it is being updated by many other parties in such a way that compability might not always be warranted with new release. Hence, it is important to install the update against this Kernel release to make sure that it is compatible with the patch driver.

While the antenna is physically connected to the USB port of the computer, disable the wireless adapter. You could do this by right clicking the wireless icon at the top right hand corner and select disable.

Ignore the Ubuntu update window that pops up from time to time, Or, simply disable the automatic update.

Download the patch driver, blacklist the existing wireless drivers before executing the installation.

sudo make
sudo make install

See also the tutorial:


You may then be able to test that injection is working.


Shopping Guide
Related Info
The registered trademarks and logos belong to the respective companies.
:: Copyright 2017 DataCom Network Ltd.