Hello
I recently got an OpenWrt One and since it's WiFi is much faster than my current ZyXEL WSM20 I would like to include it in my OpenWrt Mesh11sd setup and replace one of the nodes.
To do that, I wanted to build a custom firmware image as follows:
Installed Packages
base-files ca-bundle dnsmasq dropbear firewall4 fitblk fstools kmod-crypto-hw-safexcel kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-phy-aquantia libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd -wpad-basic-mbedtls kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware kmod-rtc-pcf8563 kmod-usb3 kmod-nvme kmod-phy-airoha-en8811h luci wpad-mbedtls kmod-nft-bridge mesh11sd
Script to run on first boot (uci-defaults)
uci set mesh11sd.setup.auto_config='1'
uci set mesh11sd.setup.auto_mesh_id='meshidigotfrommesh11sdstatusonmyoldnodes'
uci set mesh11sd.setup.mesh_gate_encryption='2'
uci set mesh11sd.setup.mesh_gate_key='mywifipassword'
uci set mesh11sd.setup.ssid_suffix_enable='0'
uci set mesh11sd.setup.mesh_leechmode_enable='1'
uci commit mesh11sd
uci set network.lan.ipaddr='192.168.9.1'
uci commit network
uci set wireless.radio0.country='DE'
uci set wireless.radio0.channel='11'
uci set wireless.radio1.country='DE'
uci set wireless.default_radio0.ssid='CF-WiFi-HOME-2.4G'
uci set wireless.default_radio0.ieee80211r='1'
uci set wireless.default_radio0.mobility_domain='12ab'
uci set wireless.default_radio1.ssid='CF-WiFi-HOME'
uci set wireless.default_radio1.ieee80211r='1'
uci set wireless.default_radio1.mobility_domain='12ab'
uci commit wireless
rootpassword="mypassword"
/bin/passwd root << EOF
$rootpassword
$rootpassword
EOF
Now, Snapshot, 24.10.0 and 24.10.0-rc7 just fail to build right away. I can build from 24.10.0-rc6 downwards (which is OK), but the resulting image does not execute my script as intended. It always stays at the default values.
I did the same procedure last year with the ZyXEL devices without issues (slightly different packages of course).
What could be the issue?