You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enabled setting "Force 802.11g mode (ESP8266 only)" lost after reboot #3665
I have several D1 mini 8266 devices, which had connection problems (using an UniFi access point). The newly introduced setting "Force 802.11g mode (ESP8266 only)" does seem to solve the issue, thank you! Unfortunately, the setting is not saved during reboot. After a soft or hard reboot, the devices connect using the WiFi 4 standard (and not the WiFi 3 when activating the option).
To Reproduce Bug
Activate the setting "Force 802.11g mode (ESP8266 only)"
Reboot
Setting "Force 802.11g mode (ESP8266 only)" not activated any more
I was able to reproduce the problem, with MS EDGE on windows, and using an 8266 freshly installed with wLED.
go into Wifi settings, check "Force 802.11g mode". Just for comparison, i've also checked "disable wifi sleep".
save & connect
go back into Wifi settings -> Ok -> checkmarks are there
look at cfg.json -> ok -> contains "wifi":{"sleep":false,"phy":1}
open info panel, press "reboot"
after reboot, look into wifi settings --> NOK -> checkmark missing for "Force 802.11g mode" (checkmark "disable sleep" is still there)
cfg.json still correct: "wifi":{"sleep":false,"phy":1}
@blazoncek very mysterious behaviour - "disable sleep" is still there after reboot, but "force g mode" is lost. The only suspicious part is that "sleep" is stored with true/false value, while "phy" is stored as 0/1. Any idea?
changed the title [-]Enabled setting "Force 802.11g mode (ESP8266 only)" not saved during reboot[/-][+]Enabled setting "Force 802.11g mode (ESP8266 only)" lost after reboot[/+]on Jan 10, 2024
Activity
blazoncek commentedon Jan 10, 2024
You may want to disable fast roaming and BSS transition in UniFi.
blazoncek commentedon Jan 10, 2024
And please post your configuration (cfg.json)
softhack007 commentedon Jan 10, 2024
I was able to reproduce the problem, with MS EDGE on windows, and using an 8266 freshly installed with wLED.
"wifi":{"sleep":false,"phy":1}"wifi":{"sleep":false,"phy":1}@blazoncek very mysterious behaviour - "disable sleep" is still there after reboot, but "force g mode" is lost. The only suspicious part is that "sleep" is stored with true/false value, while "phy" is stored as 0/1. Any idea?
[-]Enabled setting "Force 802.11g mode (ESP8266 only)" not saved during reboot[/-][+]Enabled setting "Force 802.11g mode (ESP8266 only)" lost after reboot[/+]blazoncek commentedon Jan 10, 2024
On first look everything seems in order.
and
But now I wonder if
|operator handles it properly.Try changing the line 698 to read:
and re-save configurations.
Fix for #3665
Fix for #3665
softhack007 commentedon Jan 10, 2024
Confirmed - works for my case, too 👍 cfg.json now has
"wifi":{"sleep":false,"phy":true}as it should be.Fix for wled#3665
Fix for wled#3665
Fix for wled#3665
Fix for wled#3665