Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Speed of RTL8723be slow because of many lost TCP packages #28
Comments
|
Your English is fine. In fact, it is so good that I cannot even guess your native language. Thank you for the careful and detailed analysis of your situation. It seems that the rate setting mechanism is failing. It is also possible that the radio gain is not being increased as you move further from the access point. With my current setup, my computer is about 2m from the AP, and it would be very difficult to move. I see no reason that this situation cannot be fixed. Please post the output of the command 'iw dev xxxxxx station dump' in the two locations. Replace xxxxxx with the actual name of the device as shown in the "ip link" command. |
ghost
commented
Jan 22, 2015
|
Hi Larry, many thanks for the compliment about my english :-) I'm from germany and writing has cost me a lot of time. But it's a good practice for me :-) Ok. Let's see, what i have found out. I ran Ping for a duration of 4 minutes. During this time, the command 'iw dev wlan0 station dump' printed this to the console: Station d8:eb:97:ba:4d:b4 (on wlan0) I think, that the signal strength is not the problem. I ran the 'iw' command during the Ping every 5 seconds. The signal strength was between 40 and 46. The following Ping result --- 192.168.10.1 ping statistics --- rtt min/avg/max/mdev = 1.243/304.459/2021.401/540.640 ms, pipe 3shows, that there are lot's of TCP packeges lost and the average responsetime is bad (304 ms). The question is, what causes this problems and i'm very courious, if you have any ideas or you can find a solution. Finally i put the Ping output to this message and marked the first bad response times in the protocol. I hope that the output is helpfully for you :-) PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. --- 192.168.10.1 ping statistics --- 45 minutes later the count of lost TCP Packages causes horrible response times and makes surfing the internt horrible. Look at this: PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. This are the current output from the iw Command: Station d8:eb:97:ba:4d:b4 (on wlan0) |
winter-bear
commented
Jan 23, 2015
|
hi: |
|
I have no Windows drivers. I do not use any version of Windows in anything but a virtual machine, thus I do not use any wireless drivers there. A Google search for rtl8723b driver found links for all versions of Windows. By the way, this repo is for the RTL8723BE, which is a PCIe device. I suspect you have a USB device. |
winter-bear
commented
Jan 23, 2015
|
lwfinger: |
|
What does the ;lspci -nn' show? |
winter-bear
commented
Jan 23, 2015
|
this is the commamd "lspci -nn" show: there is no information about wifi moudle. so i need the liunx driver for rtl8723b(fuck RTL) |
|
I think you may have a sdio wifi device on your pad. I think it is more likely to |
ghost
commented
Jan 24, 2015
|
I hope that the questions from user winter-bear doesn't have blured the problems, for what i started this issue (Speed of RTL8723be slow because of many lost TCP packages). Is it possible, that my last comment respectivly the 'Ping' and 'iw' logs i reported here, has lost ? Please give me hope, that one can solve the problems i have with my notebook and the RTL8723be card. Could it be helpful to set the debug Parameter of the module to 1,2,3,4 or 5 and show an output here ? I have a new question: How can i check, wether i use the newest driver or not ? When i look at my current module informations (look below), i'm not sure, if the driver, which i installed 4 days ago, is really active or if there works an older version and the 'make install' didnt't work correctly. Is there (look below) an information, that shows the version of module driver ? I'm wondering why the author info doesn't say, that larry finger is the author. How can i interprete the scr version (F690F57D5768E7A4CD573DD in my example) and can i find this info in any release notes of the kernel versions from here or something like that ? modinfo rtl8723befilename: /lib/modules/3.16.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko parm: debug:Set debug level (0-5) (default 0) (int) |
niekie
referenced this issue
Jan 29, 2015
Closed
Slow speeds and high pings under network load using RTL8723be #29
bluish-x
commented
Feb 8, 2015
|
I was also experiencing packet loss, high latency, I think I've found a solution. kernel: 3.19-rc7 with rtlwifi_new, fwlps, ips, swenc, swlps were all 0 Before rtlwifi_new, the card was dropping wpa connections, with rtlwifi_new, it looks like it just loses packets and lags. Right now, while inspecting "systool -v -m rtl8723be" I've noticed swenc was 0, meaning it was doing hardware encryption(?), so changed it to 1, forcing software encryption, everything looks ok right now, no high ping or packet loss. Flooded my router with ~200k pings, not a single one was lost. This might be a temporary solution till hardware encrytion is fixed. Could anybody test this and comment please? |
bluish-x
commented
Feb 8, 2015
|
False alarm, it suddenly gone back to losing packets and high ping. But it kind of looks improved, or maybe it's a placebo. |
svenmeier
commented
Mar 24, 2015
|
As you can see in issue #22, I'm too struggling to get improved connection with RTL8723be. Ping times to my router range from 1.5ms to 150ms, in extreme cases this can increase to over 2 seconds. I'm sitting 6m away from my wifi router, just a single wall between. Two station dumps:
... and:
|
|
Patches are welcome. |
geromek
commented
Nov 15, 2015
|
What worked for me was enabling the MSI parameter [message signal interupt ]. I have a lenovo Z50 laptop. My wifi would work with all wifi laptop manufacturers but i was having a problem with a Lancorm wifi router at a Hotel I once stayed. what i did was this. I scrowled to the file "sw.c" in the folder "/home/peter/rtlwifi_new/rtl8723be" Then in the sw.c file, I initiated the variable "msi_support" to "false" under the data type "rtl_mod_params rtl8723be_mod_params" i.e static struct rtl_mod_params rtl8723be_mod_params = { Since msi_support is by default disabled, we have to appropriately initialize it as disabled, I then complied the code, ie cd rtl8723be after that I set the msi parameter to 1, in the file "rtl8723be.conf" which can be found under You may have to reboot the computer and wait after a couple of minutes after restarting the browser for the msi to be triggered. This worked for a lenovo z50. Depending on your pc, you may toggle and choose instead an msi of 0 |
|
By now I'm sure that you know about the "modinfo" command and that it lists all the module parameters, and their default values. I have no idea why one connecting to a particular AP could be affected by the interrupt method, but I do know that Lenovo boxes sometimes have strange interfacing. An msi of zero is the default. Nothing needs to be done. |
ghost
commented
Dec 3, 2015
|
I have a solution for you people. The RTL8723be is a 2 antennae card Now some manufacturers like hp and lenovo are only attaching one wire to these cards ( at main). Now this driver uses the secondary auxiliary antennae 2 for signals. Though windows one I think uses the main. This is the reason why you people are having packet losses and horrible poor signal . See the pictures here: |
ghost
commented
Dec 3, 2015
|
yes my signal is now showing 90% before it was like 30% |
|
Thanks for the info. I will test single-antenna configurations. |
ghost
commented
Dec 3, 2015
|
Thank you, Also I wanted to clarify something ie, my laptop hp ab030tx doesn't even have second antennae. At first i was thought about buying a different card then I tried the above and I just had to notify you |
braykov
commented
Dec 3, 2015
|
@lwfinger, please publish a commit you will test with. Let us, people with Lenovo, also test this solution. |
|
I do not have one at the moment, but I will publish it here and push a patch to mainline WHEN I have one. |
JerryGorland
commented
Dec 27, 2015
|
I have a new HP Stream 11 laptop and needed to move the single Wi-Fi cable from the "1" position to the "2" position. The original Windoze install worked fine when it was in the "1" position, but the default driver for the RTL8723BE for Linux didn't. With the moved cable and the rtlwifi_new driver, it works very well. I did this, but not sure if it is still needed: |
|
Seasons greetings. Yes, I am also sure that a software fix would be welcome; however, it can only be be provided by someone whose hardware has the problem. My systems gets the same throughput and packet loss when I connect antennas to connector 1, 2, or 1 and 2. Thus, it would be impossible for me to know if a change to the antenna diversity routines would help. My previous experiences with remote debugging in any form have been huge time wasters. As a result, this problem will be fixed when you do it. |
inigodm
commented
Dec 29, 2015
|
Well, I can try it, but I'll need help because I've no experience on developing drivers... What must I try? where can I change those antenna diversity routines? What must I change to force the driver to use one antenna or the other? Anyway I bougth my laptop yesterday, so I'll return it seller son (next week) if I cannot fix it... I would not be a huge waste of time in any case :P |
modev32
commented
Dec 29, 2015
|
any upcoming solution for this issue ? |
|
Have you read this thread? I cannot reproduce it, thus I cannot fix it! |
modev32
commented
Dec 29, 2015
|
Yes i did read it all. so there's no way to force driver to use the right antenna ? because looking at the other solution by switching the connector is something we all can't do :( Thank you anyway . |
|
In the "test" branch, there is some code that attempts to set the antenna. Build that and load the module with "ant_sel=1" or "ant_sel=2" option. Disclaimer: This code will build, but it is completely untested. |
modev32
commented
Dec 29, 2015
|
@inigodm there you got a good hint from the owner |
inigodm
commented
Dec 30, 2015
|
Sorry but its not working, at least in my case.... I've test the following: 1- sudo apt-get install linux-headers-generic build-essential git And the same with ant_sel=2.... Im doing something wrong? :'( |
|
The advantage of using git is that when there is a one-line change in the source, only the changes need to be downloaded. With zip, the entire source needs to be downloaded again. As I just changed a few lines, that is the situation now. The "ant_sel" part is not needed for the "make install" part. You do not need to run modprobe for rtlwifi. The system knows the dependencies and will take care of them. If you add "-v" to the modprobe command, you will see what I mean. Module rtlwifi will have no idea what to do with the ant_sel option and just ignore it. The Realtek engineer was following our discussion, and told me a place in the code that I missed. I just pushed a change. |
inigodm
commented
Dec 30, 2015
|
Well, I downloaded the code because I didn't knew how to get a branch :p Also I put the parameter in each order because I didn't find any diference between compile with it or without it and I thougth that I was doing something wrong.... Now I have checkout the branch and update it (I've check the code to be sure, the last changes) and test with ant_sel=1 and 2.... There no change between using one or another in the signal strength :( (modprobe -r rtl8723be, modprobe rtl8723be ant_sel=X) Anyway, been a new laptop with a ubuntu that I'll delete anyway (its a new instalation make today, I was ready to return it) and a laptop that I'll return if I cannot fix this, I could let you do whatever you want to do in it via SSH if you want (connecting it via cable to the internet, obviously).... |
mkhuramj
commented
Jan 1, 2016
|
@ghost is right. I was using Ubuntu 15.04. WiFi signals were week and don't works even from a distance of few feet. I upgraded Ubuntu to 15.10 but this didn't do any thing. Changing wire from connector 1 to connector 2 on the WiFi card did the trick for me. Not perfect but very much acceptable. 90 out of 100 percent is the result for me. |
|
Be aware that the setting of signal strength is arbitrary. A number of wireless drivers contain the comment "make it pretty for the customers". The Realtek engineer says that their group is working on code that will detect which connector has the antenna. Until that is ready, switching the connector is the only option as long as your vendor is not matching the connected pin to the EEPROM on the card. |
marakame
commented
Jan 2, 2016
|
Good to hear Realtek getting involved in the issue, I tried the antenna option with the test branch in a HP laptop (The star wars one) and it didn't work, the laptop still can't find AP's unless they are extremely close so we'll have to wait for the new code, until then, if there's any useful test that you'd be interested in, I'd be happy to help. |
grenzor
commented
Jan 3, 2016
|
Hi @lwfinger and others, just chiming in that RTL8723AE users also face this exact same WiFi speed/disconnecting/weak signal problem as the *BE. Installing the driver (with additional modprobe power options?) does seem to help with stability as it does with the *BE but it still does disconnect and speed is considerably lower than the speed that is on Windows. When a solution is found, please fix it for both RTL8723AE + RTL8723BE users (as it seems to be the same issue)! |
bgjoseluis
commented
Jan 4, 2016
|
Hello all, thanks for your effort. I bought an HP (Pavilion x360 13-s100ns) laptop with rtl8723be chipset, and I'm pretty sure that I suffering the same issue. I've tried to install the new module with the "ant_sel" options and it didn't work, the option is not available. ##MODULE UNLOAD## ##MODULE LOAD## #MESSAGES WITH PARAMETER ERROR## ##MODULE HASH VERIFICATION## root@pavilion:/# md5sum /lib/modules/4.3.0-1-amd64/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko root@pavilion:/# modinfo rtl8723be @JerryGorland I'm impressed with what you did in the antenna, was it difficult?, why you didn't try to attach a new one in the other connector?. Thanks. |
modev32
commented
Jan 4, 2016
|
@bgjoseluis I have the exact same laptop and i have changed the antenna to the other port. that was the only solution i could came up with after a long search with no success. My comment here #80 (comment) shows how the connector looks and where it locates.. good luck |
|
@bgjoseluis Please read carefully. The ant_sel option is in the test branch, not new! In any case it does not work. |
|
@grenzor The 8723A chips are very different from the 8723B variety and a fix for one is unlikely to work for the other, but I will keep your request in mind. |
bgjoseluis
commented
Jan 4, 2016
|
@lwfinger thanks, I've already clone the test branch.... |
JerryGorland
commented
Jan 4, 2016
|
For those with the BE who have moved their connector, my experience was that the default driver in Xubuntu 14.04.3 resulted in good powers but low TX speed (as measured by wavemon). When I built & installed rtlwifi_new, the TX speed went up about 10-fold (per http://askubuntu.com/questions/623001/how-to-install-realtek-rtl8723be-wifi-pcie-wireless-network-adapter). |
pjc123
commented
Jan 5, 2016
|
So I gather that the gist of all this is that if I don't want to tear apart my brand new HP Stream 11 (Model r010nr) laptop and switch the antenna connections around, is that I need to wait for Realtek to come up with a fix? Fortunately I have a temporary workaround. I installed a TP-Link TL-WN722N USB network adapter (I had to steal it from one of my Raspberry Pis), which works as perfectly in Linux Mint 17.3 as it does in Windows 10 on the same HP Stream laptop (Same exact speed and a solid connection). |
alistairc
commented
Jan 9, 2016
|
Hi, I have this issue on a new HP Pavilion too I've tried the 'test' branch, but it doesn't seem to add the ant_sel param to the module. Looking at rtl8723be/sw.c it doesn't seem to declare that param at all. I'm trying to workout how to add it and wire it in, but I don't really know what I'm doing (I do know a bit of C, but nothing about kernel modules). I'll send a pull request if i figure it out, or if anyone else does it I'm happy to test |
alistairc
commented
Jan 9, 2016
|
Oh, ignore me, I'm being dumb! Have the wrong branch, doh |
alistairc
commented
Jan 9, 2016
|
I've tried the correct branch now, and it also doesn't work for me. Tried ant_sel values of 0,1,2, and it seems to make no difference |
|
Yes, we already know the option does no good. Obviously, something in the antenna selection code was missed. |
ryanvisual
commented
Jan 13, 2016
|
I am dealing with range issues on my HP Stream 11. Tried everything but nothing worked, I need a software option, I do not want to open up my laptop and possibly brake it or loose the screws. |
pabloRA
commented
Jan 18, 2016
|
Hi all, same problem here with a HP Notebook - 14-ac105ns, but before losing warranty.. I would like to ask to those who switched antennas if it makes any effect on Windows, I have a dual boot with W10. |
andrew771211
commented
Jan 18, 2016
|
Hello all, |
|
Switch to the rock.new_btcoex branch of this repo, and load rtl8723be with the "ant_sel=2" option. If that does not make your signal strengths be better, then try "ant_sel=1". There should be no need to solder anything on the device. In fact, the ant_sel option should give better signals than your coax. |
andrew771211
commented
Jan 18, 2016
|
for pabloRA |
pjc123
commented
Jan 18, 2016
|
@lwfinger. So the code works now? |
pabloRA
commented
Jan 18, 2016
|
@andrew771211 thank you for your info, but do you mean it works better also in Windows?? |
andrew771211
commented
Jan 18, 2016
|
No sorry |
pabloRA
commented
Jan 18, 2016
|
@andrew771211 ok thanks any way |
|
You need to "git clone" the repo and "git checkout rock.new_btcoex". I never recommend downloading the zip file from GitHub.com. If you do, and I have to change 1 character in the source, then you need a completely new zip; however, a simple "git pull" handles ALL updates. Yes, the code works now. |
enriiquee
commented
Jan 27, 2016
|
@Jonnytj Thank youuu very much!!! Now works perfectly. |
Jonnytj
commented
Jan 27, 2016
|
@enriiquee - no problem. All credit to @iwfinger for his work on this though. |
quicoju
commented
Jan 28, 2016
|
I can confirm that with this fix, the wifi card in my ThinkPad E555 works like a charm using ant_sel=1. Just read the whole thread and it's amazing how you guys worked this out. Thank you much! |
Domistr
commented
Jan 28, 2016
|
lwfinger is the one who worked it out!
To: lwfinger/rtlwifi_new rtlwifi_new@noreply.github.com I can confirm that with this fix, the wifi card in my ThinkPad E555 works like a charm using ant_sel=1. Just read the whole thread and it's amazing how you guys worked this out. Thank you much!— |
briauc
commented
Jan 29, 2016
|
At last got round to adding the 50-rtl8723be.conf file. Works a treat. Thanks for all your help especially lwfinger for all your work on this. |
rishabhsethi
commented
Feb 2, 2016
|
@lwfinger Hi. I have tried the solution with ant_sel=1 and ant_sel=0 keeping ips=0 but the selection of antena doesn't seem to make any difference on the wifi reception. What else could be done? |
pabloRA
commented
Feb 2, 2016
|
Hi, have you tried with ant_sel=2 ?? It worked for me!! El 02/02/16 a las 08:10, rishabhsethi escribió:
Re: Gracias Pablo Romera Alonso promeraa@gmail.com |
Domistr
commented
Feb 2, 2016
|
Yes Pablo, it is working fine for me.
To: lwfinger/rtlwifi_new rtlwifi_new@noreply.github.com Hi, have you tried with ant_sel=2 ?? It worked for me!! El 02/02/16 a las 08:10, rishabhsethi escribió:
Re: Gracias Pablo Romera Alonso promeraa@gmail.com— |
|
OK, ant_sel=0 does NOTHING!!!! When you use ant_sel=1, you are saying that the antenna is connected to connector 1. When you use ant_sel=2, that means it is connected to connector 2. In fact, all of the HP laptops with the incorrectly programmed EEPROM apparently have the EEPROM coded for the antenna to be connected to #1, but actually have it on #2. Use ant_sel=2!!!!!!!! |
rishabhsethi
commented
Feb 2, 2016
|
@lwfinger I am really sorry, I meant to write ant_sel=2 instead of 0, my bad. I tried setting it to ant_sel=2 and not 0. Also, I just realised that when I see modinfo, it doesn't show ant_sel as a parameter. This is the output I am getting.
This is what I have set in my conf file: Just to clarify, my problem is that I can connect to wifi if it is placed nearby but majority of the networks are not visible. Please tell me what else I could try. Thanks a lot for helping. |
pjc123
commented
Feb 2, 2016
|
For one thing you didn't select the antenna in the config file: ant_sel=2 or ant_sel=1 And reboot after you are done. I use only "options rtl8723be ant_sel=2 ips=0" myself and it does the trick. And I have to say this, without the quotes. |
rishabhsethi
commented
Feb 2, 2016
|
@pjc123 I had tried that before with no avail and later realised that my there is no parameter for ant_sel. Does yours show ant_sel as a parameter when you run modinfo? Thanks! |
pjc123
commented
Feb 2, 2016
|
I am running that laptop under windows currently. If I have some time On 2/2/2016 11:05 AM, rishabhsethi wrote:
|
rishabhsethi
commented
Feb 2, 2016
MarcelHB
referenced this issue
Feb 2, 2016
Closed
RTL8723be has poor signal quality in recent setup #55
vstress
commented
Feb 13, 2016
|
Excellent! This post was incredibly helpful! Thanks lwfinger and all the others also involved. Now to resolve a bloody hardware microphone issue that I have just reared it's head through actually having wireless internet and trying to call people... |
|
That is what is called "progress". |
nukedathlonman
commented
Feb 24, 2016
|
Finally getting around to doing up my new HP laptop with Kubuntu when I discovered I had this issue. Installed your updated driver, and 100% smooth sailing now that I've ant_set=2. I did not have to use any other parameters. |
j2schmit
commented
Mar 2, 2016
|
It worked for me!!! HP 15t on Ubuntu 15.10 |
enriiquee
commented
Mar 2, 2016
|
@lwfinger Thank you for your contributions. I fixed the problems with the WiFi, but now at 2-3 minutes of connection, the wireless network disappears and disconnects. Do you know what could be the problem? |
laithshadeed
commented
Mar 6, 2016
|
in my case software crypto solve it default was 0: |
clsco
commented
Mar 19, 2016
|
@lwfinger Hello Sir thank you for your awesome work on rtl wifi you saved a lot of people me included, 2 years without wifi dude, now it's perfect, thank you ! Best regards from Belgium ;-) keep up the good work |
georgeanz
commented
Mar 19, 2016
|
I am using the Fedora 23 distro. I find the driver works, however the /etc/modprobe.d directory only I am not sure how modinfo works, but if it gets 'live' info from the Fedora uses signed modules. This means I have to rebuild the kernel (as And least I forget, your work has allowed me to use my new HP360. Thank
|
|
Most distros get their module parameters from /etc/modprobe.d/. Apparently Fedora 23 is one of them that does not. Loading the module is the same no matter if the kernel does it when the bus devices are scanned, or when a module is manually loaded. The utility modinfo gets its information from the driver file, not from the loaded version. There is no way to scan the version in memory to see what options are loaded. Linux does not really use driver versions. In particular, Linus Torvalds would have a fit if I submitted patches that updated a driver version. If you want to submit patches to sign the modules, I will incorporate them. The patch to add antenna selection to the mainline kernel was submitted last week. The earliest it would be added will be kernel 4.7. I did give it the notation for it to be backported to all stable kernels 4.0 or newer. I would not expect it to make it into a Fedora kernel for 3-4 months. |
georgeanz
commented
Mar 21, 2016
|
On 03/19/16 22:27, lwfinger wrote:
This fixes the problem. Of course, one then wonders why. I think I
Long ago, in a land far away, I was doing work for HP on a Fortran 4
On the other hand, after reading the kernel doc file on module signing,
Again, thank you for your work. It has saved me a lot of work that George
George Anzinger george@wildturkeyranch.net |
ArcEye
commented
Apr 18, 2016
•
|
Thank you very much for this repo. I have got my completely dead HP Pavillion 15-AK085SA working on wifi, using the replacement modules and I still have range issues that are not present using windoze. Currently solving using a homeplug extender if more than 10m away from the router The card takes about 60 secs at boot to connect to wifi and emits a continuous stream of errors to /var/log/messages, which makes Will try the software encryption setting later to see if that improves anything Thank you too HP and Realtek, for screwing up something very simple to get right |
ArcEye
commented
Apr 18, 2016
|
Update: Added the This appears to have improved performance when at a distance from the router. I can now use my laptop in the kitchen at a quoted 85 - 71% signal strength in wicd, with no appreciable drop in speed from that when in the same room as the router (when used for browsing anyway). However broadband speed tests: So there is still an issue, just not as much of one as previously.
and here is a 1 second excerpt
|
|
I do not expect that PCI device 0000:00:1c.5 has anything to do with the wifi card, but post the output of 'lspci -nn' so that we can see your bus layout. |
ArcEye
commented
Apr 19, 2016
|
No, you are right, it is a PCI bridge, because it came up throughout the wifi errors I just assumed the origin.
The actual device from the vendor:model ID looks like
|
ArcEye
commented
Apr 19, 2016
|
Now just have the 60s wait for LSB job bringing up network interface At least I can read dmesg now |
ArcEye
commented
Apr 20, 2016
For sake of completeness for anyone searching, this one was simple. When commissioning the laptop Linux partition I used ethernet, as the correct firmware would not be available for the wifi from the distro CD This caused /etc/network/interfaces to be written with
whilst this makes no difference to the wicd network manager I use, which ignores /etc/network/interfaces contents and uses its own configuration, the boot process uses /etc/network/ifup.d, which tries to bring up the non-existent ethernet interface listed. Simply commenting out the reference to eth0 and replacing with
solves the problem and gives a normal boot. |
|
If firmware cannot be redistributed, then not having on the installation medium is acceptable. Such an example would be older Broadcom wifi hardware that uses b43 as its driver. On the other hand, all of the Realtek firmware can be redistributed; therefore, not having it available at installation is a bug and should be reported to Debian. I am glad to hear that your issues are resolved. |
pfee
commented
Apr 21, 2016
|
Fedora 22 and 23 now have kernels in testing with a patch applied to enable antenna selection using the ant_sel module option. Here's the Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1309487 If your readying this in the next few days, you can help by testing the kernel and providing feedback. F23 kernel-4.4.8-300.fc23 available here: http://koji.fedoraproject.org/koji/buildinfo?buildID=756309 F22 kernel-4.4.8-200.fc22 available here: http://koji.fedoraproject.org/koji/buildinfo?buildID=756310 |
Ozileyes
commented
Apr 22, 2016
|
hello everyone I have hp laptop.I am also facing this problem tried all the above steps but still not able to fix that but I found alternate way to connect to Internet just connect usb cable to u r mob and laptop and start usb tethering and u r mobile will do the job of u r wifi chip its a noobs solutions but until proper fix am using it,just posted this might help to ppl like me (newbie) :) |
manihere
commented
May 25, 2016
•
|
@lwfinger Thank you so much! your github repo worked brilliantly! I did each step and tada! |
free-soul
commented
May 26, 2016
|
I followed the steps. But when trying to load the driver I am getting this error:
and
Am I doing something wrong here or am I missing something? Please help @lwfinger. |
|
Turn off secure boot. |
nukedathlonman
commented
May 27, 2016
|
Yea, you got it right.... For system with secure boot enabled, *buntu 16.04 won't load drivers with out a signature. So option one (easiest and lwfinger already suggested it)), disable UEFI Secure boot. Option 2 (the absolute most total PIA way) get the kernel source, update it with the RTL source from here, then compile your own kernel and then further sign it... Suppose I could say option 3, and just use *buntu 15.10 or 15.04.... |
ArcEye
commented
May 27, 2016
|
The 3rd option is completely disable UEFI / 'secure boot' and don't use any OS's that require it. It is nothing more than a microsoft revenue protection scheme, making loading any other OS beyond the capabilities of the majority of computer users, who have to buy computers pre-loaded with microsofts latest bloatware. |
georgeanz
commented
May 27, 2016
|
On 05/26/16 08:46, free-soul wrote:
You might also see if the newer kernels from your distro have relaxed A google search on "modprobe required key not available" will give you a And, no, the required key is not to be found as that would defeat the George Anzinger george@wildturkeyranch.net |
georgeanz
commented
Jul 18, 2016
|
I built and installed the code on a HP x360. I am assuming the antenna The problem is, if I let the system sleep (suspend, not hibernate), #!/bin/sh Most of the time this works, however, lately running the script has If I understood git better I would provide the version I am using. The To me it looks like the driver is failing to reset something on waking George Anzinger george@wildturkeyranch.net |
|
You can always see the latest commit using 'git log'. I'm not sure it is the driver. On my openSUSE Leap 42.1 system, the connection is reliably redone after restore from suspend. What I suspect is that your user-space components are not restoring the connection. I use the KDE desktop and control the connection with NetworkManager. You should be able to add scripts to the suspend and resume steps, but that is also distro dependent. |
georgeanz
commented
Jul 19, 2016
|
On 07/18/16 14:20, lwfinger wrote:
Just in case this matters, I do not password protect my wifi, but rather I suppose the problem could be in one of these, but all the android
George Anzinger george@wildturkeyranch.net |
manihere
commented
Jul 27, 2016
|
Hi Everyone, This is the best fix available..Confirmed working on Ubuntu however there was random frequent breakdowns. Tried it on fedora but the make command gives errors. A. Install elementaryOS git clone git://github.com/lwfinger/rtlwifi_new.git Reboot. After the system comes up: Now test. If that still does not work, then try sudo modprobe -rv rtl8723be Important: Note: Turn off Fast Boot option in Windows 10-> COntrol Panel ->Power Options -> Choose what Power Button does -> FastBoot(uncheck all options), if you face random wifi disconnection. Hope this helps :) |
ashish289
commented
Aug 10, 2016
pjc123
commented
Aug 15, 2016
|
I just wanted to confirm that this is required and also works with the HP Stream 11 and Linux Mint 18 (Was previously using it with Mint 17.3). I was hoping that this would be fixed by now in Linux, but I see it will not be added until a later kernel. |
|
If you are talking about the "ant_sel" option, it was fixed in kernel 4.6. For your info, mainline is now working on kernel 4.8. If Mint still has kernels older than 4.6, that is not my fault. If you are talking about that abominable "fast boot" option in Windows, how could Linux ever fix that? |
lwfinger
closed this
Aug 15, 2016
pjc123
commented
Aug 15, 2016
|
Yes, I am totally aware of all that. I was just letting people know it was necessary to apply these drivers on the HP Stream and Mint 18 (The antenna issue), because of what you stated, the kernel is older (4.0 as I recall) on Mint 18. I am really thankful for the work involved im supplying these drivers and making my laptop usable with Limux.. On Mon, Aug 15, 2016 at 11:47 AM, lwfingernotifications@github.com wrote: — |
georgeanz
commented
Sep 28, 2016
|
I have yet to find a Fedora kernel with the updated drivers (last Just one thing: Took a trip to see my grandson and thus used a wifi The "fixwifi" code is s script that uses modprobe to uninstall and then #!/bin/sh George Anzinger george@wildturkeyranch.net |
jspolancor
commented
Oct 29, 2016
|
Thank you very much @lwfinger this works perfectly on my hp 14ac116la. |
grenzor
commented
Dec 10, 2016
|
Hi @lwfinger, wondering if it's possible to implement a similar fix for RTL8723AE users. I faced the exact same issues that users of RTL8723BE had and judging from the positive responses from your antenna fix it looks like a similar fix could also solve RTL8723AE internet slowness/connectivity problems! |
|
You first need to prove to me that your problem is due to low signal strength before I attempt an antenna select code change. |
grenzor
commented
Dec 15, 2016
|
user@user ~ $ iw dev wlan0 station dump Is this helpful to determine signal strength? I'm not sure what kind of info you need, just let me know a what I need to look for/what command I need to run |
|
Does "signal: -72 dBm" seem like a clue? If that AP is closer than 20 m, then you are not using an antenna! Investigate the "ant_sel=X" option, where X might be 1 or 2. |
grenzor
commented
Dec 15, 2016
•
|
I was under the impression the "ant_sel=" option was only available for RTL8723be. Will it take effect under RTL8723ae? |
|
No, it will not. I did not read the thread before I replied. It is possible that you have an RTL8723AE with the same antenna issue. What is your device, and is it possible to gain access to the wifi card? |
|
At first glance, it seems easy to implement ant_sel for the RTL8723AE. Please do a 'git pull' and try the ant_sel options. When you report back, please open a new issue so that the title doesn't confuse me again. |
grenzor
commented
Dec 15, 2016
•
|
By device do you mean my computer? Currently using a laptop connecting wirelessly to a router that is about 5-10m away. Not sure how to see if I have access to the wifi card (unless you mean just if I can connect to the internet using my laptop which I can) My AP (wlan0) station dump is the one I posted above. Some more (maybe) helpful info from iwconfig: EDIT: New thread: #188 |
hsali
commented
Nov 6, 2017
•
|
This driver worked. I set ant_set=1 for this driver for my HP Pavilion 8093 rtl8723be driver. |
ghost commentedJan 22, 2015
Hi,
i'm trying to get a stable and fast wifi connection with the RTL8723be wifi adapter in my Lenovo G50-70 notebook since 1,5 month and i still have the problem of low speed and many lost TCP packages, when i analyse the connection by pinging the AP with Ping.
When i use my notebook at the same place (my office table with a distance of 15 meters to the AP) with Win7, the connection is stable and i don't have the problems.
When i decrease the distance between the notebook and the AP, the connection becomes better and better so that surfing the internet becomes fast and stable at one point (1,5 meters away from my office table). That means, that the driver is working. But when i put the notebook back on my office table, the problems starts again after a while or immediatly.
It seems to me, that the driver for my RTL8723be adapter from here doesn't have the quality of the Win7 driver.
I use Ubuntu 14.10 with Linux Kernel 3.16.0-29 and the newest rtlwifi_new drivers from here. I also have switched the module parameters to "ips=N fwlps=N disable_watchdog=Y msi=0".
Is this a known problem with this wlan adapter/driver and is there a chance to solve such problems in the near future ?
What informations do you need for analysis ? I'm new to Linux and don't know, what kind of informations are neccessary for helping me.
Thanks in advance for your interest and support !!!
I'll try my best to speak/write in English-please try to understand me!