How to debug poor WiFi connections?

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
zabolots
DD-WRT User


Joined: 02 Dec 2015
Posts: 122

PostPosted: Tue Jul 26, 2022 16:30    Post subject: How to debug poor WiFi connections? Reply with quote
Wife (Google Pixel 5 & IBM laptop) & kids (iPhones & Macbooks) all complain about poor wifi performance (laggy transfers & dropped connections). The signal quality is fine, channel selection is optimized based on least neighbor interference (though 2.4Ghz is all crowded). I have occasionally noticed it on my Pixel 5 as well.

how do I go about troubleshooting this in DD-WRT? I tried jumping over to OpenWRT so that I could try the non-CT driver/firmware combo but the issue persisted after that change.

DD-WRT status page shows no errors on either WiFi interface so I'm not even sure how to go about troubleshooting something like this.

Any tips would be greatly appreciated.

_________________
--Netgear R7800--
DD-WRT v3.0-r49492 std (07/14/22)
Sponsor
d00zah
DD-WRT User


Joined: 06 Jun 2006
Posts: 211

PostPosted: Tue Jul 26, 2022 18:55    Post subject: Reply with quote
I think this sticky (top of this forum's list) might be a good place to start.

QCA BEST WIFI SETTINGS

_________________
NetGear XR500 - FW Version: DD-WRT v3.0-r55819 std (04/17/24)
Linux 6.1.86 #130 SMP Wed Apr 17 05:48:30 +07 2024 armv7l
Updated from: DD-WRT v3.0-55779 std (04/12/24) via GUI (FF), NO reset
Gateway: SmartDNS, DDNS (FreeDNS), IPv4 DHCP, Static leases, SFE Disabled, QoS Disabled
AP: 2.4GHz NG-Mixed 40MHz, 5GHz AC/N-Mixed 80MHz, WPA2 w/ AES, MAC filtering, Isolated Guest VAP on wlan1, Vanilla FW
Services: USB Storage, NAS, Samba
Storage: Samsung Portable SSD T7 Shield USB 3.2 2TB, /jffs, /opt, /data (ext4)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12904
Location: Netherlands

PostPosted: Tue Jul 26, 2022 19:02    Post subject: Reply with quote
Ddwrt has two firmwares.

Most users use VANILLA.

See the R7800 install guide link in my signature

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
zabolots
DD-WRT User


Joined: 02 Dec 2015
Posts: 122

PostPosted: Tue Jul 26, 2022 19:33    Post subject: Reply with quote
d00zah wrote:
I think this sticky (top of this forum's list) might be a good place to start.

QCA BEST WIFI SETTINGS


I did go through that guide and made the recommended changes. Unfortunately it didn't help with my issues.

_________________
--Netgear R7800--
DD-WRT v3.0-r49492 std (07/14/22)
zabolots
DD-WRT User


Joined: 02 Dec 2015
Posts: 122

PostPosted: Tue Jul 26, 2022 19:34    Post subject: Reply with quote
egc wrote:
Ddwrt has two firmwares.

Most users use VANILLA.

See the R7800 install guide link in my signature


VANILLA is what I have always used since the option was made available.

_________________
--Netgear R7800--
DD-WRT v3.0-r49492 std (07/14/22)
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Tue Jul 26, 2022 20:41    Post subject: Reply with quote
Build r49544 or wait for the next. Provide configuration details or start over. Confirm Ethernet is fine (ISP).
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1020

PostPosted: Tue Jul 26, 2022 20:45    Post subject: Reply with quote
zabolots wrote:
egc wrote:
Ddwrt has two firmwares.

Most users use VANILLA.

See the R7800 install guide link in my signature


VANILLA is what I have always used since the option was made available.


How fast is your internet connection? Have you tried turning on Airtime Fairness and enabling QoS?

_________________
Netgear R9000
DD-WRT v3.0-r55819 std (04/17/24)
Linux 4.9.337 #722 SMP Wed Apr 17 04:16:49 +07 2024 armv7l
Gateway, AP, DNSMasq, Clock 2000MHz
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
CloudFlare, no SFE, SmartDNS, no QoS
2.4GHz: Vanilla, Airtime Fairness, NG-Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
5GHz: Vanilla, Airtime Fairness, AC/N Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
2 Netgear AX1800 WiFi Mesh Extenders
Xfinity 1.2Gbps/35Mbps
zabolots
DD-WRT User


Joined: 02 Dec 2015
Posts: 122

PostPosted: Tue Jul 26, 2022 22:15    Post subject: Reply with quote
MLandi wrote:
zabolots wrote:
egc wrote:
Ddwrt has two firmwares.

Most users use VANILLA.

See the R7800 install guide link in my signature


VANILLA is what I have always used since the option was made available.


How fast is your internet connection? Have you tried turning on Airtime Fairness and enabling QoS?


Xfinity 300/10 connection. Attached screenshot of Wireless settings (older build but the settings are what I've been using for a while)

_________________
--Netgear R7800--
DD-WRT v3.0-r49492 std (07/14/22)
zabolots
DD-WRT User


Joined: 02 Dec 2015
Posts: 122

PostPosted: Tue Jul 26, 2022 22:17    Post subject: Reply with quote
blkt wrote:
Build r49544 or wait for the next. Provide configuration details or start over. Confirm Ethernet is fine (ISP).


My main machine is a wired desktop and has no issues so Ethernet is fine.

_________________
--Netgear R7800--
DD-WRT v3.0-r49492 std (07/14/22)
BubbaMoe
DD-WRT Novice


Joined: 22 Nov 2016
Posts: 31

PostPosted: Tue Jul 26, 2022 23:28    Post subject: Reply with quote
All you can really do is try a process of elimination.

Does it happen on stock firmware? Is it 2ghz or 5ghz dropping? Are they dropping out of the client list... you can see how long they're connected on the status page. Can they still connect to the lan when they are "dropped" meaning maybe its a wan issue.

If you say, isolate to 2ghz then just try one channel at a time something as simple as a microwave can completely futz certain 2ghz bands which work fine 99%.

Isolate where the issue is and just start trying different parameters on the router, mainly channel/network mode/width and that's really all you can do.

If it drops out on both 2ghz and 5ghz that would either be a router issue or you got some wild interference. Can just reclaim a cheap router and see if it has the same issue.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12904
Location: Netherlands

PostPosted: Wed Jul 27, 2022 6:31    Post subject: Reply with quote
5 GHz disable airtime fairness and choose AC/N Wireless Network Mode
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Wed Jul 27, 2022 7:22    Post subject: Reply with quote
@BubbaMoe

A microwave releases its electromagnetic radiation directionally towards the inside of the shielded area where you place the food.
A regular modern microwave will have RFI/EMI shielding, so unless the shielding is failing, little chance unless the router and clients are right next to it remember this is directional aimed at the inner shielded chamber and the RF source outside chamber is also shielded.

Bluetooth and other 2.4Ghz household devices, could however interfere far easier. Broadcom has some BT coexistence mode, no idea how this works exactly but it works, Atheros however I dont think it has this functionality.

I use a WiFi analyzer on my mobile to check which channels however are less crowded and have setup my router accordingly, so its quite interference free setup. Definitely recommend, especially in interference rich environments.
Also taking in consideration placement of the router depending what the buildings walls are made of.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
zabolots
DD-WRT User


Joined: 02 Dec 2015
Posts: 122

PostPosted: Wed Jul 27, 2022 13:48    Post subject: Reply with quote
blkt wrote:
Build r49544 or wait for the next.


Is something changing in the next build that is worth waiting for?

_________________
--Netgear R7800--
DD-WRT v3.0-r49492 std (07/14/22)
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Wed Jul 27, 2022 14:10    Post subject: Reply with quote
I always recommend current New Build - 07/27/2022 - r49567 also nvram erase && reboot after upgrade.
Especially if firmware environments have changed (stock, modified stock, openwrt, dd-wrt etc.) start over.

I keep defaults for both Protection Mode None and RTS Threshold Disable, as well as Beacon 100, DTIM 2.
Maybe regulatory domain is having some effect, or not, I just keep default or the current country location.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1952

PostPosted: Wed Jul 27, 2022 15:12    Post subject: Reply with quote
Enabling RTS/CTS protection and setting threshold has no value if you cannot set (802.11g) fragmentation threshold in the webUI. I don't think fragmentation is auto-set when you enable these (?). If you read the QCA Wireless Settings Wiki and the servervault article link, you will see that the information was clearly misunderstood. The "best answer" was to set fragmentation threshold at 784 and RTS threshold at 534. The only "problem" is that the MTU for 802.11 is not 1500, it is 2304 (up to 2312). So, fragmentation threshold could be set to 1152(1156), and RTS threshold set to 768(771). And that is -if- we had the ability to change the fragmentation threshold in the webUI. That sticky and the wiki are not quite optimal recommendations, anyway.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum