[armadillo ~]# systemctl stop connection-recover.service
Figure 5.27. Stopping the 3G Reconnection Service
To start the 3G reconnection script, run the following command.
[armadillo ~]# systemctl start connection-recover.service
Figure 5.28. Starting the 3G Reconnection Service
5.2.6.6. ModemManager
ModemMamager and mmcli are explained here.
Apart from NetworkManager which manages the network, ModemManager which manages the modem is installed on
Armadillo-IoT. ModemManager operates mobile broadband devices (such as 3G modules) and manages their connection
status.
By using the
mmcli
command line tool of ModemManager, it is possible to acquire the 3G communication signal strength
and SIM card information (telephone number, IMEI etc). Please refer to
man mmcli
for usage details of mmcli.
5.2.6.6.1. Obtaining a List of Recognized Modems
To obtain a list of recognized modems, run the following command.
[armadillo ~]# mmcli -L
Found 1 modems:
/org/freedesktop/ModemManager1/Modem/0 [Cinterion] PDS6
Figure 5.29. Obtaining a List of Recognized Modems
5.2.6.6.2. Obtaining Modem Information
To obtain the status of the modem, run the following command.
Armadillo-IoT Gateway G3Product Manual - INTL
Operational Checks
63