Full reset and rebuild of EA8500 Gateway Router [r53562]

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Tue Feb 13, 2024 19:44    Post subject: Full reset and rebuild of EA8500 Gateway Router [r53562] Reply with quote
Yesterday, I decided to re-configure my EA8500 from scratch to hopefully fix some underlying issues I have been having, especially with WiFi speeds. My TCI Roku TVs connected to this router via 5ghz are reporting only 4Mb/s Internet connection while the TVs connected to a Netgear R7800 WAP are getting ~200Mb/s. Instead of resetting my main router and thus having many hours of downtime, I did the initial re-configuration on a freshly reset spare EA8500. Both routers are running r53562 firmware.

The first things I did was to set the IP address to not conflict with the main router and turn off DHCP to avoid having multiple DHCP servers on my network.

After that, I decided to do away with the startup commands for my VLANs (3 w/tags) and used the Switch Config GUI instead. This was my first time using this so I used an example from the VLANs sticky. Then I set up all the bridges for what was already configured (excluding WiFi at this point). All seems to be working well so far.

Next step was the WiFi. I am using both 5ghz and 2.4ghz, both with VAPs. Two VAPs on the 5ghz side and three on the 2.4ghz side, all VAPs are assigned to VLANs with their own respective DHCP servers.

- Something I noticed that seems odd. My Main router has TurboQAM, which I was not using. The refreshed router is lacking this setting, but says it is using it and doing nvram show | grep turbo returns that it is indeed ON. I assume I can turn this back off with the nvram set command.

- ESP8266 devices setting is missing as well. I was using it before, but they seem to connect okay without it.

- Also oddly enough, I did not set up the WDS Station to match the MAC address of the 5ghz side. I did however set it up on the refreshed router pointing to the WDS Station. However, it still connected even without having the AP(WDS) MAC entered. Weird!

And lastly, I copied over all my Adminstration/Commands from the Main router to this one, commenting out the VLAN startup stuff (but keeping it there for now just in case). This included all the Firewall settings as well. Then Services w/USB and NAT and SSH keys, etc. Then I saved the backup NVRAM configuration so I could transfer it to the Main router. The new NVRAM backup is 16KB smaller than the Main router's backup file. It should have been slightly larger considering I didn't actually remove any of my commands, only commenting them out. I am guessing that some old crap that was no longer needed is gone now.

Back to Main Router:
So I factory reset the Main EA8500 and proceeded to restore the backup from the EA8500 I had used for setup. All went well. Next I changed the Router IP back to the correct one and re-enabled the main DHCP server. All my wireless IoT devices, TVs and handhelds all connected instantly with their pre-assigned addresses. TVs also were getting a much faster connection as well ~131Mb/s. Still not even close to the speeds I am obtaining through the R7800 5ghz. However, when doing a speedtest on my phone (Pixel7a) connected to the Main EA8500 5ghz. While it starts out fantastic, around 400Mb/s it then steadely drops and by the end of the test it is down to about 3Mb/s.
I do the same test connected to the R7800, it holds throughout the entire test. Also, today all the tvs connected to the EA8500 are back to 4Mb/s. It should be noted that wired devices Internet speeds are right around 930Mb/s.

I am including a screen shot of my WiFi setup. Notice that TurboQAM is missing, but I think this is pretty much identical to the advised WiFi setting from the sticky here for Atheros.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Tue Feb 13, 2024 20:26    Post subject: Reply with quote
https://svn.dd-wrt.com/browser/src/router/libutils/libwireless/wl.c#L2624

Quote:
"QCA99X0 802.11ac", WAVE2 | SPECTRAL | FWSWITCH | QAM256 | QAM256BUG


The option may only be available if you are using the dd-wrt firmware.

And the EA8500 and R7800 have different radios.
QCA9984 is a premium radio and the radios in the EA8500 are older with less features and officially no firmware has been made available for the radios for 10 years.

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Tue Feb 13, 2024 20:36    Post subject: Reply with quote
Thanks for your input. I have always used the Vanilla firmware and the TurboQAM has shown up in the past. I just kept it turned off as it was causing some issues with a few IoT devices. Now it's on and nothing is failing to connect, that I have noticed so far. I am going to turn it off again in NVRAM since that is apparently the only way to do that now.

However, I don't think this would have anything to do with my 5ghz speeds. I believe this is a 2.4ghz only setting and the only thing I use 2.4ghz for is IoT stuff and a goto for older devices. Not really a big deal. Just stuff I noticed after doing this.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Tue Feb 13, 2024 20:49    Post subject: Reply with quote
How do you know it's active?
The nvram variables are not meaningful, as far as I understand the code it disables TurboQAM when the vanilla firmware is used.

