Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: RTL8187 / managed mode

  1. #1
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    12

    Default RTL8187 / managed mode

    Hi,
    I have a problem with the managed mode of my alfa card.
    I can inject and crack any wep but i can't connect to any network, it doesn't make any link.
    i did (as usually under bt3) that under bt4:
    ifconfig wlan0 down
    iwconfig wlan0 mode managed
    ifconfig wlan0 up
    iwconfig wlan0 ap bssid
    iwconfig wlan0 key hexakey
    dhclient wlan0

    i tested many networks with the right keys but i can't connect to it

  2. #2
    Member
    Join Date
    Jan 2010
    Posts
    332

    Default Low on info

    You should provide more info. (output maby???)
    The procedure looks fine - more info more answers.
    SecurityTube has two new sections. Questions & News

  3. #3
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    12

    Default

    i just found that it works when i precise channel & essid, i don't understand because it works well under bt3 and the signal is 50%+...

    root@bt:~# dhclient wlan0
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit

    mon2: unknown hardware address type 803
    mon1: unknown hardware address type 803
    wmaster2: unknown hardware address type 801
    wifi0: unknown hardware address type 801
    wmaster1: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    mon0: unknown hardware address type 803
    mon2: unknown hardware address type 803
    mon1: unknown hardware address type 803
    wmaster2: unknown hardware address type 801
    wifi0: unknown hardware address type 801
    wmaster1: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    mon0: unknown hardware address type 803
    Listening on LPF/wlan0/5a:fb:bb:91:85:f6
    Sending on LPF/wlan0/5a:fb:bb:91:85:f6
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.

    root@bt:~# iwconfig wlan0 essid essid_name

    root@bt:~# iwconfig wlan0 channel 2

    root@bt:~# dhclient wlan0
    There is already a pid file /var/run/dhclient.pid with pid 5890
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit

    mon2: unknown hardware address type 803
    mon1: unknown hardware address type 803
    wmaster2: unknown hardware address type 801
    wifi0: unknown hardware address type 801
    wmaster1: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    mon0: unknown hardware address type 803
    mon2: unknown hardware address type 803
    mon1: unknown hardware address type 803
    wmaster2: unknown hardware address type 801
    wifi0: unknown hardware address type 801
    wmaster1: unknown hardware address type 801
    wmaster0: unknown hardware address type 801
    mon0: unknown hardware address type 803
    Listening on LPF/wlan0/5a:fb:bb:91:85:f6
    Sending on LPF/wlan0/5a:fb:bb:91:85:f6
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
    DHCPOFFER of *.*.*.* from *.*.*.254
    DHCPREQUEST of *.*.*.* on wlan0 to 255.255.255.255 port 67
    DHCPREQUEST of *.*.*.* on wlan0 to 255.255.255.255 port 67
    DHCPACK of *.*.*.* from *.*.*.254
    bound to *.*.*.* -- renewal in 269341 seconds.
    root@bt:~#

  4. #4
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    12

    Default

    the connection is less stable that under backtrack 3 and sometimes it refuses to reconnect to the network

  5. #5
    Junior Member
    Join Date
    Feb 2010
    Posts
    27

    Default

    Under standard Ubuntu 8.10 and BT4b I have had trouble with the mac80211 drivers for the rtl8187. The signal strength and quality are crap compared to the old ieee80211 drivers. See the pics here for a comparison of the two drivers with airodump-ng. I can replicate these results every time with different computers and different ALFA's. I have just blacklisted the rtl8187 mac80211 driver under BT4b and installed the old ieee80211 driver. Guess what, BT4b and the ALFA work spot on again.

    http://forums.remote-exploit.org/sho...t=20133&page=2

  6. #6
    Senior Member
    Join Date
    Jan 2010
    Posts
    126

    Default

    this has been a previous topic of discussion on ubuntu forums.

    aircrack-ng.org/doku.php?id=r8187#general

  7. #7
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    12

    Default

    Quote Originally Posted by timstewart View Post
    Under standard Ubuntu 8.10 and BT4b I have had trouble with the mac80211 drivers for the rtl8187. The signal strength and quality are crap compared to the old ieee80211 drivers. See the pics here for a comparison of the two drivers with airodump-ng. I can replicate these results every time with different computers and different ALFA's. I have just blacklisted the rtl8187 mac80211 driver under BT4b and installed the old ieee80211 driver. Guess what, BT4b and the ALFA work spot on again.
    Thank you i will try that
    I already tried under debian with the aircrack-ng driver installation tutorial but it didn't worked very well (very bad injection ~2 packets injected every 30s), i will retry that under bt4...

    Quote Originally Posted by clone View Post
    this has been a previous topic of discussion on ubuntu forums.

    aircrack-ng.org/doku.php?id=r8187#general
    like i said, this driver in this tutorial didn't work well under my debian but i will try under bt4

  8. #8
    Junior Member
    Join Date
    Feb 2010
    Posts
    27

    Default

    Here's what I did to change to the old drivers:

    blacklist the rtl8187 driver:

    Code:
    # nano /etc/modprobe.d/blacklist
    add 'blacklist rtl8187' at the bottom and save (without the quotes)

    then more or less follow (as root) the instructions on the aircrack-ng website:
    (unload and mac80211 and rtl8187 modules that are loaded with rmmod first)

    Code:
    # wget http://dl.aircrack-ng.org/drivers/rtl8187_linux_26.1010.zip
    # unzip rtl8187_linux_26.1010.zip
    # cd rtl8187_linux_26.1010.0622.2006/
    # wget http://patches.aircrack-ng.org/rtl8187_2.6.27.patch
    # tar xzf drv.tar.gz
    # tar xzf stack.tar.gz
    then
    Code:
    # nano beta-8187/r8187.h
    go down to lines 46 and 47 and change 'asm' to 'linux' on both lines

    then to finish
    Code:
    # patch -Np1 -i rtl8187_2.6.27.patch
    # make
    # make install

  9. #9
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    12

    Default

    thank you for your help, will try that

  10. #10
    Junior Member
    Join Date
    Dec 2008
    Posts
    43

    Default

    timstewart

    I have done exactly like you said and wlan0 doesn't go up.. nothing in iwconfig and ifconfig (ifconfig wlan0 up (no such device)).
    And if i do
    Code:
    ./wlan0up
    i receve this:
    Code:
    insmod: can't read "ieee80211_crypt-rtl.ko" : No such file or directory
    insmod: can't read "ieee80211_crypt_wep-rtl.ko" : No such file or directory
    insmod: can't read "ieee80211_crypt_tkip-rtl.ko" : No such file or directory
    insmod: can't read "ieee80211_crypt_ccmp-rtl.ko" : No such file or directory
    insmod: can't read "ieee80211-rtl.ko" : No such file or directory
    insmod: can't read "r8187.ko" : No such file or directory
    wlan0: ERROR while getting interface flags: No such device
    I have a rtl8187b. Any ideas?

Page 1 of 3 123 LastLast

Posting Permissions

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