Results 1 to 4 of 4

Thread: Alfa AWUS036H (Realtek RTL8187L - rtl8187)

  1. #1
    Moderator g0tmi1k's Avatar
    Join Date
    Feb 2010
    Posts
    1,771

    Default Alfa AWUS036H (Realtek RTL8187L - rtl8187)

    OS: BackTrack 5 R1 KDE 32bit
    Make: Alfa AWUS036H
    Chipset: Realtek RTL8187L
    Driver: rtl8187
    Injection: Yes
    Method:
    Code:
    rmmod rtl8187
    rfkill block all
    rfkill unblock all
    modprobe rtl8187
    rfkill unblock all
    ifconfig wlan0 up
    Code:
    root@bt:~# ifconfig wlan0 up
    SIOCSIFFLAGS: Unknown error 132
    root@bt:~# rmmod rtl8187
    root@bt:~# rfkill block all
    root@bt:~# rfkill unblock all
    root@bt:~# modprobe rtl8187
    root@bt:~# rfkill unblock all
    root@bt:~# ifconfig wlan0 up
    root@bt:~# ifconfig wlan0
    wlan0     Link encap:Ethernet  HWaddr 00:c0:ca:1e:60:xx  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
     
    root@bt:~# iwconfig wlan0
    wlan0     IEEE 802.11bg  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm  
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
             
    root@bt:~# lsusb
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 203a:fff9  
    Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@bt:~# ls -l /sys/class/net/wlan0/device/driver
    lrwxrwxrwx 1 root root 0 2011-10-11 15:39 /sys/class/net/wlan0/device/driver -> ../../../../../../bus/usb/drivers/rtl8187
    root@bt:~# lsmod | grep -i rtl8187
    rtl8187                51301  0
    mac80211              255996  1 rtl8187
    cfg80211              153414  2 rtl8187,mac80211
    eeprom_93cx6            1292  1 rtl8187
    root@bt:~# airmon-ng
     
     
    Interface       Chipset         Driver
     
    wlan0           Realtek RTL8187L        rtl8187 - [phy0]
     
    root@bt:~# airmon-ng start wlan0 13
    
    
    Found 3 processes that could cause trouble.
    If airodump-ng, aireplay-ng or airtun-ng stops working after
    a short period of time, you may want to kill (some of) them!
    
    PID     Name
    768     NetworkManager
    1029    wpa_supplicant
    1042    dhclient
    
    
    Interface       Chipset         Driver
    
    wlan0           Realtek RTL8187L        rtl8187 - [phy4]
                                    (monitor mode enabled on mon0)
    
    root@bt:~# aireplay-ng -9 mon0
    23:59:37  Trying broadcast probe requests...
    23:59:37  Injection is working!
    23:59:39  Found 1 APs
    
    23:59:39  Trying directed probe requests...
    23:59:39  00:19:5B:E7:52:xx - channel: 13 - 'SSID'
    23:59:41  Ping (min/avg/max): 19.264ms/30.550ms/42.879ms Power: -51.10
    23:59:41  30/30: 100%
    
    root@bt:~#
    Last edited by g0tmi1k; 10-11-2011 at 02:38 PM.
    Have you...g0tmi1k?

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Location
    over here!
    Posts
    30

    Default Re: Alfa AWUS036H (Realtek RTL8187L - rtl8187)

    Sir,

    You are an absolute life saver!

    I have been tearing my hair out for the last two days with regset, txpower, compat-wireless, y-cables etc.

    This fix sorts out injection on my awus036h 1000mw injection issue without screwing up the trusty old 500mw card.

    Thank You!

    Best.

    Quote Originally Posted by g0tmi1k View Post
    OS: BackTrack 5 R1 KDE 32bit
    Make: Alfa AWUS036H
    Chipset: Realtek RTL8187L
    Driver: rtl8187
    Injection: Yes
    Method:
    Code:
    rmmod rtl8187
    rfkill block all
    rfkill unblock all
    modprobe rtl8187
    rfkill unblock all
    ifconfig wlan0 up
    Code:
    root@bt:~# ifconfig wlan0 up
    SIOCSIFFLAGS: Unknown error 132
    root@bt:~# rmmod rtl8187
    root@bt:~# rfkill block all
    root@bt:~# rfkill unblock all
    root@bt:~# modprobe rtl8187
    root@bt:~# rfkill unblock all
    root@bt:~# ifconfig wlan0 up
    root@bt:~# ifconfig wlan0
    wlan0     Link encap:Ethernet  HWaddr 00:c0:ca:1e:60:xx  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
     
    root@bt:~# iwconfig wlan0
    wlan0     IEEE 802.11bg  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm  
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
             
    root@bt:~# lsusb
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 203a:fff9  
    Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@bt:~# ls -l /sys/class/net/wlan0/device/driver
    lrwxrwxrwx 1 root root 0 2011-10-11 15:39 /sys/class/net/wlan0/device/driver -> ../../../../../../bus/usb/drivers/rtl8187
    root@bt:~# lsmod | grep -i rtl8187
    rtl8187                51301  0
    mac80211              255996  1 rtl8187
    cfg80211              153414  2 rtl8187,mac80211
    eeprom_93cx6            1292  1 rtl8187
    root@bt:~# airmon-ng
     
     
    Interface       Chipset         Driver
     
    wlan0           Realtek RTL8187L        rtl8187 - [phy0]
     
    root@bt:~# airmon-ng start wlan0 13
    
    
    Found 3 processes that could cause trouble.
    If airodump-ng, aireplay-ng or airtun-ng stops working after
    a short period of time, you may want to kill (some of) them!
    
    PID     Name
    768     NetworkManager
    1029    wpa_supplicant
    1042    dhclient
    
    
    Interface       Chipset         Driver
    
    wlan0           Realtek RTL8187L        rtl8187 - [phy4]
                                    (monitor mode enabled on mon0)
    
    root@bt:~# aireplay-ng -9 mon0
    23:59:37  Trying broadcast probe requests...
    23:59:37  Injection is working!
    23:59:39  Found 1 APs
    
    23:59:39  Trying directed probe requests...
    23:59:39  00:19:5B:E7:52:xx - channel: 13 - 'SSID'
    23:59:41  Ping (min/avg/max): 19.264ms/30.550ms/42.879ms Power: -51.10
    23:59:41  30/30: 100%
    
    root@bt:~#

  3. #3
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    2

    Default Re: Alfa AWUS036H (Realtek RTL8187L - rtl8187)

    Let me ask you something please -

    With this:
    Code:
    rmmod rtl8187
    rfkill block all
    rfkill unblock all
    modprobe rtl8187
    rfkill unblock all
    ifconfig wlan0 up
    Are you killing all and blocking all (driver) to only allow rtl8187 chipset to work?

    I have got my scanner to work by doing this (advice taken from backtrack itself)

    To manually load the driver

    Code:
    root@bt:~# modprobe rtl8187
    To manually unload the driver

    Code:
    root@bt:~# rmmod rtl8187
    I personally just do the above 2 commands and it works fine - should I also be doing the killall like you suggest? I guess that would kill any potential conflicting drivers? Am I correct thanks

  4. #4
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    2

    Question Re: Alfa AWUS036H (Realtek RTL8187L - rtl8187)

    I want to get my backtrack5 rs1 run with usb awus036h. as i read, i need to install/patch the r8187 and rtl8187.
    http://www.aircrack-ng.org/doku.php?id=r8187

    Code:
    root@bt:~# ifconfig wlan0 down
    root@bt:~# rmmod r8187 rtl8187 2>/dev/null
    root@bt:~# wget http://dl.aircrack-ng.org/drivers/rtl8187_linux_26.1010.zip
    ...
    root@bt:~# unzip rtl8187_linux_26.1010.zip
    ...
    root@bt:~# cd rtl8187_linux_26.1010.0622.2006/
    root@bt:~/rtl8187_linux_26.1010.0622.2006# wget http://patches.aircrack-ng.org/rtl8187_2.6.27.patch
    ...
    root@bt:~/rtl8187_linux_26.1010.0622.2006# wget http://patches.aircrack-ng.org/rtl8187_2.6.32.patch
    ...
    root@bt:~/rtl8187_linux_26.1010.0622.2006# tar xzf drv.tar.gz
    root@bt:~/rtl8187_linux_26.1010.0622.2006# tar xzf stack.tar.gz
    root@bt:~/rtl8187_linux_26.1010.0622.2006# patch -Np1 -i rtl8187_2.6.27.patch
    patching file beta-8187/ieee80211_crypt.h
    patching file beta-8187/ieee80211.h
    patching file beta-8187/Makefile
    patching file beta-8187/r8180_93cx6.c
    patching file beta-8187/r8180_hw.h
    patching file beta-8187/r8180_rtl8225.c
    patching file beta-8187/r8180_rtl8225.h
    patching file beta-8187/r8180_rtl8225z2.c
    patching file beta-8187/r8180_wx.c
    patching file beta-8187/r8187_core.c
    patching file beta-8187/r8187_core.c~
    patching file beta-8187/r8187.h
    patching file beta-8187/r8187.h~
    patching file beta-8187/.tmp_versions/r8187.mod
    patching file ieee80211/ieee80211_crypt.c
    patching file ieee80211/ieee80211_crypt_ccmp.c
    patching file ieee80211/ieee80211_crypt.h
    patching file ieee80211/ieee80211_crypt_tkip.c
    patching file ieee80211/ieee80211_crypt_wep.c
    patching file ieee80211/ieee80211.h
    patching file ieee80211/ieee80211_module.c
    patching file ieee80211/ieee80211_rx.c
    patching file ieee80211/ieee80211_softmac.c
    patching file ieee80211/ieee80211_softmac_wx.c
    patching file ieee80211/ieee80211_tx.c
    patching file ieee80211/ieee80211_wx.c
    patching file ieee80211/Makefile
    patching file ieee80211/Modules.symvers
    patching file ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
    patching file ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
    patching file ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
    patching file ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
    patching file ieee80211/.tmp_versions/ieee80211-rtl.mod
    patching file makedrv~
    patching file Makefile
    patching file ReadMe.txt~
    patching file symvers
    patching file wlan0rmv
    
    root@bt:~/rtl8187_linux_26.1010.0622.2006# patch -Np1 -i rtl8187_2.6.32.patch
    patching file beta-8187/r8187.h
    patching file beta-8187/r8187_core.c
    patching file ieee80211/ieee80211_module.c
    patching file ieee80211/ieee80211_rx.c
    patching file ieee80211/ieee80211_tx.c
    
    root@bt:~/rtl8187_linux_26.1010.0622.2006# make
    rm -f ieee80211/Module.symvers 2>/dev/null
    rm -f ieee80211/Modules.symvers 2>/dev/null
    make -C ieee80211 all
    make[1]: Entering directory `/root/rtl8187_linux_26.1010.0622.2006/ieee80211'
    make -C /lib/modules/2.6.39.4/build M=/root/rtl8187_linux_26.1010.0622.2006/ieee80211 modules
    make: Entering an unknown directory
    make: *** /lib/modules/2.6.39.4/build: No such file or directory.  Stop.
    make: Leaving an unknown directory
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/root/rtl8187_linux_26.1010.0622.2006/ieee80211'
    make: *** [all] Error 2
    root@bt:~/rtl8187_linux_26.1010.0622.2006#
    Why is there an ERROR? How should i continue?

Similar Threads

  1. alfa AWUS036H rtl8187
    By slayer89 in forum Beginners Forum
    Replies: 2
    Last Post: 05-25-2010, 08:44 PM
  2. Alfa AWUS036H using rtl8187
    By pilotsnipes in forum OLD LiveCD Support
    Replies: 31
    Last Post: 11-24-2009, 08:20 PM
  3. Drivers for ALFA AWUS036H rtl8187l - Linux
    By rywos in forum OLD Wireless
    Replies: 1
    Last Post: 11-15-2009, 06:43 PM
  4. Alfa AWUS036H (rtl8187) - Can't connect via WEP
    By SlingShot in forum OLD Bt4beta Non-Working Hardware
    Replies: 6
    Last Post: 07-19-2009, 09:14 PM
  5. Airpwn with RTL8187 in the Alfa AWUS036H
    By Rubberducky in forum OLD BackTrack 3 Final
    Replies: 18
    Last Post: 12-12-2008, 06:25 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
  •