select the dd-wrt firmware for testing then you will see if TurboQAM appears

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Tue Feb 13, 2024 21:03    Post subject: Reply with quote
Ah interesting. So I tried this on my spare router and your are right. The TurboQAM option is present with DDWRT and it disappears with Vanilla. However, the top of the page still shows:

Wireless Interface wlan0 [2.4 GHz TurboQAM] - QCA99X0 802.11ac - Max Vaps(16)

and
Code:

# nvram show | grep -i turbo
wlan0_turbo_qam=1

shows it on, but you said earlier that is ignored. I will shut it off with nvram set turbo_qam=0 and see if the TurboQAM in the page header disappears.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Tue Feb 13, 2024 21:09    Post subject: Reply with quote
Turning it off in nvram also removed the TurboQAM in the page header. So apparently while Vanilla firmware ignores it, somehow the page header does indeed read it.
_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Tue Feb 13, 2024 21:25    Post subject: Reply with quote
The following comment is written further down in the source code

Quote:
Vanilla firmware contains a bug caused by a wrong assert in ratecontrol on 99X0 chipsets
which leads to crashes if vht modes are used in 2.4 ghz.
so we can only allow using this feature on ddwrt fw types
on QCA988X/QCA9887 vanilla firmwares its entirely broken at several code locations. this has been fixed
in ddwrt firmwares

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Wed Feb 14, 2024 1:35    Post subject: Reply with quote
This has now gotten so bad that I cannot even play back high bitrate video from my in-house Plex server without major buffering. The Plex server is a hard wired gigabit connection. The only thing wireless in the chain are the (three) Roku TVs connected to the EA8500 5ghz. Only one is turned on at the moment. The TV connected via 5ghz to the R7800 does not exhibit this behaviour.
_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Mon Mar 11, 2024 19:56    Post subject: Reply with quote
Okay, so after attempting to get the wireless working well for nearly a month now, I decided to do the unthinkable and switched from Vanilla firmware to DD-WRT firmware (5ghz only). To my grand surprise, it fixed the speed issues.

Rather than using Speedtest over the Internet from a wireless device, I decided to test it between my main Linux computer (wired) and another EA8500 connected via WDS on 5ghz. Results are astounding!

Using Vanilla firmware:
Code:

$ iperf3 -c 192.168.254.198
Connecting to host 192.168.254.198, port 5201
[  5] local 192.168.254.15 port 47294 connected to 192.168.254.198 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  1.12 MBytes  9.43 Mbits/sec    1    116 KBytes       
[  5]   1.00-2.00   sec   640 KBytes  5.24 Mbits/sec    0    116 KBytes       
[  5]   2.00-3.00   sec   768 KBytes  6.29 Mbits/sec    0    116 KBytes       
[  5]   3.00-4.00   sec   640 KBytes  5.24 Mbits/sec    0    116 KBytes       
[  5]   4.00-5.00   sec   768 KBytes  6.29 Mbits/sec    0    116 KBytes       
[  5]   5.00-6.00   sec   768 KBytes  6.29 Mbits/sec    0    116 KBytes       
[  5]   6.00-7.00   sec   640 KBytes  5.24 Mbits/sec    0    116 KBytes       
[  5]   7.00-8.00   sec   512 KBytes  4.19 Mbits/sec    0    116 KBytes       
[  5]   8.00-9.00   sec   768 KBytes  6.29 Mbits/sec    0    116 KBytes       
[  5]   9.00-10.00  sec   640 KBytes  5.24 Mbits/sec    0    116 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  7.12 MBytes  5.98 Mbits/sec    1             sender
[  5]   0.00-10.17  sec  6.75 MBytes  5.57 Mbits/sec


Using DD-WRT firmware:
Code:

$ iperf3 -c 192.168.254.198
Connecting to host 192.168.254.198, port 5201
[  5] local 192.168.254.15 port 35896 connected to 192.168.254.198 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  21.4 MBytes   179 Mbits/sec    0    141 KBytes       
[  5]   1.00-2.00   sec  20.8 MBytes   174 Mbits/sec    0    141 KBytes       
[  5]   2.00-3.00   sec  20.2 MBytes   170 Mbits/sec    1    141 KBytes       
[  5]   3.00-4.00   sec  20.6 MBytes   173 Mbits/sec    0    141 KBytes       
[  5]   4.00-5.00   sec  20.5 MBytes   172 Mbits/sec    0    141 KBytes       
[  5]   5.00-6.00   sec  20.2 MBytes   170 Mbits/sec    0    141 KBytes       
[  5]   6.00-7.00   sec  19.9 MBytes   167 Mbits/sec    0    141 KBytes       
[  5]   7.00-8.00   sec  19.8 MBytes   166 Mbits/sec    0    141 KBytes       
[  5]   8.00-9.00   sec  20.2 MBytes   170 Mbits/sec    0    141 KBytes       
[  5]   9.00-10.00  sec  19.8 MBytes   166 Mbits/sec    0    141 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   203 MBytes   171 Mbits/sec    1             sender
[  5]   0.00-10.01  sec   203 MBytes   170 Mbits/sec


