I bought a TP-Link RE200 v3 to use as a proper wifi repeater, since openwrt provides support for it, it could be used as a WDS repeater or 802.11s mesh point. I've configured an 802.11s mesh network, but it seems like there's an issue with some part of the driver, since as soon as the mesh network is enabled the following kernel warning appears in the logs:
... mesh network is enabled
Tue Feb 15 14:26:00 2022 kern.info kernel: [ 268.733687] rt3050-esw 10110000.esw: link changed 0x00
Tue Feb 15 14:26:00 2022 daemon.notice netifd: Interface 'obercom' is enabled
Tue Feb 15 14:26:02 2022 daemon.notice netifd: radio0 (2750): kernel reports: integer out of range
Tue Feb 15 14:26:02 2022 daemon.notice netifd: radio0 (2750): command failed: Invalid argument (-22)
Tue Feb 15 14:26:02 2022 daemon.notice netifd: radio0 (2750): command failed: Link has been severed (-67)
Tue Feb 15 14:26:03 2022 kern.info kernel: [ 271.491379] br-obercom: port 1(mesh-obercom) entered blocking state
Tue Feb 15 14:26:03 2022 kern.info kernel: [ 271.503879] br-obercom: port 1(mesh-obercom) entered disabled state
Tue Feb 15 14:26:03 2022 kern.info kernel: [ 271.516723] device mesh-obercom entered promiscuous mode
Tue Feb 15 14:26:03 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: leaving mesh
Tue Feb 15 14:26:03 2022 kern.info kernel: [ 272.228440] br-obercom: port 1(mesh-obercom) entered disabled state
Tue Feb 15 14:26:04 2022 kern.info kernel: [ 272.535487] rt3050-esw 10110000.esw: link changed 0x10
Tue Feb 15 14:26:04 2022 daemon.info dnsmasq-dhcp[2093]: DHCPREQUEST(br-lan) 192.168.115.196 d0:37:45:d1:f3:8c
Tue Feb 15 14:26:04 2022 daemon.info dnsmasq-dhcp[2093]: DHCPACK(br-lan) 192.168.115.196 d0:37:45:d1:f3:8c DESKTOP-R9LUV8L
Tue Feb 15 14:26:04 2022 daemon.notice wpa_supplicant[1203]: nl80211: Failed to set interface into station mode
Tue Feb 15 14:26:04 2022 daemon.err wpa_supplicant[1203]: mesh-obercom: mesh leave error=-134
Tue Feb 15 14:26:04 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: interface state UNINITIALIZED->ENABLED
Tue Feb 15 14:26:04 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: AP-ENABLED
Tue Feb 15 14:26:04 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: joining mesh virus1-mesh-wifi
Tue Feb 15 14:26:04 2022 daemon.notice netifd: Network device 'mesh-obercom' link is up
Tue Feb 15 14:26:04 2022 kern.info kernel: [ 273.335671] IPv6: ADDRCONF(NETDEV_CHANGE): mesh-obercom: link becomes ready
Tue Feb 15 14:26:04 2022 kern.info kernel: [ 273.349810] br-obercom: port 1(mesh-obercom) entered blocking state
Tue Feb 15 14:26:04 2022 kern.info kernel: [ 273.362270] br-obercom: port 1(mesh-obercom) entered forwarding state
Tue Feb 15 14:26:04 2022 kern.info kernel: [ 273.376575] IPv6: ADDRCONF(NETDEV_CHANGE): br-obercom: link becomes ready
Tue Feb 15 14:26:04 2022 daemon.notice netifd: bridge 'br-obercom' link is up
Tue Feb 15 14:26:04 2022 daemon.notice netifd: Interface 'obercom' has link connectivity
Tue Feb 15 14:26:04 2022 daemon.notice netifd: Interface 'obercom' is setting up now
Tue Feb 15 14:26:04 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
Tue Feb 15 14:26:04 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: MESH-GROUP-STARTED ssid="virus1-mesh-wifi" id=0
Tue Feb 15 14:26:04 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: new peer notification for ec:08:6b:ec:4d:3e
Tue Feb 15 14:26:05 2022 daemon.notice netifd: obercom (2896): udhcpc: started, v1.33.1
Tue Feb 15 14:26:05 2022 daemon.notice netifd: obercom (2896): udhcpc: sending discover
Tue Feb 15 14:26:05 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: mesh plink with ec:08:6b:ec:4d:3e established
Tue Feb 15 14:26:05 2022 daemon.notice wpa_supplicant[1203]: mesh-obercom: MESH-PEER-CONNECTED ec:08:6b:ec:4d:3e
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.662000] ------------[ cut here ]------------
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.671242] WARNING: CPU: 0 PID: 127 at net/core/flow_dissector.c:960 0x8034ae18
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.685891] Modules linked in: pppoe ppp_async mt76x0e mt76x0_common iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack mt76x02_lib mt7603e mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio gpio_button_hotplug
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.792887] CPU: 0 PID: 127 Comm: kworker/u3:0 Not tainted 5.4.154 #0
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.805646] Workqueue: napi_workq 0x80358e90
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.814097] Stack : 805a0000 83cd5180 8050bc78 8034ae18 00000000 00000000 00000000 00000000
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.830650] 00000000 00000000 00000000 00000000 00000000 00000001 83defa40 31b46b0c
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.847196] 83defad8 00000000 00000000 00000000 00000038 804f1ba4 616e203a 775f6970
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.863749] 00000000 0000000d 00000000 000c4b0e 00000000 83defa20 00000000 8034ae18
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.880296] 00000009 836f5158 82fcb618 805a0000 00000003 802b96e8 00000000 80700000
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.896842] ...
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.901683] Call Trace:
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.901711] [<8034ae18>] 0x8034ae18
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.913454] [<804f1ba4>] 0x804f1ba4
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.920364] [<8034ae18>] 0x8034ae18
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.927275] [<802b96e8>] 0x802b96e8
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.934187] [<80009790>] 0x80009790
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.941092] [<80009798>] 0x80009798
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.947994] [<80023900>] 0x80023900
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.954896] [<8034ae18>] 0x8034ae18
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.961805] [<800239a8>] 0x800239a8
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.968727] [<8034ae18>] 0x8034ae18
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.975642] [<804bcd4c>] 0x804bcd4c
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.982553] [<804bb158>] 0x804bb158
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.989457] [<804b9c20>] 0x804b9c20
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 274.996377] [<804bcf20>] 0x804bcf20
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.003303] [<8352afcc>] 0x8352afcc [mac80211@2710cab8+0x7c470]
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.015033] [<8352c5bc>] 0x8352c5bc [mac80211@2710cab8+0x7c470]
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.026777] [<8034c20c>] 0x8034c20c
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.033713] [<83532838>] 0x83532838 [mac80211@2710cab8+0x7c470]
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.045441] [<8035775c>] 0x8035775c
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.052375] [<835386d8>] 0x835386d8 [mac80211@2710cab8+0x7c470]
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.064103] [<80357ab0>] 0x80357ab0
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.071047] [<8353a34c>] 0x8353a34c [mac80211@2710cab8+0x7c470]
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.082785] [<803589f8>] 0x803589f8
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.089694] [<805d0000>] 0x805d0000
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.096598] [<805d0000>] 0x805d0000
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.103500] [<80026790>] 0x80026790
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.110415] [<804f7040>] 0x804f7040
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.117342] [<80026968>] 0x80026968
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.124250] [<80358dc0>] 0x80358dc0
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.131159] [<80026a4c>] 0x80026a4c
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.138063] [<80358eb4>] 0x80358eb4
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.144979] [<80358eb4>] 0x80358eb4
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.151883] [<80358edc>] 0x80358edc
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.158786] [<804f2d80>] 0x804f2d80
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.165708] [<8003aea4>] 0x8003aea4
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.172645] [<8003b26c>] 0x8003b26c
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.179548] [<8003b104>] 0x8003b104
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.186450] [<804f2fb8>] 0x804f2fb8
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.193365] [<8003b104>] 0x8003b104
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.200268] [<8003ffac>] 0x8003ffac
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.207175] [<8003fe74>] 0x8003fe74
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.214089] [<8003fe74>] 0x8003fe74
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.220999] [<800050b8>] 0x800050b8
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.227906]
Tue Feb 15 14:26:06 2022 kern.warn kernel: [ 275.230841] ---[ end trace 7cc1da83ca41a491 ]---
Tue Feb 15 14:26:08 2022 daemon.notice netifd: obercom (2896): udhcpc: sending discover
Tue Feb 15 14:26:11 2022 daemon.notice netifd: obercom (2896): udhcpc: sending discover
Tue Feb 15 14:26:11 2022 daemon.notice netifd: obercom (2896): udhcpc: sending select for 192.168.100.154
Tue Feb 15 14:26:11 2022 daemon.notice netifd: obercom (2896): udhcpc: lease of 192.168.100.154 obtained, lease time 86400
Tue Feb 15 14:26:11 2022 daemon.notice netifd: Interface 'obercom' is now up
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: reading /tmp/resolv.conf.d/resolv.conf.auto
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using only locally-known addresses for domain test
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using only locally-known addresses for domain onion
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using only locally-known addresses for domain localhost
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using only locally-known addresses for domain local
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using only locally-known addresses for domain invalid
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using only locally-known addresses for domain bind
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using only locally-known addresses for domain lan
Tue Feb 15 14:26:11 2022 daemon.info dnsmasq[2093]: using nameserver 192.168.100.1#53
I tried using wpad-mesh-wolfssl
instead of wpad-wolfssl
, but the results are the same.
The mesh network is in fact accessible, but I bring any other access points up. Any ideas of what could be causing these issues?
Contents of /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 'fda6:0de2:13a5::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.115.1'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '0'
config interface 'upstream'
option proto 'dhcp'
config interface 'zt_internal'
option proto 'none'
# redacted
option device 'ztxxxxxx'
option auto '0'
config interface 'obercom'
option proto 'dhcp'
option device 'br-obercom'
option type 'bridge'
config device
option type 'bridge'
option name 'br-obercom'
Contents of /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/10300000.wmac'
option htmode 'HT20'
option cell_density '0'
option country 'TW'
option txpower '23'
config wifi-device 'radio1'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'VHT80'
option txpower '11'
option cell_density '0'
option disabled '1'
config wifi-iface 'wifinet2'
option device 'radio0'
option mode 'sta'
# redacted
option ssid 'xxxxxxxxxxxxx'
option encryption 'psk2+ccmp'
# redacted
option key 'xxxxxxxxxxxx'
option network 'upstream'
option disabled '1'
config wifi-iface 'wifinet3'
option device 'radio0'
option mode 'sta'
# redacted
option ssid 'xxxxxxxxxxx'
option encryption 'psk2'
# redacted
option key 'xxxxxxxxxx'
option network 'upstream'
option disabled '1'
config wifi-iface 'wifinet4'
option device 'radio0'
option mode 'mesh'
option encryption 'sae'
# redacted
option mesh_id 'xxxxxxxxxxx'
# redacted
option key 'xxxxxxxxxxx'
option ifname 'mesh-obercom'
option network 'obercom'
config wifi-iface 'wifinet5'
option device 'radio0'
option mode 'ap'
# redacted
option ssid 'xxxxxxxxx'
option encryption 'psk-mixed'
# redacted
option key 'xxxxxxxxx'
option network 'obercom'
option disabled '1'
config wifi-iface 'wifinet6'
option device 'radio1'
option mode 'ap'
# redacted
option ssid 'xxxxxxxxxx'
option encryption 'psk-mixed'
option ifname 'ap5g-obercom'
# redacted
option key 'xxxxxxxxxx'
option ieee80211r '1'
option mobility_domain 'xxxx'
option ft_over_ds '1'
option ft_psk_generate_local '1'
option network 'obercom'
option disabled '1'
Output of opkg list-installed
base-files - 1434-r16325-88151b8303
busybox - 1.33.1-6
ca-bundle - 20210119-1
cgi-io - 2021-09-08-98cef9dd-20
dnsmasq - 2.85-8
dropbear - 2020.81-2
firewall - 2021-03-23-61db17ed-1
fstools - 2021-01-04-c53b1882-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2020-10-25-9ef88681-2
hostapd-common - 2020-06-08-5a8b3662-35
ip6tables - 1.8.7-1
iptables - 1.8.7-1
iw - 5.9-8fab0c9e-1
iwinfo - 2021-04-30-c45f0b58-2.1
jshn - 2021-05-16-b14c4688-2
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.4.154-1-81b5fa8a3bdde9109c65df5b7a2d086e
kmod-cfg80211 - 5.4.154+5.10.68-1-1
kmod-gpio-button-hotplug - 5.4.154-3
kmod-ip6tables - 5.4.154-1
kmod-ipt-conntrack - 5.4.154-1
kmod-ipt-core - 5.4.154-1
kmod-ipt-nat - 5.4.154-1
kmod-ipt-offload - 5.4.154-1
kmod-leds-gpio - 5.4.154-1
kmod-lib-crc-ccitt - 5.4.154-1
kmod-mac80211 - 5.4.154+5.10.68-1-1
kmod-mt76-core - 5.4.154+2021-06-06-22b69033-4
kmod-mt7603 - 5.4.154+2021-06-06-22b69033-4
kmod-mt76x0-common - 5.4.154+2021-06-06-22b69033-4
kmod-mt76x02-common - 5.4.154+2021-06-06-22b69033-4
kmod-mt76x0e - 5.4.154+2021-06-06-22b69033-4
kmod-nf-conntrack - 5.4.154-1
kmod-nf-conntrack6 - 5.4.154-1
kmod-nf-flow - 5.4.154-1
kmod-nf-ipt - 5.4.154-1
kmod-nf-ipt6 - 5.4.154-1
kmod-nf-nat - 5.4.154-1
kmod-nf-reject - 5.4.154-1
kmod-nf-reject6 - 5.4.154-1
kmod-ppp - 5.4.154-1
kmod-pppoe - 5.4.154-1
kmod-pppox - 5.4.154-1
kmod-slhc - 5.4.154-1
libblobmsg-json20210516 - 2021-05-16-b14c4688-2
libc - 1.1.24-3
libgcc1 - 8.4.0-3
libip4tc2 - 1.8.7-1
libip6tc2 - 1.8.7-1
libiwinfo-data - 2021-04-30-c45f0b58-2.1
libiwinfo-lua - 2021-04-30-c45f0b58-2.1
libiwinfo20210430 - 2021-04-30-c45f0b58-2.1
libjson-c5 - 0.15-2
libjson-script20210516 - 2021-05-16-b14c4688-2
liblua5.1.5 - 5.1.5-9
liblucihttp-lua - 2021-06-11-3dc89af4-1
liblucihttp0 - 2021-06-11-3dc89af4-1
libnl-tiny1 - 2020-08-05-c291088f-2
libpthread - 1.1.24-3
libubox20210516 - 2021-05-16-b14c4688-2
libubus-lua - 2021-06-30-4fc532c8-2
libubus20210630 - 2021-06-30-4fc532c8-2
libuci20130104 - 2020-10-06-52bbc99f-5
libuclient20201210 - 2021-05-14-6a6011df-1
libustream-wolfssl20201210 - 2020-12-10-68d09243-1
libwolfssl4.8.1.66253b90 - 4.8.1-stable-4
libwolfssl5.1.1.99a5b54a - 5.1.1-stable-1
libxtables12 - 1.8.7-1
logd - 2020-10-25-9ef88681-2
lua - 5.1.5-9
luci - git-20.074.84698-ead5e81
luci-app-firewall - git-21.295.66767-8eceb63
luci-app-opkg - git-21.079.58598-6639e31
luci-base - git-21.295.67054-13df80d
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-jsonc - git-19.317.29469-8da8f38
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-21.295.67048-4d3de0e
luci-mod-status - git-21.295.66779-853a128
luci-mod-system - git-21.295.66903-8acd0d7
luci-proto-ipv6 - git-21.148.49484-14511e5
luci-proto-ppp - git-21.163.64918-6c6559a
luci-ssl - git-20.244.36115-e10f954
luci-theme-bootstrap - git-21.298.68362-d24760e
mtd - 26
netifd - 2021-07-26-440eb064-1
odhcp6c - 2021-01-09-53f07e90-16
odhcpd-ipv6only - 2021-07-18-bc9d317f-3
openwrt-keyring - 2021-02-20-49283916-2
opkg - 2021-06-13-1bf042dd-1
ppp - 2.4.8.git-2020-10-03-3
ppp-mod-pppoe - 2.4.8.git-2020-10-03-3
procd - 2021-02-23-37eed131-1
px5g-wolfssl - 3
rpcd - 2021-03-11-ccb75178-1
rpcd-mod-file - 2021-03-11-ccb75178-1
rpcd-mod-iwinfo - 2021-03-11-ccb75178-1
rpcd-mod-luci - 20210614
rpcd-mod-rrdns - 20170710
swconfig - 12
ubox - 2020-10-25-9ef88681-2
ubus - 2021-06-30-4fc532c8-2
ubusd - 2021-06-30-4fc532c8-2
uci - 2020-10-06-52bbc99f-5
uclient-fetch - 2021-05-14-6a6011df-1
uhttpd - 2021-03-21-15346de8-2
uhttpd-mod-ubus - 2021-03-21-15346de8-2
urandom-seed - 3
urngd - 2020-01-21-c7f7b6b6-1
usign - 2020-05-23-f1f65026-1
wireless-regdb - 2021.04.21-1
wpad-wolfssl - 2020-06-08-5a8b3662-39