Issue AWUS036NHR Not Working in BackTrack 5 R3

Discussion in 'Xiaopan Support' started by bacterialbag, 7 Sep 2012.

  1. bacterialbag

    bacterialbag Active Member

    Joined:
    7 Sep 2012
    Messages:
    6
    Likes Received:
    3
    What is the Issue?:
    It is now a week after i had received my awus036NHR, and after much trying and searching I am still unable to get it fully functional in my main os (bt5R3, Gnome, 32bit, encrypted persistent usb install) and in the virtualbox xia, THe main problem is getting it to work in backtrack, after that getting it to work in xiao will be much easier for me. The problem is; there is almost no good documentation about how to get it working, or the documentation is very old.​

    So my questions are​

    What is the most up to date, best functioning driver/tutorial​

    I should focus on to get my card working with maximam functionality? As of now, will I be able to get the card fully functional in BT5? and in Xiaopan? (aircrack, normal internet connecting, reaver, N, etc)​

    As of now, what functions will i not get working yet? (How are your awus036NHR functionality?) I really hope someone could point me in the right direction, or even better, could help me set it up over teamviewer of VNC.​

    If someone would like i could share my e-mail/skype/whatever with him to ease the communication. When I get it working i will make a detailed post about how i done it, so others will be able to imitate me. I hope someone can figure this all out for me, many thanks, Bacterialbag​

    Ultimately, What are you trying to achieve?:
    Hack WPS with Reaver and Inflator

    What is your wireless device model?:
    AWUS036NHR rtl8818ru

    Operating System:
    Windows

    If you used a Live CD or USB How did you create it?:
    I have BT5R3 installed. run xiao in there.

    What version:
    Other

     
  2. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member Admin Moderator VIP

    Joined:
    18 May 2012
    Messages:
    3,096
    Likes Received:
    1,197
    So what is or are the issues?

    Injection not working? the drivers are not working? any error messages?
     
  3. bacterialbag

    bacterialbag Active Member

    Joined:
    7 Sep 2012
    Messages:
    6
    Likes Received:
    3
    Injection is very buggy, cant connect to internet, when connecting wpa it says; wrong password. Reaver is not working. deauth and auth problems, airodump wont capture anything. everything is buggy actually. Mr Penguin, dit you manage to get your card working in BT5r3?. I hope so...

    thanks for the response.
     
  4. Crackerz Wave

    Crackerz Wave The Dictator
    Staff Member Moderator VIP

    Joined:
    20 May 2012
    Messages:
    650
    Likes Received:
    128
    try to reinstall driver in backtrack and updating compat wireless
     
  5. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member Admin Moderator VIP

    Joined:
    18 May 2012
    Messages:
    3,096
    Likes Received:
    1,197

    I haven't upgraded to R3 yet but will within the week and run a few tests and try to replicate your issue. In the meantime this thread might be of help to you as people have tested the device: AWUS036NHR v AWUS036NH Comparison

    I should also state that Beini 1.2.3 has been reported to work really well, see this post: AWUS036NHR Not Being Detected With Live CD In Beini 1.2.3. Off hand I think Xiaopan 0.4.1 has also been reported to work well, it has been confirmed somewhere in the forums.

    Just another thing, is it a genuine ALFA card?
     
  6. bacterialbag

    bacterialbag Active Member

    Joined:
    7 Sep 2012
    Messages:
    6
    Likes Received:
    3
    100% genuine. I already freshly installed BT5R3. I would be really really really thankfull if you could install R3 gnome 32, and try and share how you get the card fully functional from there. When u install it from scratch the first thing you will notice is that: you cannot connect (WPA) networks, injection test will tell you it is working,but always 0%, and airmon-ng show you that the chipset is "unknown" and the loaded driver is: rtl8192cu - [phy1]. (which is not the correct driver).

    My weekend started today, and I will spend my free time trying to get the awus fully functional. If I could help you with anything, or you need any information from me regarding this issue, feel free to ask here, I will be checking this place allot.

    Also Crackerz Wave, I followed 2 different tutorials about installing the drivers via compat-wireless. With both drivers the card was still far from stable/fully functional. I will try to install the latest 3.5.1 CW drivers tomorrow. I got one question though; most people patch their compat wireless files to get the drivers fully functionality (injection etc.) I can however not find any aircrack patches for 3.5.1.

    I guess using patches from a older version will screw things up big time, am I right? Should I just install the standard CW drivers?

    I hope to hear from you guys soon, and Penguin, will you be updating to R3 this weekend? That would be great, I will be following you on foot! hehe. R3 contains some great new stuff, i like the new exploitation tools tab (physical exploitation) the most, contains some great stuff!!
     
  7. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member Admin Moderator VIP

    Joined:
    18 May 2012
    Messages:
    3,096
    Likes Received:
    1,197
    I will ask my girlfriend to download it for me, so mid week to Friday hopefully. i only get 3GB of downloads a month. It sucks. :( oh and thanks for the compliments!​
     
  8. Crackerz Wave

    Crackerz Wave The Dictator
    Staff Member Moderator VIP

    Joined:
    20 May 2012
    Messages:
    650
    Likes Received:
    128
    thumb up for girlfriend...have u try using backtrack 5r2 compat wirelesso_O
     
  9. bacterialbag

    bacterialbag Active Member

    Joined:
    7 Sep 2012
    Messages:
    6
    Likes Received:
    3
    After installing the latest Compat Wireless drivers (with older version patches) I managed to get injection working, and am able to connect to networks using my NHR. I can not however, crack WEP, using aircrack or WPA using reaver. I hope penguin will get his R3 soon. thunbs up for your GF.
    --- Double Post Merged, 14 Sep 2012 ---
    Whats ur status on getting the AWUS to work in BT5R3?
     
    • Like Like x 1
  10. teller

    teller Member

    Joined:
    29 Sep 2012
    Messages:
    1
    Likes Received:
    0
    Hi all,
    Im about to buy my Alfa adaptor for B5R3, which would you say is the best to get? one that would work for sure with aircrack and reaver est. ??
    Would aprichiate any advice, this is the card im thinking about getting...
    Alfa AWUS036NHR - High-Gain 2000mw 2W 802.11 B/G/N Wireless USB
     
  11. Crackerz Wave

    Crackerz Wave The Dictator
    Staff Member Moderator VIP

    Joined:
    20 May 2012
    Messages:
    650
    Likes Received:
    128
    i would say AWUS036NHA for N network (if you care about it) and AWUS036H for b/g network
     
  12. sardan91

    sardan91 Guest

    sometime it happen on me too
     
  13. suselinuxp

    suselinuxp Active Member

    Joined:
    4 Jun 2012
    Messages:
    9
    Likes Received:
    1
  14. deadlock

    deadlock New Member

    Joined:
    24 Oct 2012
    Messages:
    1
    Likes Received:
    0
    Hi guys!
    I would also be really grateful if someone came up with a solution - have this adapter, since i thought my old awus036h died.
    It has wpa problems, as all passwords seem to be false, and it CAN see clients connected to networks, but ONLY if they are unencrypted (Found this out by chance when i monitored a Adhoc printer network called "SETUP" and it showed me the connected client)
    The reception of the adapter is great, im getting 30+ wireless networks here :D so it would be a shame not to be able to use its powers!

    The adapter is still flawed with BT5 R3 Gnome 32bit; i am booting from a nonpermanent thumbdrive - i haven't tried any other one yet (with beini i could not get it to run at all)
    Also i did not know how to install the compat-wireless (what version to choose and what special things i might need to consider when doing so)

    As some report it working in R3 i would really appreciate a tutorial on how to get it to run...

    Regards,
    DL
     
  15. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member Admin Moderator VIP

    Joined:
    18 May 2012
    Messages:
    3,096
    Likes Received:
    1,197
    My GF downloaded the KDE 32bit version of BT3. So far injection is working (very slow though), minidwep is working and inflator / reaver is working. Haven't tried to connect to any networks yet. I am going to download the latest Ubuntu and create another distro with all the wireless hacking tools.
     
  16. raspoutin

    raspoutin Member

    Joined:
    22 Nov 2012
    Messages:
    4
    Likes Received:
    0
    did you tried airdriver-ng?
    MAYBAY YOU HAVE TO COMPILE IT WHIT THE KERNEL 3.2.6
     
  17. Nick Pope

    Nick Pope New Member

    Joined:
    7 Mar 2013
    Messages:
    1
    Likes Received:
    0
    Any luck with anyone on this? I'm running bt5r3 64 gnome, I thought this card was supposed to be fully functional and plug n play, it's far from that!
     
  18. The Invisible

    The Invisible Active Member

    Joined:
    18 Jul 2012
    Messages:
    5
    Likes Received:
    0
    any News regarding better Integration for the nhr?
     
  19. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member Admin Moderator VIP

    Joined:
    18 May 2012
    Messages:
    3,096
    Likes Received:
    1,197
    Upgrade to compat-drivers-3.9-rc4-2-su
    Download

    Please report on performance :)
     
  20. Oleg6820

    Oleg6820 Well-Known Member

    Joined:
    1 Jun 2012
    Messages:
    13
    Likes Received:
    2
    ALFA AWUS036NHR
    Chip RTL8188RU
    Compat-wireless driver

    Tested on Backtrack 5 R1 Gnome 32 & 64bit fresh install

    Upgrade
    Code:
    Select All
    apt-get update apt-get dist-upgrade apt-get autoremove
    Prepare Kernel Sources
    Code:
    Select All
    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
    Build and install drivers
    Code:
    Select All
    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:
    Select All
    mv /lib/udev/write_net_rules ~ mv /etc/udev/rules.d/70-persistent-net.rules ~
    Unplug AWUS036NHR and any other if present
    Code:
    Select All
    reboot
    Test it
    I have two wlan, wlan1 is ALFA AWUS036NHR
    wlan0 is the one I’ll use to determine which attacks it supports
    Code:
    Select All
    iwconfig
    Plug in AWUS036NHR
    Code:
    Select All
    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
    Code:
    Select All
    Trying broadcast probe requests… No Answer… Found 0 APs
    Trying card-to-card injection
    Code:
    Select All
    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:
    Select All
    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 :happy:

    ALFA AWUS036NHR
    Chip RTL8188RU
    Compat-wireless driver rtl8192cu for Backtrack 5R2-KDE

    Code:
    Select All
    cd /usr/src/ wget http://www.orbit-lab.org/kernel/compat-wireless/2012/04/compat-wireless-2012-04-15.tar.bz2 tar jxpf compat-wireless-2012-04-15.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 make make install
    :google: Backtrack 5R2-Gnome
    Code:
    Select All
    cd /usr/src/ wget http://www.orbit-lab.org/kernel/compat-wireless-3.0-stable/v3.2/compat-wireless-3.2.5-1.tar.bz2 tar jxpf compat-wireless-3.2.5-1.tar.bz2 wget http://www.backtrack-linux.org/2.6.39.patches.tar tar xpf 2.6.39.patches.tar cd compat-wireless-3.2.5-1 make make install
    I also have the AWUS036NHR device and I got it working on Ubuntu 11.04 2.6.38-11-generic x64. The only thing I did is to compile & install

    compat-wireless-2.6.39-1 (same as Beini!) which can be found here:
    http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.39/

    There was only one strange thing: In drivers/net/wireless/rtlwifi/rtl8192cu/sw.c there is no entry for the AWUS036NHR so that no driver is loaded when I plugged the USB in, but in older versions of compat-wireless (e.g. 2.6.38) there IS one entry for this device. The entry looks like this:
    Code:
    Select All
    /* 8188RU in Alfa AWUS036NHR */ {RTL_USB_DEVICE(USB_VENDER_ID_REALTEK, 0x817f, rtl92cu_hal_cfg)}
    So I patched the file, compiled & installed it and everything worked!

    BT5r1 Gnome 32bit fresh install
    Upgrade
    Code:
    Select All
    apt-get update apt-get dist-upgrade apt-get autoremove
    Prepare kernel sources
    Code:
    Select All
    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
    Build and install drivers
    Code:
    Select All
    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:
    Select All
    mv /lib/udev/write_net_rules ~ mv /etc/udev/rules.d/70-persistent-net.rules ~
    Unplug AWUS036NHR and any other if present
    Code:
    Select All
    reboot
    Test it
    I have two wlan, wlan1 is ALFA AWUS036NHR
    wlan0 is the one I'll use to determine which attacks it supports
    Code:
    Select All
    iwconfig
    Plug AWUS036NHR
    Code:
    Select All
    iwconfig airmon-ng check kill airmon-ng start wlan0 airmon-ng start wlan1 (just to be sure it works even in monitor mode) aireplay-ng -9 -i mon0 wlan1
    I get
    Code:
    Select All
    Trying broadcast probe requests... No Answer... Found 0 APs
    Trying card-to-card injection
    Code:
    Select All
    Attack -0: OK Attack -1 (open): OK Attack -1 (psk): OK Attack -2/-3/-4/-6: OK Attack -5/-7: OK Injection is working!
    wifiway-3.4 Alfa awus036NHR modul : (reaver-1.4-final.xzm /inflator-1.0-wifiway-3.xzm /aircrack-ng-2012-02-02-r2053.xzm ).
     
Loading...
  • About Us

    We are a community mixed with professionals and beginners with an interest in wireless security, auditing and pentesting. Feel free to check out and upload resources.


    You can also find us on: Twitter and Facebook

  • Donate to Us

    Did you find our forums useful? Feel free to donate Bitcoin to us using the form below. Those who donate the equivlent of $10 USD or more will be upgraded to VIP membership. Don't have Bitcoin? Use your credit card to GO VIP here. Don't want to fork out some coin? There are other ways to GO VIP. Bitcoin: 1LMTGSoTyJWXuy2mQkHfgMzD7ez74x1Z8K