I've build my config template based on the exported UCI commands. All is working fine, but I'm running into an issue while adding a SNMPv3 user and create a recipient phonebook. I've extracted these commands from the "uci show <user_groups/snmpd>" command.
When I run these on a factory default Rutx09, it doesn't work. I think I somehow need to add first before I can run the set commands, but I can't figure it out.
uci set snmpd.@user[0]=user
uci set snmpd.@user[0].username='MyUser'
uci: Invalid argument
Same for the phonebook recipient:
uci set user_groups.@phone[0]=phone
uci set user_groups.@phone[0].name='MyBook'
uci: Invalid argument
Anyone can help me find the right syntax? I've tried the "add" variation, but didn't work either.
Thanks!