I have recently moved to a GL-MT6000 with OpenWRT 24.10.5. Previously I was using OpenWrt (with an older version of software) on a BL1300, with a separate AP running FreshTomato. In the previous set up everything was working okay.
With the new set up, wifi seems to work well in the main, across both 2.4 and 5 frequencies. I am using the same channels as before.
However I have a few of the same particular device (smart plugs) that struggle to connect.
On power up they connect fine. After a while they appear to drop off. At this time, they will pop up on the “Associated Stations” screen, but not have an IP address (I use static addressing).
Power cycling the plug brings them back. My suspicion is that they will drop off when the DHCP lease expires. EDIT: after setting the lease time of a problematic device to 2 minutes, it appears to stay connected after renewal.
Let's see the configs to check for any suspect settings:
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
Do not use sae-mixed as this causes problems on some client devices:
Instead, use WPA2 (psk2) or WPA3 sae encryption.
Do you actually need isolation enabled?
Your DoH settings could cause problems. You might want to review this to make sure that it's not causing issues with the client devices that might use ping tests or other methods to determine connectivity.
Normally, the start should just be a standard offset, not a full address.
This will relate also to your decision to use a /16 which is generally considered bad practice.
There are also a whole bunch of standard firewall rules that appear to have been deleted. Why?
The bulk of these settings (IP address, space, dynamic IP range, DoH) have been ported from the previous setup. The isolation option is from the SSID that the problematic device is not connecting to.
The only addition is the wifi-iface that was copied (as far as possible) from the previous AP.
If I confirm connectivity going back to using the AP would that confirm that the migrated set up is not the issue?
But why are you using a /16? This is unnecessarily large. /24 is the typical and default for a number of good reasons... and there are some devices (iot types specifically) that are poorly coded and assume /24.
Sure, but since they both connect to the same network, there is little purpose in the isolate function. That is to say that a device on the 'isolated' network will be able to reach a device in the 'non-isolated' network and vice versa.
Anyway, I would recommend that you consider starting with a fresh config and make only the minimum required change to get it to work with your environment. Then, test the problematic devices. If that works, add one config item at a time, testing after each change. This way you can isolate the specific culprit and then focus on why it is causing problems.
Starting again is a bit of a long job so I'll add it to my to do list. Is there a way to do that without a total factory reset (eg by moving the /etc/config/ directory)? If so that's something I can try much sooner.
My confusion is in that they work after a cold boot with the above options, but then just give up.
In anticipation of starting again, I have reinstated the separate WAP, and no longer see the issue (Ie a plug connected through the WAP remains connected).
Given that the wifi connection works initially I'm struggling to understand where the issue is. Is there something peculiar about the way OpenWrt bridges Wifi and Lan that might be causing a renewal issue?