To be clear: I suspect it is rather mobile issue but I have no possibility to chnange configuration at these devices, so I asking for maybe changes on openwrt side.
Ad rem.
There is mobile router with openwrt on it.
OpenWrt 22.03.0, r19685-512e76967f
system type : MediaTek MT7628AN ver:1 eco:2
machine : TP-Link TL-WR902AC v3
internet access is via usb modem.
on this device is configured wifi access (5 and 2.4 GHz)
I can connect with laptop to it, everything works.
But there are 2 phones which have problems:
Motorola g7 android
Phone connects to wifi, got dhcp address, but on the phone is "Connected, no Internet access" message. With some search I found that this is checked by trying to acces some url like connectivitycheck.gstatic.com, but it does not seem to be blocked on router.
I tried to play with connectivity checking configuration but with no success.
Iphone:
This phone connects to WiFi, but after a while it gots APIPA address, and no connectivity to internet.
Is it possible that I have wrongly configured DHCP (for example lack of some options?)
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
I can't say for certain this is your problem but if your Internet feed does not support ipv6 this problem is very common because these days ipv6 dhcp and/or ra are running by default.
The devices see ipv6 and fail to fall back to ipv4.
Try setting, in /etc/config/dhcp: option dhcp6 'disabled'
and option ra 'disabled'
remembering to restart dnsmasq: service dnsmasq restart
You can omit these, as they are the defaults and sent anyway.
Other than that, I don't see anything wrong in there.
Especially since the other devices are getting settings and work fine, it's only a matter to find what bothers these two devices.
Does the problem occur if you connect them in an open SSID with a shorter name?
Can you actually see any dhcp discovery packets from the iphone on tcpdump?
I played with this ( option ipv6 '0' on interfaces, option pointed by you on dhcp) but without (visible) success.
It is very weird. Other android tablet work without problem. ebook reader - also.
Only this iphone and this motorola, but they in turn works with other networks.
Hm. After some try-and-error, I observed that both phones have no problem with 2.4GHz network. They have problem with 5GHz network. After blacklisting their macs from 5GHz network they "works"
But, I am almost sure that they have no problem with 5GHz on my home (TP-Link Archer A6 v2 (EU/RU/JP)) router (but I am not able to check this now - I am on vacation )