Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35

Thread: How to install RTL8187 driver to Ubuntu 13.04?

  1. #11
    Join Date
    Aug 2013
    Beans
    47

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    Quote Originally Posted by chili555 View Post
    First, let's verify which of the 8187 cousins you have and also, let's find and blacklist the internal device so it doesn't conflict by fighting for domination. Please post:
    Code:
    lsusb
    lsmod
    After that, we'll see if there is any improvement and see what next steps we may need to undertake.
    yes,here it is:

    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$ lsusb
    Bus 001 Device 033: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
    Bus 004 Device 022: ID 049f:0086 Compaq Computer Corp. Bluetooth Device
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$ lsmod
    Module Size Used by
    rtl8187 60184 0
    eeprom_93cx6 13168 1 rtl8187
    pata_pcmcia 16938 1
    btusb 17986 0
    rfcomm 37420 12
    bnep 17669 2
    bluetooth 202069 22 bnep,btusb,rfcomm
    arc4 12543 4
    joydev 17097 0
    snd_intel8x0 33096 4
    ath5k 134997 0
    snd_ac97_codec 105692 1 snd_intel8x0
    ac97_bus 12670 1 snd_ac97_codec
    ath 19187 1 ath5k
    radeon 870822 3
    pcmcia 39544 1 pata_pcmcia
    snd_pcm 80890 2 snd_ac97_codec,snd_intel8x0
    snd_page_alloc 14230 2 snd_intel8x0,snd_pcm
    snd_seq_midi 13132 0
    snd_seq_midi_event 14475 1 snd_seq_midi
    snd_rawmidi 25114 1 snd_seq_midi
    ttm 71289 1 radeon
    ppdev 12817 0
    smsc_ircc2 18881 0
    mac80211 526519 2 ath5k,rtl8187
    drm_kms_helper 47545 1 radeon
    irda 107316 1 smsc_ircc2
    yenta_socket 27095 0
    parport_pc 27504 1
    snd_seq 51280 2 snd_seq_midi_event,snd_seq_midi
    drm 228750 5 ttm,drm_kms_helper,radeon
    crc_ccitt 12627 1 irda
    snd_seq_device 14137 3 snd_seq,snd_rawmidi,snd_seq_midi
    wmi 18590 0
    pcmcia_rsrc 18191 1 yenta_socket
    cfg80211 436177 4 ath,ath5k,mac80211,rtl8187
    snd_timer 24411 2 snd_pcm,snd_seq
    video 18894 0
    pcmcia_core 21505 3 pcmcia,pcmcia_rsrc,yenta_socket
    mac_hid 13037 0
    i2c_algo_bit 13197 1 radeon
    lpc_ich 16925 0
    snd 56485 15 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_ seq,snd_rawmidi,snd_seq_device
    shpchp 32129 0
    psmouse 81038 0
    soundcore 12600 1 snd
    serio_raw 13031 0
    microcode 18286 0
    lp 13299 0
    parport 40753 3 lp,ppdev,parport_pc
    tg3 143666 0
    firewire_ohci 35292 0
    ptp 18189 1 tg3
    firewire_core 61718 1 firewire_ohci
    pps_core 13736 1 ptp
    crc_itu_t 12627 1 firewire_core
    floppy 55441 0
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$

  2. #12
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,477
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    We see that your USB driver is rtl8187 and the driver for the apparently not working well internal is ath5k. Let's blacklist it and see if performance improves:
    Code:
    sudo -i
    echo "blacklist ath5k" >> /etc/modprobe.d/blacklist.conf
    modprobe -r ath5k
    exit
    Is there any improvement? It may take a reboot.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #13
    Join Date
    Aug 2013
    Beans
    47

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    Quote Originally Posted by chili555 View Post
    We see that your USB driver is rtl8187 and the driver for the apparently not working well internal is ath5k. Let's blacklist it and see if performance improves:
    Code:
    sudo -i echo "blacklist ath5k" >> /etc/modprobe.d/blacklist.conf modprobe -r ath5k exit
    Is there any improvement? It may take a reboot.
    I did "blacklist" ath5k,but still have a problem with connection.It shows some signal present,it should be sufficient if everything's ok,but it's not (yet),and won't go to any site.Led's blinking fast.Blue wifi indicator led goes on and off without control.Here is what I see in terminal(it was just before restart):
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$ lsusb
    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
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$ lsmod
    Module Size Used by
    rtl8187 60184 0
    mac80211 526519 1 rtl8187
    cfg80211 436177 2 mac80211,rtl8187
    eeprom_93cx6 13168 1 rtl8187
    rfcomm 37420 0
    bnep 17669 2
    bluetooth 202069 10 bnep,rfcomm
    arc4 12543 2
    joydev 17097 0
    snd_intel8x0 33096 2
    radeon 870822 3
    snd_ac97_codec 105692 1 snd_intel8x0
    ac97_bus 12670 1 snd_ac97_codec
    snd_pcm 80890 2 snd_ac97_codec,snd_intel8x0
    ttm 71289 1 radeon
    snd_page_alloc 14230 2 snd_intel8x0,snd_pcm
    snd_seq_midi 13132 0
    pcmcia 39544 0
    ppdev 12817 0
    snd_seq_midi_event 14475 1 snd_seq_midi
    drm_kms_helper 47545 1 radeon
    snd_rawmidi 25114 1 snd_seq_midi
    smsc_ircc2 18881 0
    irda 107316 1 smsc_ircc2
    drm 228750 5 ttm,drm_kms_helper,radeon
    yenta_socket 27095 0
    wmi 18590 0
    crc_ccitt 12627 1 irda
    snd_seq 51280 2 snd_seq_midi_event,snd_seq_midi
    parport_pc 27504 1
    video 18894 0
    snd_seq_device 14137 3 snd_seq,snd_rawmidi,snd_seq_midi
    pcmcia_rsrc 18191 1 yenta_socket
    i2c_algo_bit 13197 1 radeon
    snd_timer 24411 2 snd_pcm,snd_seq
    pcmcia_core 21505 3 pcmcia,pcmcia_rsrc,yenta_socket
    mac_hid 13037 0
    lpc_ich 16925 0
    snd 56485 11 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_ seq,snd_rawmidi,snd_seq_device
    shpchp 32129 0
    psmouse 81038 0
    soundcore 12600 1 snd
    microcode 18286 0
    serio_raw 13031 0
    lp 13299 0
    parport 40753 3 lp,ppdev,parport_pc
    tg3 143666 0
    firewire_ohci 35292 0
    ptp 18189 1 tg3
    firewire_core 61718 1 firewire_ohci
    pps_core 13736 1 ptp
    crc_itu_t 12627 1 firewire_core
    floppy 55441 0
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$
    And "connected to wifi" message comes too....

  4. #14
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,477
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    The LED is controlled in different ways for different devices in Linux. I am not sure that its blink rate really tells us much. Let's look deeper:
    Code:
    nm-tool
    dmesg | grep -e rtl -e wlan -e 80211 | tail -n25
    Please run both with any ethernet detached and while trying to connect.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #15
    Join Date
    Aug 2013
    Beans
    47

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    Quote Originally Posted by chili555 View Post
    The LED is controlled in different ways for different devices in Linux. I am not sure that its blink rate really tells us much. Let's look deeper:
    Code:
    nm-tool
    dmesg | grep -e rtl -e wlan -e 80211 | tail -n25
    Please run both with any ethernet detached and while trying to connect.
    here it is:
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$ nm-tool

    NetworkManager Tool

    State: disconnected

    - Device: eth0 -----------------------------------------------------------------
    Type: Wired
    Driver: tg3
    State: unavailable
    Default: no
    HW Address: 00:08:02:EA:99:03

    Capabilities:
    Carrier Detect: yes

    Wired Properties
    Carrier: off


    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$ dmesg | grep -e rtl -e wlan -e 80211 | tail -n25
    [ 358.561176] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 358.561184] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 358.561192] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 593.210883] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
    [ 593.212632] ieee80211 phy1: hwaddr 00:18:1a:11:7b:a7, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
    [ 593.234213] rtl8187: Customer ID is 0x00
    [ 593.235809] rtl8187: wireless switch is on
    [ 595.877644] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [ 595.879448] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [ 599.893722] wlan1: authenticate with 00:24:17:d7:68:a7
    [ 599.959216] wlan1: send auth to 00:24:17:d7:68:a7 (try 1/3)
    [ 599.964116] wlan1: authenticated
    [ 599.972110] wlan1: associate with 00:24:17:d7:68:a7 (try 1/3)
    [ 599.974479] wlan1: RX AssocResp from 00:24:17:d7:68:a7 (capab=0x401 status=0 aid=6)
    [ 599.976199] wlan1: associated
    [ 599.976258] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
    [ 792.669810] wlan1: deauthenticating from 00:24:17:d7:68:a7 by local choice (reason=3)
    [ 792.730664] cfg80211: Calling CRDA to update world regulatory domain
    [ 792.822666] cfg80211: World regulatory domain updated:
    [ 792.822680] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [ 792.822690] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 792.822699] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 792.822707] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 792.822715] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 792.822723] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$ dmesg | grep -e rtl -e wlan -e 80211 | tail -n25
    [ 599.974479] wlan1: RX AssocResp from 00:24:17:d7:68:a7 (capab=0x401 status=0 aid=6)
    [ 599.976199] wlan1: associated
    [ 599.976258] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
    [ 792.669810] wlan1: deauthenticating from 00:24:17:d7:68:a7 by local choice (reason=3)
    [ 792.730664] cfg80211: Calling CRDA to update world regulatory domain
    [ 792.822666] cfg80211: World regulatory domain updated:
    [ 792.822680] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [ 792.822690] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 792.822699] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 792.822707] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [ 792.822715] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 792.822723] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [ 1278.162642] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
    [ 1278.164452] ieee80211 phy2: hwaddr 00:18:1a:11:7b:a7, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
    [ 1278.186317] rtl8187: Customer ID is 0x00
    [ 1278.187789] rtl8187: wireless switch is on
    [ 1280.809622] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [ 1280.811332] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [ 1284.863508] wlan1: authenticate with 00:24:17:d7:68:a7
    [ 1284.923172] wlan1: send auth to 00:24:17:d7:68:a7 (try 1/3)
    [ 1284.927668] wlan1: authenticated
    [ 1284.932067] wlan1: associate with 00:24:17:d7:68:a7 (try 1/3)
    [ 1284.934353] wlan1: RX AssocResp from 00:24:17:d7:68:a7 (capab=0x401 status=0 aid=3)
    [ 1284.936108] wlan1: associated
    [ 1284.936192] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
    tom@tom-HP-Compaq-nc8000-DU449EA-ABD:~$

  6. #16
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,477
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    We see the interface connecting and then disconnecting, I assume because of the weak signal from 200 yds. away. I suspect that was actually also the problem with the internal! Let's try a few things.

    First, we see no valid regulatory domain set:
    World regulatory domain updated:
    A blank here means a default, one size maybe fits all was set. Please do:
    Code:
    sudo iw reg set US
    Of course, if your domain is not US, substitute the actual two-character code from here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

    Second, right-click the Network Manager icon and edit wireless, IPv6 to ignore IPv6 settings, like this: https://access.redhat.com/site/docum...pv6-ignore.png Save and close.

    Third, let's lengthen the probe response time-out:
    Code:
    sudo -i
    echo "options mac80211 probe_wait_ms=5000" > /etc/modprobe.d/mac80211.conf
    Now we unload and reload the driver for the parameter to take effect:
    Code:
    modprrobe -r rtl8187
    modprobe -r mac80211
    modprobe rtl8187
    exit
    Any improvement?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #17
    Join Date
    Aug 2013
    Beans
    47

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    Quote Originally Posted by chili555 View Post
    We see the interface connecting and then disconnecting, I assume because of the weak signal from 200 yds. away. I suspect that was actually also the problem with the internal! Let's try a few things.

    First, we see no valid regulatory domain set:A blank here means a default, one size maybe fits all was set. Please do:
    Code:
    sudo iw reg set US
    Of course, if your domain is not US, substitute the actual two-character code from here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

    Second, right-click the Network Manager icon and edit wireless, IPv6 to ignore IPv6 settings, like this: https://access.redhat.com/site/docum...pv6-ignore.png Save and close.

    Third, let's lengthen the probe response time-out:
    Code:
    sudo -i
    echo "options mac80211 probe_wait_ms=5000" > /etc/modprobe.d/mac80211.conf
    Now we unload and reload the driver for the parameter to take effect:
    Code:
    modprrobe -r rtl8187
    modprobe -r mac80211
    modprobe rtl8187
    exit
    Any improvement?
    ok Chili,this is the situation right now with my wifi,when it works normally,but it's for a minute or two only,it works very good.And then it stops,I can't open any site or mail after just a minute or maybe two.After I disconnect wifi (using software,not usb plug)and connect it back,it works for a short while again.It says on the chip it's RTL8187L,and when I check in terminal,it's RTL8187,and RTL8187B is compatible with RTL8187, L is not on the list.Very strange.I have driver for L ready in tar.gz,but have no idea how to install it.Could it be that RTL8187L really needs it's own driver installed?

  8. #18
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,477
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    when it works normally,but it's for a minute or two only,it works very good.And then it stops,
    I am pretty confident that it's disconnecting because it can't hear a probe response because of the weak signal from 200 yds. away. Did you try every one of the steps I suggested? Is there a date or version on the package you have? What is the exact name of the package? I doubt it is an improvement on the driver rtl8187 in the kernel by default.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #19
    Join Date
    Aug 2013
    Beans
    47

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    Quote Originally Posted by chili555 View Post
    I am pretty confident that it's disconnecting because it can't hear a probe response because of the weak signal from 200 yds. away. Did you try every one of the steps I suggested? Is there a date or version on the package you have? What is the exact name of the package? I doubt it is an improvement on the driver rtl8187 in the kernel by default.
    I've tried every one of the steps you suggested.It seems to work little bit better with probe time increased.Should I try and increase it more?Here are three photos of the package attached.Windows driver that I use with windows is for RTL8187.rtl 001.jpgrtl 003.jpgrtl 002.jpg

  10. #20
    Join Date
    Sep 2011
    Location
    Pennsylvania, U.S.A.
    Beans
    2,367
    Distro
    Ubuntu Development Release

    Re: How to install RTL8187 driver to Ubuntu 13.04?

    Not being an RF expert, 200 yards seems like quite a way for a nondirectional antenna to work. Particularly if there is other 2.4 ghz. 'noise' around like cordless phones, microwave ovens and the like. Does your adapter have a removeable antenna? If so, I wonder if you'll end up with something like this:

    http://sewelldirect.com/High-Gain-Pa...FZKk4AodLxQAXA

    or if you're a tinkerer, a cantenna.

    http://en.wikipedia.org/wiki/Cantenna

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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