LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-27-2010, 07:54 PM   #1
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Rep: Reputation: 15
Weak signal and slow speed with Realtek RTL8185


The signal strength on my Realtek RTL8185 wireless networking card is much less than in windows.

In windows it achieves 3 bars out of 5 and works at the full 54Mbps however in OpenSUSE 11.2 it achieves only 13% signal strength and reports a 1Mpbs bitrate.

output of iwconfig:

wlan0 IEEE 802.11bg ESSID:"*****"
Mode:Managed Frequency:2.412 GHz Access Point: 00:24:B2:32:A5:2E
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thrff Fragment thrff
Encryption key:963F-A499-939C-29A9-D6F3-09ED-EF2E-CF04-4F75-6EDC-714F-BD42-4ABF-6613-80EF-4ACB [2]
Power Managementff
Link Quality=13/100 Signal level=13/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Moreover the signal strength appears to be spurious since placing aluminum foil over the external antenna does not affect the number given although doing this in windows reduces it from 3 bars to 1 and the speed suffers.

This is using the rtl8180 driver on kernel 2.6.31.5-0.1-default

I have tried to use ndiswrapper to see if using a windows xp driver would work better however blacklisting the rtl8180 driver didn't stop the system from using it.

In fact www.speedtest.net reports the download speed as about 1.5Mbps whether in OpenSUSE 11.2 or on a wired ethernet connection on the netbook.

However an scp from the netbook to the desktop doesn't achieve more than that, so I'm fairly sure the connection between the desktop and router isn't working at full speed.

Last edited by mawkernewek; 01-28-2010 at 04:49 AM. Reason: adding details of speed test
 
Old 01-29-2010, 06:03 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
What is other drivers for rtl chipsets this kernel have?

find / -name rtl*.ko
 
1 members found this post helpful.
Old 01-29-2010, 06:11 PM   #3
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
I changed kernel version to 2.6.32-10-generic now

I've got rtl8187se, rtl8187, rtl8180, rtl8150, rtl8187, rtl8180 on that. I've noticed a new version of the drivers have appeared on the realtek website at http://www.realtek.com.tw/downloads/...Downloads=true

so might downgrade back to 2.6.31 and give those a try (wouldn't compile on 2.6.32)
 
Old 01-29-2010, 06:17 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Try this driver first.
 
Old 01-29-2010, 06:21 PM   #5
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
I tried to compile the driver but failed, which I presume is because 2.6.32 is too new?

root@dlrt2:/home/dlrt2/Download/rtl8...07.2009.release# make
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-10-generic'
CC [M] /home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.o
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c: In function ‘proc_get_stats_hw’:
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:350: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:351: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:354: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:355: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:358: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:359: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c: In function ‘check_tx_ring’:
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:826: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:826: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:827: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:827: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c: In function ‘alloc_tx_desc_ring’:
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:1447: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:1447: warning: cast to pointer from integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c: In function ‘alloc_rx_desc_ring’:
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:1621: warning: cast from pointer to integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:1621: warning: cast to pointer from integer of different size
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c: In function ‘rtl8180_rx’:
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:2065: error: implicit declaration of function ‘rdtsc_rtl’
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c: In function ‘rtl8180_watch_dog’:
/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.c:2793: warning: unused variable ‘bEnterPS’
make[2]: *** [/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185/r8180_core.o] Error 1
make[1]: *** [_module_/home/dlrt2/Download/rtl8185_linux_26.1031.1207.2009.release/rtl8185] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-10-generic'
make: *** [all] Error 2

Last edited by mawkernewek; 01-29-2010 at 06:23 PM. Reason: details of error
 
Old 01-29-2010, 06:23 PM   #6
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
You have already rtl8180. Try it. Type:
modprobe -r rtl8180
modprobe rtl8180
dmesg | tail -n 50

Post output, but cat only about driver.
 
Old 01-29-2010, 06:27 PM   #7
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
the relevant lines seem to be:

[21786.061352] rtl8180 0000:03:06.0: PCI INT A disabled
[21794.967150] rtl8180 0000:03:06.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
 
Old 01-29-2010, 06:30 PM   #8
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
I also get:

[21795.117487] phy0: Selected rate control algorithm 'minstrel'

which seems to refer to the bit rate control.

As I understand it, the problem is that the rtl8180 driver makes it report a low signal strength for whatever reason and that makes it slow down?
 
Old 01-29-2010, 06:39 PM   #9
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
That is not all, can post full output through http://pastebin.com/.
 
Old 01-29-2010, 06:39 PM   #10
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
A file transfer running from my netbook (which AFAIK wireless works fine on) to desktop begins at 2MB/s but the transfer rate quickly drops to a little over 100kB/s.
 
Old 01-29-2010, 06:42 PM   #11
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
http://pastebin.com/m58270479
 
Old 01-29-2010, 06:57 PM   #12
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Can you please do:
modprobe -r rtl8180
modprobe rtl8180
dmesg | tail -n 50

Thanks
 
Old 01-29-2010, 07:19 PM   #13
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
output of dmesg | tail -n 50 is at http://pastebin.com/m6122d8e6

also when I tried to compile Realtek's linux drivers downloaded from their website I got http://pastebin.com/m42c436f2
 
Old 01-29-2010, 07:29 PM   #14
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Have you tried to connect to other AP, just to check you wireless behavior.

Also check your AP settings, may be it is trying to do something that only windows like.
I meant AP wireless settings.

Last edited by nimnull22; 01-29-2010 at 07:31 PM.
 
Old 01-30-2010, 02:36 AM   #15
mawkernewek
Member
 
Registered: Nov 2007
Posts: 36

Original Poster
Rep: Reputation: 15
The only other thing I was able to try with the desktop is to set up an ad-hoc network between it and the netbook. This brought the error message (on the desktop):

sudo iwconfig wlan0 mode ad-hoc
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not supported.

I doubt the router (Netgear dgn2000) is doing anything Linux doesn't like since my linux netbook works OK on it. The only thing is the signal strength seems to drop off fairly rapidly.

Last edited by mawkernewek; 01-30-2010 at 02:45 AM.
 
  


Reply

Tags
opensuse112


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek RTL8185 -- rtl8180 module locking system up on Slack 13 devwatchdog Slackware 4 06-26-2010 05:45 PM
weak signal..5 feet away from router stratotak Linux - Laptop and Netbook 1 01-01-2009 02:57 AM
Weak wifi signal in Ubuntu Hardy LeftyAce Linux - Wireless Networking 4 11-08-2008 11:54 AM
Wireless Realtek RTL8185 Driver; Help installing on Fedora 7? Dunas Linux - Laptop and Netbook 2 03-13-2008 02:29 AM
NIC transfer speed fast... receive speed slow landev Linux - Networking 5 11-07-2006 03:09 PM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration