fix(wifi): Fix mesh channels — 2.4GHz=1, 5GHz=36 for all nodes
All mesh nodes must share the same channel per band for batman-adv peering. Bumps firmware to ph3. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -290,11 +290,21 @@ fi
|
||||
# Remove all existing wifi-iface sections
|
||||
while uci -q delete wireless.@wifi-iface[0]; do :; done
|
||||
|
||||
# Enable radios (remove disabled flag)
|
||||
# Enable radios and set fixed channels (all nodes must share same channel for mesh peering)
|
||||
for radio in $RADIOS; do
|
||||
uci -q delete "wireless.${radio}.disabled" 2>/dev/null || true
|
||||
done
|
||||
|
||||
# Fixed channels — all mesh nodes must be on the same channel per band
|
||||
# 2.4GHz: channel 1 (DFS-free, least congested of 1/6/11)
|
||||
# 5GHz: channel 36 (DFS-free, universal chipset support)
|
||||
if [ -n "$RADIO_2G" ]; then
|
||||
uci set "wireless.${RADIO_2G}.channel=1"
|
||||
fi
|
||||
if [ -n "$RADIO_5G" ]; then
|
||||
uci set "wireless.${RADIO_5G}.channel=36"
|
||||
fi
|
||||
|
||||
# --- 2.4GHz radio: mesh backhaul + parahub.io/free AP ---
|
||||
if [ -n "$RADIO_2G" ]; then
|
||||
# Mesh interface on 2.4GHz
|
||||
|
||||
Reference in New Issue
Block a user