I'm reading this documentation here and I'm looking at the UCI data/object model section regarding anonymous-name. I'm trying to create some uci-defaults scripts to pre-configure some settings from my compiled images and I'm having trouble with upnpd and uci.
I simply want to change the Internal addresses. If I click the Save button without applying, I can see the command UCI will use:
uci set upnpd.cfg02ed70.int_addr='192.168.1.10/28'
I need to change cfg02ed70 to one of these anonymous names. I tried simply removing the auto generated name
uci set upnpd.int_addr='192.168.1.10/28'
uci commit
but this has no effect.
I've only recently started using UCI commands, and I have tried using them in the past and I think I was off-put by not being able to workout how to use the commands without the autogenerated ID/CFGIDs.
I'm trying to add another SQM section and I'm getting a uci: Invalid argument
uci batch
set sqm.queue[1]=queue
set sqm.queue[1].interface='br-guest'
set sqm.queue[1].download='2000'
set sqm.queue[1].upload='10000'
set sqm.queue[1].verbosity='0'
set sqm.queue[1].qdisc='cake'
set sqm.queue[1].script='layer_cake.qos'
set sqm.queue[1].enabled='1'
Well thank you for your help @vgaetera. UCI commands are all new to me as I've only just started automating uci-defaults scripts to automate custom firmware images. I will say it's pretty powerful stuff...