ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
--- BT5r1 Gnome 32bit fresh install:
--- upgarde:
Code:
apt-get update
apt-get dist-upgrade
apt-get autoremove
--- prepare kernel sources:
Code:
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/
ln -s /usr/src/linux /lib/modules/2.6.39.4/build
apt-get install linux-headers
ln -s /usr/src/linux-headers-2.6.39.4/Module.symvers /usr/src/linux-source-2.6.39.4/Module.symvers
--- buil and install drivers:
Code:
cd /usr/src/
wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2011-10-06.tar.bz2
tar jxpf compat-wireless-2011-10-06.tar.bz2
wget http://www.backtrack-linux.org/2.6.39.patches.tar
tar xpf 2.6.39.patches.tar
cd compat-wireless-2011-10-06
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
make
make install
-- I don't want udev persistent rules on my cards...
Code:
mv /lib/udev/write_net_rules ~
mv /etc/udev/rules.d/70-persistent-net.rules ~
-- unplug AWUS036NHR and any other if present
-- 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
Code:
iwconfig
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
--I get:
Trying broadcast probe requests...
No Answer...
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!
Enjoy
note: I've edited with latest compat-wireless version and added linux-headers with a link to Module.symvers, it was needed:
Code:
WARNING: Symbol version dump /usr/src/linux-source-2.6.39.4/Module.symvers
is missing; modules will have no dependencies and modversions.
feel free to check if it is ok
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
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
It is working with Kde backtrack 5 rc1 fine now thank you
but still some software is not working like
Gerix wifi crack
the problem when you start sniffing using airodump
in finding clients is not working probable for Gerix but if you do it manually is fine
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
Thanks for such a great post. my alfa is working fine in monitor mode. it just that whenever i try to connect to any connection it keeps on giving me bad password.any idea?
and any of u tried to change the tx-power?
thanks
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
#include<beer.h> for the author! Works like a charm on BT 5 GNOME x64
But do anyone know how to resolve the login and th-power problem?
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
hi
ALFA AWUS036NHR chipset RTL8188RU will not work properly with rtl8192cu driver.
I have same card as u do but *cu chipset and it work's just fine except it lock's down to fixed channel -1
however this is solved by iw tool seting a fixed channel and other parameters.
ALFA AWUS036NHR is the newest alfa card type and it will take some time until we got stable driver as for ALFA AWUS036NH (which is the best IMO)
you may check for newest compat drivers from this site:
Code:
http://linuxwireless.org/download/compat-wireless-2.6/
this release on the top is newer than your above.
just CHECK THE DATES!
good luck.
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
thanks for the tutorial.
but i have some problem when i start mon mod i get that my card is always on channal -1.
is there anyway to fix that.
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
escugs,
first make shore u download and install compat-wireless drivers.
then reboot your machine...
then run commands as follows:
Code:
ifconfig wlan1 down
iw dev wlan1 set channel 4
ifup wlan1
airmon-ng start wlan1
airodump-ng --ignore-negative-one mon0
just replace values "wlan1" and "4" with your's
now u shall be able to capture packets on channel 4
probably will still showing u that interface is locked down to fixed channel -1 but it will be actually on channel 4 or which one you specify!
if u don't have iw tool download it from linux-wireless.
cheers mate.
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
Okay, I'm kind of a noob. But this will work with cracking wpa/wpa2-psk or do I stand corrected?
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
Done all the above.
Loaded up, in Network manger could see plenty of access points but when tried to connect to my regular connection it just hung for long time.
rebooted.
Tried airmong-ng stop wlan0
hung again for long time, again give up.
Used the latest compact driver.
**************
Also this adapter in Windows 7 sucks, it picks up more access points and shows stronger signals but its throughput is rubbish.
I still end up using my old TL-WN821N which has more solid throughput.
Re: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu
Compat-wireless drivers are not stable for this chip, If you need to connect APs you can use Realtek's one you can find here:
http://www.realtek.com/downloads/dow...&GetDown=false (chip RTL8188RU)
Realtek's drivers does not support monitor mode and injection, so I still prefer compat-wireless.