I'm trying to create a generic setup procedure for a mesh at home. When successfully running, there should be a Mesh Master attached to the ONT and 2 mesh satellites. Unfortunately, I get a red LED and no mesh. I hope someone here can help iron out the problems.
Hardware for initial testing
Asus RT-AC58U v1 (two of these)
Further Hardware for intended mesh network
Gee/HiWiFi HC5962
Ubiquiti UniFi AP Pro (old and not reliable)
Software
All running OpenWRT 24
PC uses Linux
Sources
Current Setup Procedure for Confidence Test (containing the problem(s))
- Install OpenWRT onto router and connect PC by cable to LAN port
- Logon and create a password e.g. Luci or SSH
- Determine the node’s IPv6 address (for access as once the mesh starts then IPv4 isn’t possible)
- Create local DHCP for LAN ports e.g. 192.168.2.1 (to prevent conflicts with WAN connected)
- Connect WAN port using cable to LAN port of main router (currently an old, “dumb” ISP router)
- Check the node has access to the internet e.g. Luci-System-Software-Update Lists
- Open SSH terminal to node
- Run the following commands:
# 1) Update and install packages (pick openssl OR wolfssl)
opkg update
opkg remove wpad-basic-mbedtls wpad-basic-openssl wpad-basic-wolfssl wpad-mini wpad-mbedtls wpad-openssl wpad-wolfssl
opkg install wpad-mesh-openssl
opkg install uhttpd px5g-mbedtls luci-ssl
opkg install ip-full kmod-nft-bridge vxlan mesh11sd
# 2) Stop mesh11sd and bring radios down
service mesh11sd stop || true
wifi down || true
# 3) Configure radio1 (5 GHz) for mesh backhaul
uci set wireless.radio1.disabled='0'
uci set wireless.radio1.country='00'
uci set wireless.radio1.channel='0'
uci set wireless.radio1.htmode='HE80' # change to 'VHT80' if unsupported
uci set wireless.radio1.txpower='20'
uci commit wireless
wifi up
# 4) Configure mesh11sd for Confidence Test
uci set mesh11sd.setup.auto_mesh_id='test-mesh_nomap'
uci set mesh11sd.setup.mesh_gate_base_ssid='test-Access_nomap'
uci set mesh11sd.setup.mesh_gate_encryption='1'
uci set mesh11sd.setup.mesh_gate_key='Test-Key_23'
uci set mesh11sd.setup.auto_mesh_band='5g'
uci set mesh11sd.setup.portal_use_default_ipv4='1'
uci set mesh11sd.setup.auto_config='0' # Confidence Test mode (='0')
uci commit mesh11sd
uci commit network || true
# 5) Run Confidence Test and follow logs
mesh11sd debuglevel 3
mesh11sd commit_changes commit
mesh11sd auto_config test
mesh11sd read_log -f
- Once the Confidence Test is (successfully) running then open a second SSH terminal (using the IPv6 address as IPv4 won’t now work) and check on the status of the mesh. The following commands can prove helpful
mesh11sd status
mesh11sd show_config
mesh11sd peers
logread -f # system logs
iw dev wlan1 station dump # replace wlan1 with the actual mesh iface
# For exact iface names to use, run in the second terminal:
uci show wireless
ip link show
iw dev
Unfortunately, in my case the LED glows red and the Confidence Test doesn’t start. Can anyone suggest how to isolate the problem and a fix, please?
