Results 1 to 10 of 77

Thread: ALFA AWUS036NHR - chip RTL8188RU - compat-wireless driver rtl8192cu

Threaded View

  1. #1
    Just burned his ISO
    Join Date
    Oct 2011
    Posts
    5

    Default 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
    Code:
    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:
    iwconfig
    -- 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
    Last edited by manzamanna; 10-07-2011 at 01:24 PM. Reason: note2

Similar Threads

  1. alfa awus036nhr
    By Bendfella in forum Working Hardware
    Replies: 14
    Last Post: 11-03-2012, 09:23 PM
  2. compat-wireless driver issue
    By zlate in forum Beginners Forum
    Replies: 0
    Last Post: 07-19-2010, 01:34 PM
  3. Alfa AWUS050NH + rt2x00 from compat-wireless
    By fnord0 in forum OLD BT4beta Working Hardware
    Replies: 44
    Last Post: 03-15-2010, 02:58 PM
  4. Compat-Wireless driver
    By BT User in forum OLD BT4 Feature Requests
    Replies: 0
    Last Post: 12-28-2009, 07:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •