--- BT5r1 Gnome 32bit fresh install:
--- prepare kernel sources:
--- buil and install drivers:
cp -rf include/generated/* include/linux/
ln -s /usr/src/linux /lib/modules/220.127.116.11/build
apt-get install linux-headers
ln -s /usr/src/linux-headers-18.104.22.168/Module.symvers /usr/src/linux-source-22.214.171.124/Module.symvers
-- I don't want udev persistent rules on my cards...
tar jxpf compat-wireless-2011-10-06.tar.bz2
tar xpf 2.6.39.patches.tar
patch -p1 < ../patches/mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch
patch -p1 < ../patches/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < ../patches/zd1211rw-2.6.28.patch
patch -p1 < ../patches/ipw2200-inject.2.6.36.patch
-- unplug AWUS036NHR and any other if present
mv /lib/udev/write_net_rules ~
mv /etc/udev/rules.d/70-persistent-net.rules ~
-- test it: (I have two wlan, wlan1 is ALFA AWUS036NHR, wlan0 is the one I'll use to determine which attacks it supports)
-- plug AWUS036NHR
airmon-ng check kill
airmon-ng start wlan0
airmon-ng start wlan1 (just to be shure it works even in monitor mode)
aireplay-ng -9 -i mon0 wlan1
Trying broadcast probe requests...
Found 0 APs
Trying card-to-card injection...
Attack -0: OK
Attack -1 (open): OK
Attack -1 (psk): OK
Attack -2/-3/-4/-6: OK
Attack -5/-7: OK
Injection is working!
note: I've edited with latest compat-wireless version and added linux-headers with a link to Module.symvers, it was needed:
feel free to check if it is ok
WARNING: Symbol version dump /usr/src/linux-source-126.96.36.199/Module.symvers
is missing; modules will have no dependencies and modversions.
note2: After this upgrade, "FRITZ!WLAN USB STICK N", (based on Atheros AR9170 Chipset, using carl9170 driver) stop load his firmware. So.. download newer "carl9170-1.fw" (now is 1.9.4) from here http://linuxwireless.org/en/users/Drivers/carl9170 in "/lib/firmware" and it will load