I am looking for a way to be able to change the operator code via sms.
Some of my routers are having issues on some operators and that way I cannot acces them remotly anymore because they dont have a connection with the internet. They do however can receive sms so if I can change the operator code to one I know that works then I can access the router again.
The manual operator selection can be changed by sending an SMS with the following syntax: [admin_password] uci set simcard.@sim[0].opernum=[MCC+MNC]
Where:
[admin_password] needs to be replaced by the password used to log into the device;
[MCC+MNC] needs to be replaced by the operator code (e.g. 52201)
Keep in mind, that this command will change the operator code for SIM1, if your device utilizes SIM2, use @sim[1] in the command.
The command I attached is intended to be used when manual operator is already chosen, it will simply replace the existing manual operator with the one specified.
Could you attach the SMS command you sent to the device? (with the password hidden)