Posted: Fri Sep 16, 2022 1:16 Post subject: Two different routers, both losing 2.4ghz Internet
EDIT: Changed the subject title to be more precise and I no longer think this is build related.
This is a very odd problem.
I have an EA8500 [r50146] and a R7800 [50057]. Both have been reset and set up from scratch with release 50057. The EA8500 was then updated to r50146. Since then, all worked well for a day or two, but now, while I can connect to the 2.4ghz, there is no internet access. Sometimes a reboot fixes it, sometimes not. Both radios were set up using the sticky QCA guide with one exception. I am NOT using Turbo QAM on either. If I turn that on, I cannot even see the 2.4ghz on either router. The 5ghz side seems to be perfectly fine on both routers.
This occurs on both Motorola Stylus G (2021) and an iPhone11. On the Motorola, it just says "Connected - No Internet". The iPhone is not as verbose. It just has no Internet access. All of my IoT devices (which are blocked from the Internet, connect just fine (except for one Alexa). I have no other wifi devices.
I am using Pi-Hole for a DNS server, which seems to be okay. My wired computers have no issues.
Any ideas or suggestions much appreciated. Let me know what I need to post additionally and I will.
EDIT: Here's the really weird thing, but may also be a clue. All the APs on VLANs work fine, both 2.4ghz and 5ghz. (Guest and Media VLANs, IoT is blocked) It's only the 2.4ghz that is NOT on a VLAN (br0) that is dropping it's Internet connection. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
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
Last edited by lexridge on Fri Sep 16, 2022 14:04; edited 1 time in total
Joined: 16 Nov 2015 Posts: 6414 Location: UK, London, just across the river..
Posted: Fri Sep 16, 2022 5:55 Post subject:
-check your pihole DNS...
-to diagnose better,full exposure of your wi-fi settings and network topology will help too..
-other factors could play role in this too...details needed..logs and ect.
many positive reports on R7800 and EA8500 on the last builds
i suspect a bad wifi client, may be congested wifi network or a bad config...
_________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
I did find one setting on the Pi-Hole that didn't jive with the sticky on using Pi-Hole. I had "Use Conditional Forwarding" checked with nothing in the IP fields. Strange though, as I have not even logged into my Pi-Hole in several months. Whenever I changed the VLANs from GUI built to Startup Script built AND then later added the bridge connections to the vlans in the Startup (more info on this below), I started getting these errors on both the R7800 and the EA8500:
Code:
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 37
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.1 successfully added to bridge br1
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 37
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface vlan11 successfully added to bridge br2
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 38
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.2 successfully added to bridge br2
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 38
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface vlan12 successfully added to bridge br3
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 39
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep 16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.3 successfully added to bridge br3
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 39
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep 16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
I am pretty sure this is being caused by adding the connecting of bridges to the vlans in the startup AND adding them in the Networking tab for visual aid. So essentially there are added twice. This was advised by @egc as I was having to re-apply the Networking tab after rebooting because of a "timing issue" causing the bridges to not connect to the vlans. I figured the errors were harmless, but perhaps not. I also get these again when applying pretty much anything that restarts services, and I am thinking this is exactly what is causing the WLAN0 [8500] and WLAN1 [7800] to drop Internet connectivity. I have rebooted everything and will refrain from doing any Applies in order to test this theory. If it continues to work for a few days without dropping the 2.4ghz Internet connectivity on both routers, I will try an apply for something random, and see if the 2.4ghz drops again. Again, please note. I CAN connect to both 2.4ghz APs just fine, just they have no Internet connection whenever this occurs.
If this theory proves to be correct, the next step would be to remove the bridges creation from the Startup script and then put in some kind of delay to make sure they come up fully from the Networking tab.
Why this only affects WLAN0 [EA8500] and WLAN1 [R7800] and not the VAPs is still a mystery. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Joined: 16 Nov 2015 Posts: 6414 Location: UK, London, just across the river..
Posted: Fri Sep 16, 2022 15:06 Post subject:
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_msti_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 user.info : [bridge] : bridge br1 successfully added
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 8
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 8
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_msti_bridge_config: Couldn't find bridge with index 8
Jan 1 02:00:23 R7800 user.info : [bridge] : bridge br2 successfully added
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 9
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 9
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_msti_bridge_config: Couldn't find bridge with index 9
Jan 1 02:00:23 R7800 user.debug : mac80211: start deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.debug : mac80211: start delete_ath9k_devices
Jan 1 02:00:23 R7800 user.info : [bridge] : interface wlan0 successfully deleted from bridge br0
Jan 1 02:00:23 R7800 user.debug : mac80211: leave delete_ath9k_devices
Jan 1 02:00:23 R7800 user.debug : mac80211: leave deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.debug : mac80211: start deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.debug : mac80211: start delete_ath9k_devices
Jan 1 02:00:23 R7800 user.info : [bridge] : interface wlan1 successfully deleted from bridge br0
Jan 1 02:00:23 R7800 user.debug : mac80211: leave delete_ath9k_devices
Jan 1 02:00:23 R7800 user.debug : mac80211: leave deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.info : [bridge] : bridge br0 successfully added
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7
you can see i do have those too..
those are normal to have as creating the bridges starts later..
bear in mind on R7800 using GUI for Vlans is still bad idea as you know...
you can add those vlan's / bridges CLI commands to the firewall script instead of start up and add
sleep 20
on the top or whatever you'd need...in my case mines are in start up and those work as intended..
wlan is left by default on br0 where other vlans have their own bridge...
hit apply usually restarts processes services and re reads scripts and its not advised to fiddle with it very often...
on the new builds there ware changes how DNSmasq behaves and those could be the source of the issue...
to be honest if i need to apply things, i click only save and reboot ... it never fails...
or change nvram values and nvram commit via CLI and reboot...
My r7800 is rock solid with its x3 vlan's on br (via cli start up script commands) and DNSmasq on those works well with Stubby DoT... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
those are normal to have as creating the bridges starts later..
bear in mind on R7800 using GUI for Vlans is still bad idea as you know...
you can add those vlan's / bridges CLI commands to the firewall script instead of start up and add
sleep 20
on the top or whatever you'd need...in my case mines are in start up and those work as intended..
wlan is left by default on br0 where other vlans have their own bridge...
Interesting. So I assume the firewall script runs after startup. In which case instead of mixing vlan commands in the firewall script, what if /opt is mounted at this time, I could just put a script within the startup and run as it a new process, allowing the rest of the startup commands to execute. ie #RunVlanStartup.sh& with a sleep 20 as the first item in the script.
And yes, I gave up on the GUI completely a few weeks ago. Startup commands are really so much better and offer much more flexibility.
Alozaros wrote:
hit apply usually restarts processes services and re reads scripts and its not advised to fiddle with it very often...
on the new builds there ware changes how DNSmasq behaves and those could be the source of the issue...
Oh yea, I have been much fiddling with both. I have a huge amount of configuration. The most priority was the vlans in order to get the network functional again. The next came the wifi, and then after I realized I had forgotten to create the passwords for all the AP and VAPs, that was more fiddling, and so on and so on. Except I had been doing this on both routers, usually at the same times, give or take.
Alozaros wrote:
to be honest if i need to apply things, i click only save and reboot ... it never fails...
or change nvram values and nvram commit via CLI and reboot...
I know that is the best way, and in a normal situation that is what I have done too previously. I just had so many settings to put back, I wanted to avoid as much down time as possible. It's very possible this is what is causing these 2.4ghz routes to drop from stuff not coming back in the right order, or any slew of things.
I appreciate your insight. Thanks! I will continue to monitor and report when/if things go crazy again.....or if it continues to just work as it still is. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Joined: 16 Nov 2015 Posts: 6414 Location: UK, London, just across the river..
Posted: Sat Sep 17, 2022 8:55 Post subject:
well mine vlan commands are still in start up script ... still and working...in my case i can share the setup if you need... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
well mine vlan commands are still in start up script ... still and working...in my case i can share the setup if you need...
As are mine now, and I think mine are fine. Please check them for errors if you would:
EA8500
Code:
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "4t 1 2 3 6"
swconfig dev switch0 vlan 10 set ports "4t 6t"
swconfig dev switch0 vlan 11 set ports "4t 6t"
swconfig dev switch0 vlan 12 set ports "4t 6t"
swconfig dev switch0 set apply
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1t 2 3 4 6"
swconfig dev switch0 vlan 10 set ports "1t 6t"
swconfig dev switch0 vlan 11 set ports "1t 6t"
swconfig dev switch0 vlan 12 set ports "1t 6t"
swconfig dev switch0 set apply
As are mine now, and I think mine are fine. Please check them for errors if you would:
EA8500
Code:
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "4t 1 2 3 6"
swconfig dev switch0 vlan 10 set ports "4t 6t"
swconfig dev switch0 vlan 11 set ports "4t 6t"
swconfig dev switch0 vlan 12 set ports "4t 6t"
swconfig dev switch0 set apply
prolly just me but I might have as ...changing the brctl & up order:
Code:
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "4t 1 2 3 6"
swconfig dev switch0 vlan 10 set ports "4t 6t"
swconfig dev switch0 vlan 11 set ports "4t 6t"
swconfig dev switch0 vlan 12 set ports "4t 6t"
swconfig dev switch0 set apply
Yours is definitely cleaner looking scripting for sure. I made the changes to match yours and rebooted. Now I'll just wait and see what happens. Thanks! _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
p.s. this should be the correct order.... i believe...
on my R7800 i have
start up...
@Alozaros I see you are setting your IPs via startup as well. I don't really have a desire to do that, unless deemed absolutely necessary.
It's interesting what @Per Yngve Berg commented. I would think that his statement is correct. However, it is obviously working for you so something doesn't entirely add up here. Looks like there may be several ways to potentially skin the proverbial cat.....or not.
But, back to meddling with things, I think you hit the nail on the head here. If I don't touch it, it continues to work. If I mess with things and apply them, things then go to hell. Lesson learned. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.