Mesh Problem

Bill Moffitt bmoffitt at ayrstone.com
Fri Jun 21 08:42:49 PDT 2024


Trying to set up meshing on Comfast EW-72 v2 - my first time working
with the Mediatek chipset. I have played around with meshing quite a
bit on Atheros chips.

The interesting problem is that it seems to work in v23.05.2 and
v23.05.3 with wpad-basic-mbedtls, but, when I swap it out for
wpad-mesh (tried both mbedtls and wolfssl), it won't work. When I use
iw phy0-mesh0 mesh_param dump, I see that mesh_auto_open_plinks=0,
which explains why it won't connect to the mesh.

However, trying to set it never works:

root at OpenWrt:~# iw phy0-mesh0 set mesh_param mesh_auto_open_plinks=1
command failed: Resource busy (-16)

Interestingly, when I swap wpad-basic back in, it does work, but it
appears to connect with encryption.

uci set wireless.mesh.encryption='psk'
uci set wireless.mesh.key='xxxxxxxxxx'
wifi

and the nodes connect. However, if I leave encryption off on one node,
it STILL CONNECTS, meaning that encryption is failing silently
(nothing in the logs). It seems like there should be at least a
message ("Encryption configured for interface mesh but not enabled" or
something).

I'm not quite sure how to even debug this.

All suggestions gratefully accepted.

-Bill



More information about the openwrt-devel mailing list