Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: RTL8187 native module for Realtek is working, but...

  1. #1
    Join Date
    Mar 2009
    Beans
    3

    Question RTL8187 native module for Realtek is working, but...

    .... the connection speed is so slow, comparing with xp. Large files copy in the wireless LAN takes 5 times longer. Ndiswrapper with xp driver works, sometimes, but it hangs my laptop so often that I removed it.

    Description:
    Toshiba Satellite L300 with Ubuntu 8.10 (kernel 2.6.27-11-generic)
    Access point (router): 802.11g

    somebody@laptop:~$ iwconfig wlan0
    wlan0 IEEE 802.11bg ESSID:"myaccesspoint"
    Mode:Managed Frequency:2.437 GHz Access Point: xx: xx: xx: xx: xx: xx
    Bit Rate=54 Mb/s Tx-Power=27 dBm
    Retry min limit:7 RTS thr: off Fragment thr=2352 B
    Power Management: off
    Link Quality=100/100 Signal level:-19 dBm
    Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    somebody@laptop:~$ lsusb
    Bus 007 Device 002: ID XXX:XXXX Realtek Semiconductor Corp. RTL8187B Wireless Adapter


    The Question: Is there a possibility to fine tune something to make it work faster?
    Last edited by robinz77; March 25th, 2009 at 08:26 PM.

  2. #2
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: RTL8187 native module for Realtek is working, but...

    It's no guarantee, but you might have better luck if you compiled the driver using the latest source code from http://wireless.kernel.org/, rather than using Ubuntu's stock module. I don't have time now to provide full instructions for compiling, but if you can't figure it out, let me know.

  3. #3
    Join Date
    Feb 2008
    Beans
    31

    Re: RTL8187 native module for Realtek is working, but...

    I'm having the same exact problem. Same kernel. Same device.

    I for one would certainly appreciate instructions on how to compile the kernel.

  4. #4
    Join Date
    Mar 2009
    Beans
    3

    Re: RTL8187 native module for Realtek is working, but...

    I've tried to switch to the previous kernel. It is the same.
    It looks like it's working in the 801.11b mode.
    Last edited by robinz77; March 26th, 2009 at 12:34 PM.

  5. #5
    Join Date
    Feb 2008
    Beans
    31

    Re: RTL8187 native module for Realtek is working, but...

    Good to know. How do you switch it to b mode?

  6. #6
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: RTL8187 native module for Realtek is working, but...

    Take a look at this page, which says that setting the card to operate at 5.5 megabits/second (rather than 54) makes it stable. This goes along with the finding that it works better in 11b mode, because the maximum speed in that mode is also slower.
    Last edited by pytheas22; March 27th, 2009 at 06:06 AM.

  7. #7
    Join Date
    Feb 2008
    Beans
    31

    Re: RTL8187 native module for Realtek is working, but...

    Thanks, but I've tried that multiple times. Last time I tried it, it worked, but it is extremely slow and most pages time out before loading. A page like this would take it around 3-4 minutes to load. I might as well be using dial-up at that point.

    Actually, I've tried almost every hack I could find for this chip. I'm beginning to wonder if I may have damaged it in the process or perhaps the new kernel driver got overwritten at some point. I'm new to linux so I'm not even sure how to check for this. I did check the kernel/wireless directory and there is a file for rtl8187. Is it possible that one of the hacks I tried overwrote the original 2.6.27 kernel file for rtl8187? In other words, when I run files like makedrv and install, does it write over the file originally supplied with the kernel? Is there a way to check this?

  8. #8
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: RTL8187 native module for Realtek is working, but...

    Is it possible that one of the hacks I tried overwrote the original 2.6.27 kernel file for rtl8187? In other words, when I run files like makedrv and install, does it write over the file originally supplied with the kernel? Is there a way to check this?
    Depending on what you did, you might have overwritten the default driver. To check, run the command 'modinfo rtl8187'. The output for the default module in the 2.6.27-11 Ubuntu kernel should look like this (I'm not sure if the 'alias' lines are supposed to match, but the 'srcversion' line in particular should):
    Code:
    filename:       /lib/modules/2.6.27-11-generic/updates/rtl8187.ko
    license:        GPL
    description:    RTL8187/RTL8187B USB wireless driver
    author:         Larry Finger <Larry.Finger@lwfinger.net>
    author:         Hin-Tak Leung <htl10@users.sourceforge.net>
    author:         Herton Ronaldo Krzesinski <herton@mandriva.com.br>
    author:         Andrea Merello <andreamrl@tiscali.it>
    author:         Michael Wu <flamingice@sourmilk.net>
    srcversion:     290F0D334BA1A0FDE730BF6
    alias:          usb:v13D1pABE6d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p0028d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p000Dd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v03F0pCA02d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0846p4260d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0846p6A00d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0846p6100d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8198d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v050Dp705Ed*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0B05p171Dd*dc*dsc*dp*ic*isc*ip*
    depends:        eeprom_93cx6,lbm_cw-mac80211,usbcore,lbm_cw-cfg80211
    vermagic:       2.6.27-11-generic SMP mod_unload modversions
    If your output is different, it's probably a different build of the module (or you're using an older version of the kernel, but as of today, you should have 2.6.27-11 if you've applied all Ubuntu updates).

    If you can't get this card to work satisfactorily using the native driver, another option would be ndiswrapper, which uses Windows drivers to power the device. If you tell me the output of the 'lspci -nn' command, I'll try to find you instructions for setting up ndiswrapper.

  9. #9
    Join Date
    Feb 2008
    Beans
    31

    Re: RTL8187 native module for Realtek is working, but...

    Thanks again. Here's the output of modinfo:

    Code:
    filename:       /lib/modules/2.6.27-11-generic/kernel/drivers/net/wireless/rtl8187.ko
    license:        GPL
    description:    RTL8187/RTL8187B USB wireless driver
    author:         Andrea Merello <andreamrl@tiscali.it>
    author:         Michael Wu <flamingice@sourmilk.net>
    srcversion:     7E229F3124D51DF4700B9CF
    alias:          usb:v13D1pABE6d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p0028d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0DF6p000Dd*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v03F0pCA02d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0846p4260d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0846p6A00d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0846p6100d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8198d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v050Dp705Ed*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v0B05p171Dd*dc*dsc*dp*ic*isc*ip*
    depends:        mac80211,eeprom_93cx6,cfg80211,usbcore
    vermagic:       2.6.27-11-generic SMP mod_unload modversions 586
    So, apparently, it's another version. Hmm..

    I tried ndiswrapper before, using the tutorial here at ubuntuforums, and it showed it as installed (win98 driver), but it would not work.

    Here's my output for lspci -nn:

    Code:
    00:00.0 Host bridge [0600]: ATI Technologies Inc RS690 Host Bridge [1002:7910]
    00:01.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx) [1002:7912]
    00:05.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1) [1002:7915]
    00:07.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3) [1002:7917]
    00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
    00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
    00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
    00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
    00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
    00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
    00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386]
    00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 14)
    00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
    00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
    00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
    00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
    00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
    00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
    00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
    00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
    01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS690M [Radeon X1200 Series] [1002:791f]
    01:05.2 Audio device [0403]: ATI Technologies Inc Radeon X1200 Series Audio Controller [1002:7919]
    08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 01)
    Again, I sincerely appreciate your help.

  10. #10
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: RTL8187 native module for Realtek is working, but...

    When you installed ndiswrapper before, you may have forgotten to blacklist the rtl8187 module, which would have prevented ndiswrapper from working. Please run these commands and post the output (some of them may not have any output):
    Code:
    ndiswrapper -l
    sudo rmmod rtl8187
    sudo depmod -a
    sudo modprobe ndiswrapper
    lshw -C Network
    dmesg | grep -e ndis -e wlan
    At this point, your device should be running under ndiswrapper, provided it's installed correctly. Try connecting now. If it works better, we can remove rtl8187 permanently so that ndiswrapper will always take control.

Page 1 of 2 12 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
  •