This is for an intel PRO/Wireless 3945ABG WLAN (802.11a/b/g) card.
I've tested this on Ubuntu 7.10 Gutsy Gibbon - x86 architecture - 32 Bit, but I don't see why itshouldn't work on other OS's. Some commands might be different however, especially the ones involving apt-get.
You need a Internet Connection with your LAN Cabel.
Open a Terminal and type…
sudo apt-get install build-essential
sudo apt-get install libssl-dev
For openSUSE and other RPM-based distros, this is different (replace “zypper” with your distro's package manager):sudo zypper install gcc
sudo zypper install libopenssl-devel
Download ipwraw-ng from http://homepages.tu-darmstadt.de/~p_larbig/wlan/ orhttp://dl.aircrack-ng.org/drivers/ (2.3.4 is the latest as of 11 February 2008)
Install the modules and ucode
Blacklist ipwraw (so it's not automatically loaded at boot time)
tar -xjf ipwraw-ng*
sudo make install
sudo make install_ucode
echo "blacklist ipwraw" | sudo tee /etc/modprobe.d/ipwrawsudo depmod -ae
Unload the ipw3945 module
The device created will automatically be in monitor mode.
sudo modprobe -r ipw3945
The new device name for injection should should be called wifi0 and the monitor interface should be rtap0. iwconfig can be used to display the current wireless interfaces.ubuntu@ubuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 unassociated ESSID:off/any
Mode:Monitor Channel=11 Bit Rate=1 Mb/s
rtap0 nowireless extensions.
IMPORTANT before using airodump-ng you need to : # ifconfig wifi0 up
Configure your Wireless Card
You can use iwconfig to set the channel and rate and transfer power....