Hi out there!
With the help of this forum, i got my iwl4965 card working, so now i want to give something back, as this is easier for most ubuntu users, all other tutorials are with new kernel compiling, and suggest to compile the new aircrack rc1. But it works without, and here it is:
1.) install aircrack-ngInstall aircrack-ng from repository, this is only 1.0 beta but it does work too:
# aptitude install aircrack-ng
2.) let the kernel beI didnt do any kernel-baking, all the options in
http://aircrack-ng.org/doku.php?id=iwl4965#preparing_the_kernel were enabled by default.
3.) compile driverthen i compiled the driver: (all this got thanks to grandstream
http://tinyshell.be/aircrackng/forum/index.php?topic=2898.msg21350#msg21350) you need to have libnl-dev and libcss-dev installed:
aptitude install libnl-dev libssl-dev
go into directory
cd /usr/src/
get the compat-wireless driver source d injection-patches
wget http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/06/compat-wireless-2008-06-25.tar.bz2
wget http://patches.aircrack-ng.org/mac80211_2.6.26-rc8-wl_frag.patch
download
http://tinyshell.be/aircrackng/forum/index.php?action=dlattach;topic=2898.0;id=360 into /usr/src for 0001-iwlwifi-Fix-packet-injection-in-iwl3945-and-iwl4965.patch
decompress and extract compat-wireless
bunzip2 compat-wireless-2008-06-25.tar.bz2
tar -vxf compat-wireless-2008-06-25.tar
now patch it, compile it and install it:
cd compat-wireless-2008-06-25
patch -p1 < /usr/src/0001-iwlwifi-Fix-packet-injection-in-iwl3945-and-iwl4965.patch
patch -p1 < /usr/src/mac80211_2.6.26-rc6-wl_frag.patch
make
make install
make load
rmmod iwl4965
modprobe iwl4965
4.) new firmwarethe new driver is now loaded, next step is the firmware:
wget http://www.intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-4.44.1.20.tgz
tar -vxzf iwlwifi-4965-ucode-4.44.1.20.tgz
cp ./iwlwifi-4965-ucode-4.44.1.20/iwlwifi-4965-1.ucode /lib/firmware/
5.) test itnow you should be able to inject:
disable the wlan in networkmanager (right click)
then do
iwconfig wlan0 mode monitor
if this gives errors (card in use or so) it is not shut down properly, a
rmmod iwl4965
modprobe iwl4965
helps, if not, you need to reboot.
and then try injection:
aireplay-ng --test wlan0
everything else can be found in various cracking-tutorials