Hi,
what have I done wrong?
root@OpenWrt:~# WIFI_DEV="$(uci get wireless.@wifi-iface[0].device)"
uci: Entry not found
-----------------------------------------------------
OpenWrt 24.10.1, r28597-0425664679
-----------------------------------------------------
root@OpenWrt:~# # Configure network
root@OpenWrt:~# uci -q delete network.guest_dev
root@OpenWrt:~# uci set network.guest_dev="device"
root@OpenWrt:~# uci set network.guest_dev.type="bridge"
root@OpenWrt:~# uci set network.guest_dev.name="br-guest"
root@OpenWrt:~# uci -q delete network.guest
root@OpenWrt:~# uci set network.guest="interface"
root@OpenWrt:~# uci set network.guest.proto="static"
root@OpenWrt:~# uci set network.guest.device="br-guest"
root@OpenWrt:~# uci set network.guest.ipaddr="192.168.3.1/24"
root@OpenWrt:~# uci commit network
root@OpenWrt:~# service network restart
root@OpenWrt:~# # Configure wireless
root@OpenWrt:~# WIFI_DEV="$(uci get wireless.@wifi-iface[0].device)"
uci: Entry not found
root@OpenWrt:~# uci -q delete wireless.guest
root@OpenWrt:~# uci set wireless.guest="wifi-iface"
root@OpenWrt:~# uci set wireless.guest.device="${WIFI_DEV}"
root@OpenWrt:~# uci set wireless.guest.mode="ap"
root@OpenWrt:~# uci set wireless.guest.network="guest"
root@OpenWrt:~# uci set wireless.guest.ssid="guest"
root@OpenWrt:~# uci set wireless.guest.encryption="none"
root@OpenWrt:~# uci commit wireless
root@OpenWrt:~# wifi reload
root@OpenWrt:~#
Thanks for your assistance!