I feel like this is such a noob question but maybe it'll be of benefit to others.
I've made interface names(.ifname) for my guest networks but I don't know how to use that name in a script using uci. For example;
12:45 ~ # uci show wireless | grep guest wireless.wifinet2.ssid='guest2' wireless.wifinet2.network='guest' wireless.wifinet2.ifname='@guest2' wireless.wifinet3.ssid='guest22g' wireless.wifinet3.network='guest' wireless.wifinet3.ifname='@guest22g'
The reason I need to reference them is because I toggle them on/off using the WPS button. I thought it'd be something like this;
# uci get wireless.@guest2.disabled 0
Instead i get;
13:02 ~ # uci get wireless.@guest2.disabled uci: Invalid argument
I've even tried;
13:09 ~ # uci get @guest2.disabled uci: Entry not found
I have a rough feeling that it's SUPER simple but please and thank you for your help in advance.