I'll continue testing it as it could drop off again as it has so often with Vanilla firmware.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Mon Mar 11, 2024 23:24    Post subject: Reply with quote
E8500
r53562

I use VANILLA on the 2.4
and
DD-WRT for the 5GHz

all I have worky very good Smile

reason VANILLA on 2.4 GHz is I have a couple devices (2.4 only) that don't like DD-WRT firmware.

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
will connect but will NOT do shit

oldass laptop:
07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
will NOT even connect to DD-WRT firmware at all NO-how NO-way Twisted Evil
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Tue Mar 12, 2024 0:51    Post subject: Reply with quote
While changing over to DD-WRT firmwire on the 5ghz side works fantastic, it doesn't make any difference on the 2.4ghz radio. Speedtest.net reports at best around 3Mb/s DL on 2.4ghz yet I am getting 51Mb/s upload speeds with it. Weird! I am getting 533Mb/s download on the 5ghz side from my Pixel 7a and about the same on a Samsung Galaxy tablet.

With wired connections, I am getting right at 908Mb/s without SFE. Not too shabby. Just wish I could figure out why it's so damn slow on 2.4!

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
sope
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 6

PostPosted: Sat Mar 16, 2024 17:23    Post subject: Reply with quote
For my purpsoses. r53469 dated 09/08/23 is working fine for my ea8500 that is DHCP for IOT vlan and all wifi on it disabled. Its just the internet gateway through the wired backbone. I also have ea8500 on my Root Mesh point but I gave up on trying to get any speed out of the 2.4GH and the 5GHz radio is working great for 802.11s mesh.

With open source firmware, it appears to me that nobody is spending much time on 2.4GHz with the neweer routers which are actually old routers compared to newer routers but newwer that my old routers that have DD-WRT on them. (Does that make sense? Probably not so I probably should not be posting in technical forums. I'll bet it makes sense to somebody.)

Will I ever try to upgrade my ea8500s from r3469. Probably not unless I see someone with "guru status on here" say they did and their router is doing flaming speeds on both wireless channels. Othwrwise, I have no need to risk pulling my hair out once again. I will work around the issue. Actually I will likely replace the archer C7v4 with one of the spares i have with broadcom chipset. They will work exceptionally well as a 2.4GHz AP.

I have a few videos posted on YouTube about how I am using my routers and working to find the best position for all of them on my 2 VLANS (one is 802.11s Mesh for IOT) that I have acumulated for cheap off ebay or from recycling center over the years. If you can put up with my crazyiness you can find me on youtube by searching DD-WRT 802.11s Mesh and or ea8500 ,etc. (TheAntiCLoud. don't use any spaces becasue those are other crazy people and not me).

_________________
TP-Link Archer c7v2,v4, TPLink ArcherC9v1, Netgear R6400v1,v2, Netgear XR500, Netgear R8000, Netgear R6220, LINKSYS EA8500
Currently in "production": Xr500, EA6500, R6400v2, Archer C7v7, Archer C9v1. I play with routers from Recycling Dumpsters.
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1082
Location: WV, USA

PostPosted: Mon Mar 18, 2024 2:08    Post subject: Reply with quote
sope wrote:
For my purpsoses. r53469 dated 09/08/23 is working fine for my ea8500 that is DHCP for IOT vlan and all wifi on it disabled. Its just the internet gateway through the wired backbone. I also have ea8500 on my Root Mesh point but I gave up on trying to get any speed out of the 2.4GH and the 5GHz radio is working great for 802.11s mesh.

With open source firmware, it appears to me that nobody is spending much time on 2.4GHz with the neweer routers which are actually old routers compared to newer routers but newwer that my old routers that have DD-WRT on them. (Does that make sense? Probably not so I probably should not be posting in technical forums. I'll bet it makes sense to somebody.)

Using my 2.4ghz for IoT only worked great for a long time. It was when I added 3 IP cameras to the 2.4ghz network things went to shit. But oddly enough, unplugging them did nothing to improve it at that point. But it's intermittent. I can run a speedtest and get 2MB/s. Run it again and I can get 16Mb/s, but it goes wildly up and down during the test. It's impossible to get a handle on what is happening.

So, I thought I would shut down the 2.4ghz network on the EA8500 and put a 15 year old WRT54GL back into service at a WAP/VAP. That didn't work out so far, as it is erasing NVRAM kinda like the EA8500 does with k6.1 builds. Could this be a related problem? Anyway, so my next experiment will be to load OpenWRT on a Raspberry Pi and see if I can turn it into a WAP to run my IoT on 2.4ghz. Ugh. This is so fscking frustrating!

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r55799

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779

OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.

Forum member #248
Display posts from previous:    Page 1 of 1
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