Hello,
The commands you are using may be incorrect.
These are dependent on the device and firmware used. You can read more about uci usage here. Is there any reason why you want to set this via CLI, instead of using WebUI interface, as, in case you are writing some script, it would be useful to have one device configured via web interface first, and see the options that appear in the CLI configuration.
Also, which firmware are you using, as luci-reload is not used since 7.0 and above versions. Instead, services are reloaded by entering /etc/init.d/<service_name> restart. In operctl case, simply uci commit should be sufficient.
I have tested your scenario and the following commands worked on RUT955 with RUT9_R_00.07.02.3 firmware:
- uci add operctl operlist
- uci set operctl.@operlist[0].name='Orange'
- uci set operctl.@operlist[0].mcc_mnc='20801'
- uci set simcard.@sim[0].opermode='blacklist'
- uci set simcard.@sim[0].operlist_name='Orange'
- uci set simcard.@sim[0].operlist='1'
- uci commit
- /etc/init.d/simcard restart
Regarding the provider of the SIM card that is currently inserted in your device, your SIM card provider will not be blocked even if blacklisted by default.
Best regards,
Žygimantas