Mobile interface
U
SER
G
UIDE
104
set backup checking-ipaddr 88.1.1.1 via icmp through-interface ppp0
set trigger backup up set gprs off
set trigger backup up set gprs secondary-sim
set trigger backup up set gprs backup-apn.xxx.it
set trigger backup up set gprs secondary-login bcklogin password bckpasswd
set trigger backup up set gprs on
set gprs on
The first group of command tells the router to work only with the primary SIM (the one inside the
router). While using:
set backup checking-ipaddr 88.1.1.1 via icmp through-interface ppp0
you activate a probe toward a target IP address. When the address doesn't answer to the ICMP
packets, you must perform the action described by the commands:
set trigger backup up ...
and in particular:
select the second SIM
change the parameters and turn on the new connection
The command
set backup
of the example above is well explained in the next chapters.
SIM
UNLOCK
The activation of mobile session requires that the SIM is devoid of PIN code. When this code is set,
it is possible to deactivate it by using the command:
unlock-sim
This command checks the presence or lack of the PIN code. For example, if the PIN code is not
present, the result of the command is:
root@IMOLA>
unlock-sim
AT+CPIN?
+CPIN: READY
OK
Then, the GPRS module can be activated. If the result is:
root@IMOLA>
unlock-sim
AT+CPIN?
+CPIN: PIN
OK
it is necessary to execute the command specifying the PIN as argument:
root@IMOLA> unlock-sim 1234
It is necessary that the modem is operational so that the command can be effective, otherwise the
command will not give any input. In order to have the modem operational, the command
gprs