I checked my mom's phone too for this and it's slow too. So some apps like magisk, infinity have been having issues with the wifi. They take a long time to load. In WhatsApp or takes an eternity to backup. Everything works fine on mobile data. Been having issues since yesterday. Wifi doesn't seem to work on my mom's phone at all. My phone runs OneUI 5 Core Android 13 and my mom's phone is running ColorOS 11.1 Android 11. The router in question is a TP-LINK Archer C20 V4.
(Browser works fine lol)
Let's see your config
Please copy the output of the following commands and post it here using the "Preformatted text </>
" button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
Thanks for replying. Here is the info you asked for.
root@OpenWrt:~# ubus call system board
{
"kernel": "5.10.161",
"hostname": "OpenWrt",
"system": "MediaTek MT7628AN ver:1 eco:2",
"model": "TP-Link Archer C20 v4",
"board_name": "tplink,archer-c20-v4",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "22.03.3",
"revision": "r20028-43d71ad93e",
"target": "ramips/mt76x8",
"description": "OpenWrt 22.03.3 r20028-43d71ad93e"
}
}
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd8f:7dd2:f6f8::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'eth0.2'
option macaddr '34:e8:94:38:79:ef'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 6t'
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/10300000.wmac'
option channel '1'
option band '2g'
option htmode 'HT20'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid ''
option encryption 'sae-mixed'
option key ''
config wifi-device 'radio1'
option type 'mac80211'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option channel '36'
option band '5g'
option htmode 'VHT80'
option cell_density '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'cannot show ssid'
option encryption 'sae-mixed'
option key 'cannot show password'
root@OpenWrt:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
root@OpenWrt:~# cat /etc/config/firewall
config defaults
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option mtu_fix '1'
config zone
option name 'wan'
list network 'wan'
list network 'wan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
So most of your stuff looks good...
If your phones have fast connections to other sites (including speed test servers), it is unlikely to be anything to do with your configuration and more to do with the ISP and/or servers for those apps.
But, you can try changing your encryption to WPA3 (pure) or WPA2, since WPA2/3 mixed mode (sae-mixed) doesn't always work well.
The other thing you can do is drop your 5G radio to VHT40 instead of VHT80. This reduces the theoretical maximum wifi speeds, but can be beneficial in that it is less susceptible to interference from other nearby wifi APs , and therefore may actually improve practical performance.
1 Like
How can I drop the 5G radio? I can't find the setting anywhere.
From openwrt gui, go to network>>wireless, click "edit" for radio 1 (5g in your case) , then change the width from 80 to 40. Save then save and apply.
2 Likes
I don't think that there is an issue with the servers of the apps, because Google services are working pretty slow along with WhatsApp (backup functionality). However, the steps you told me didn't work for me.
Do the problems affect normal computers, or only Android phones?
What are the results of standard speed tests (like speedtest.net )? What about if you use Google's speed test?
I'm using Arch Linux on my laptop, so I don't see much problems here. Secondly speedtest.net shows 73.16 mbps download speed and Google's speed test shows 81.0 download speed.
Was that from your Arch Linux laptop, or from Android?
Bill
February 1, 2023, 5:19am
11
You said that regular data connection is reliably faster? If so, and as suggested put you 5g radio on WPA2 force cipher CCMP (AES)
Bill
February 1, 2023, 6:00am
13
^^one word response make you [strike]a[/strike] the forum GOD!
How did you manage on changing the cipher on the password?
I didn't get that.
How does this matter though? Why are we diverging from the original topic?
Still broken. Contacting my ISP.
SOLVED! IPv6 seems to be the culprit. Now everything works like it was supposed to! I'll get rid of it now. Putting this here for everyone.
Do you mean you disabled ipv6 wan?
1 Like
I think he deleted wan6 interface altogether.
I can still get it back with the reset button if I need to.
Bill
February 1, 2023, 5:55pm
21
Good. I would have never thought to suggest removing IPV6 as a solution. But for the sake of Solution, I admit that I remove it ASAP, on my two routers on every upgrade.
1 Like