I've been using OpenWrt 21.02.1 on Linksys WRT1900ACSV2 for a couple of weeks.
Two glitches regularly (but not always) happening:
5GHz wireless drops off (haven't tested 2.4GHz)
After power down / power up with the ON/OFF button, the router reboots to the alternative partition (with the most recent firmware).
Linksys firmware, in turn, works like a charm (no rebooting to OpenWrt partition, no wireless drop-offs).
I spent quite a lot of time / effort to get this far with setting up OpenWrt, but the 2 glitches above really make me consider calling this a day on OpenWrt (on this router). This would be sad since one of the primary reasons to use WRT1900ACS with OpenWrt is for AdGuard Home, which also took effort/time to set up.
Does anyone know if the two glitches can be easily solved through any of the settings or these are to stay? 5GHz dropping off I can put up by hooking up WAP to the router (working only in a wired mode), but unexpected booting to alternative partition is a biggie.
Hmmm i used that build for sometime, i havent had any trouble. be sure you flash it whitout keep settings, because especialy this build setup DSA which might cause problems. I have had glitches that had my router reboot to alternative partition, but not lately.It can happen when it start up, it doesn't find connection because of improperly configured wan/dhcp/dns settings. When it happens it just reboot try to connect, failing that reboot a couple times, then it reboot to alternative, just like a sort of failsafe mechanism.
Be sure to configure wan dhcp and dns properly, for wifi just use the standard setup
Installed irqbalance. Change 'enabled' from '0' to '1' in
Enabled SQM. Significant improvement.
Disabled 802.11w (previously known to provide issues on mwlwifi).
May not be necessary.
Patched firmware-88w8864 mwlwifi specific high latencies by disabling
Add in luci > startup > local startup
(nano /etc/rc.local) the following commands:
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
#fix wifi bug
echo "0" >> /sys/kernel/debug/ieee80211/phy0/mwlwifi/tx_amsdu
echo "0" >> /sys/kernel/debug/ieee80211/phy1/mwlwifi/tx_amsdu
I think you're right, this is eureka moment! I had enabled DNS forwarding to AdGuard Home. AGH was set to start after the rooter boots. Most likely attempts to resolve DNS on boot resulted in errors. This is also proved by the failure to update system clock on boot.
I have also implemented the hints suggested, let me see how stable 5GHz will be going forward.
do you have this active on advanced configuration? because that does this ( btw this option is activated as default settings)
whit disconnects you mean the router loose wifi, or rather your devices( smartphone/pc/whatever) loose connection?
On 19.07.08. this did not help improving stability of 5GHz, the connection was dropping almost every 5 minutes for devices connected to the router. 2.4GHz was stable, though.
Then I switched to 21.02.1. With all 3 changes above, 5GHz became more stable, connection dropping less frequently (once in an hour) for devices connected to the router.
Then I disabled "Disassociate On Low Acknowledgement" (still on 21.02.1). This was a game changer. 5GHz is now as stable as it can be, did not notice connection dropping for devices connected to the router.
Stiel, many thanks for your help!
PS Cannot mark both posts by Stiel simultaneously as Solution, but both are.
Beacon interval 100 on the 5 ghz, and 150 on 2,5 ghz, to give priority to 5ghz for device when you have both active, device will connect to 5ghz unless you are far, than they will connect to 2,5 ghz.
but to do so, you need to input dtim interval 2 manually, on both instance, and input 100 to give priority 1, 150 priority 2= higher beacon interval less priority.
the router started misbehaving again. 5GHz started disappearing again (not as frequently as earlier, but still a couple of times per day), with no 5GHz wireless network available for the duration of 3-5 minutes (with 5GHz LED lights on the router front panel also going down).
Could it be that this is the [widely] discussed mwlwifi driver behind this?
@route66 btw, if you have problem, be sure you set a band for your wifi, 1-6-11 for 2,5ghz, and stick whit band 36 for 5g, you can try differents bands but its hard you need to. also if you use an high 5ghz band, that caused me problems and disconnects. so usually i stick to band 36, ofc dont leave them on auto.
ill give you screenshot on my settings, just in case.