We have a fleet of X3000's that we're about to push some new custom firmware to. As a part of this we are not keeping the existing config on the devices as it deviates too much from existing config.
Is it possible to run the cellular 'auto setup' (which is currently run from the button in the web admin) from the command line? If so, we'd run it from a run-once init script on the custom firmware.
Yes, you can run it from the command line. From the browser dev tools, intercept the http request when you click that button. Once intercepted you can convert it into curl command and execute it from the shell.
timing_enable --Periodically check whether the sim card is the preferred slot 0==off 1==on
enable -- Whether enables dual SIM card failover, that is, the backup card is automatically switched when the network of the main card is unavailable
failover_interval=300 --The failover interval time (Unit: Seconds), which is required when SIM failover is enabled
main_sim --The main SIM slot, which is required when SIM failover is enabled