4

I've bought a new notebook with rtl8723ae wifi chip (or at least it looks like)

$ lspci | grep RTL
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter

Windows also shows rtl8723ae in the device manager.

At the moment, I have windows 7 and ubuntu 13.04 installed.

When I use wifi with windows booted, everything goes ok, router shows stable signal about -60 dBm and link speed 135-150 Mbit/s. Download speed seems OK.

But when I am in ubuntu with the same distance/walls to the router, download speed jumps from 0 to good, router shows signal ~ -80 dBm (with the same notebook vs router placement!) and link speed jumping randomly from 1 mbps to ~54 mbps.

Stable link with 135-150 mbps and signal -60 dBm under ubuntu is achievable only with the notebook at a 30 cm distance to router. Any longer distance or my body between the router and notebook drops signal dramatically.

iwconfig reports txpower 20 dBm:

$ iwconfig
eth1      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"ZyXEL_KEENETIC_LITE_3EFA9B"  
          Mode:Managed  Frequency:2.457 GHz  Access Point: C8:6C:87:3E:FA:9B   
          Bit Rate=150 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-14 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:28819   Missed beacon:0

Reducing it to 0 dBm with sudo iwconfig wlan0 txpower 0 seem to have no effect.

Signal level reported by iwconfig seem to jump randomly from -90 to +15 dBm (or even once maybe I've seen +26 dBm, not sure).

At a close distance (~30 cm) iwconfig reportes -30 dBm most of the time, but sometimes jumps to something ramdom (+10 dBm, -70 dBm, -90 dBm... )

Also, at a longer distance -60 dBm seems to be more likely to be reported by iwconfig, but random jumps are more often and it's hard to say for sure.

Everything seems like a transmitter power or signal correctness problem. But in windows everything goes OK.

May be, the driver does not work with the chip correctly, but works somehow.

The kernel module rtl8723ae seems to be loaded:

$ lsmod | grep rtl87
rtl8723ae              86459  0 
rtlwifi                79673  1 rtl8723ae

It there anything I can do with this? The notebook was bought for use with ubuntu mainly, but with such a wifi it is not quite usable =(

Braiam
  • 67,791
  • 32
  • 179
  • 269
Anatol
  • 41
  • 1
  • 2
  • 1
  • Thanks for response, but this thread seem to be relatively old. It is from the times when no driver for rtl8723ae was included in ubuntu distribution. But now it is. And it works. But doesn't work fine in my case... If I have time I'll try the driver from their links, but I think it is the same driver that is now included in ubuntu and it'll hardly help. And using ndiswrapper is also an idea, but looks like overkill... May be I'll try it too. – Anatol May 02 '13 at 11:41
  • Right yes but sometime old stuff works best... :P – Meintjes May 02 '13 at 11:46
  • Yes, sometimes it does ) I'll check. – Anatol May 02 '13 at 11:48
  • As for drivers from links - they are for 3.4 and 3.5 kernel and I didn't manage to compile them for 3.8 =( Not sure if it is possible at all. – Anatol May 02 '13 at 12:16
  • Did you try to uninstall the driver and install it again? – Meintjes May 02 '13 at 12:20
  • This is a relatively new device and a new driver. There are a variety of parameters available. Let's try one and see if the behavior improves: sudo modprobe -r rtl8723ae; sudo modprobe rtl8723ae ips=0. If it helps, we'll write one file and make it persistent. If it doesn't work, we'll try other parameters. – chili555 May 02 '13 at 12:50
  • With ips=0 it asks for wifi network password repeatedly and can't connect at all. – Anatol May 05 '13 at 08:18
  • As for "uninstall driver and install it again", I can't find how to do it, it was installed with the ubuntu itself and I can't find any packages with apt names. If you meant just modprobe -r rtl8723ae, I've done it multiple times. – Anatol May 05 '13 at 08:24
  • And I also tried ndiswrapper, but it couldn't load windows 7 driver properly, and there is no XP-driver for rtl8723ae. – Anatol May 05 '13 at 08:27
  • Sorry, there is something that looks like an XP-driver, but ndiswrapper can't load it, "ioremap failed". Blacklisting native linux driver doesn't help. I would appreciate any suggestions for running ndiswrapper as well as for improving performance of rtl8723ae. – Anatol May 05 '13 at 13:38
  • did you found a solution, i have the same problem as you – Rachid O Aug 06 '13 at 03:36
  • me too... sometimes i login and my wireless device won't detect any network. I put it to sleep intuitively, then it worked right after I woke it up. but then again, the low signal quality is still there.. – ultrajohn Aug 12 '13 at 14:39
  • It might be worth looking at my reply in this thread.

    http://askubuntu.com/questions/401647/realtek-8723ae-driver-works-badly/497207#497207

    – Jarth Berilcosm Jul 13 '14 at 11:53

2 Answers2

3

Anatol, I experience a similar problem with my laptop. However, when I do

sudo iwconfig wlan0 txpower 30

...then,

sudo iwconfig wlan0 essid MyESSID key xxxxxxxxxxxx

...I get connected.

I have a modem very close to my desktop, with no wall interfering, and sometimes I connect, sometimes not. Then I guessed maybe a power issue was the cause. In my case, I was right.

Hope this confirms your suspicions.

LobaLuna
  • 383
0

I've experienced much better performance following the advice from this user:

https://zach-adams.com/2014/06/fixing-rtl8723ae-driver-ubuntu-linux/

In short, two stages:

  1. Try installing the linux-firmware-nonfree drivers with this command:

    sudo apt-get install linux-firmware-nonfree

  2. Try installing the WICD network manager. For instructions for your version of Ubuntu, see https://help.ubuntu.com/community/WICD

Chris
  • 168