Difference between revisions of "Transclusion: IOT-GATE-iMX8: Cellular Modem"

From Compulab Mediawiki
Jump to: navigation, search
imported>Uri.mashiach
(ModemManager)
 
Line 8: Line 8:
 
<pre>
 
<pre>
 
root@iot-gate-imx8:~# nmcli connection add type gsm ifname '*' con-name CellularCon apn ISP-APN
 
root@iot-gate-imx8:~# nmcli connection add type gsm ifname '*' con-name CellularCon apn ISP-APN
 +
</pre>
 +
* Connect to the cellular network.
 +
<pre>
 +
root@iot-gate-imx8:~# nmcli connection up CellularCon
 +
</pre>
 +
* Disconnect from the cellular network.
 +
<pre>
 +
root@iot-gate-imx8:~# nmcli connection down CellularCon
 
</pre>
 
</pre>

Latest revision as of 15:31, 31 January 2023

The IOT-GATE-iMX8 / SBC-IOT-iMX8 features an optional cellular modem implemented with a mini-PCIe module. On-board micro-SIM card socket is available.

ModemManager

The ModemManager can be used to log into almost any Internet Service Provider with simple configuration setup.

In the following example:

  • Replace ISP-APN with the APN name of the cellular provider.
root@iot-gate-imx8:~# nmcli connection add type gsm ifname '*' con-name CellularCon apn ISP-APN
  • Connect to the cellular network.
root@iot-gate-imx8:~# nmcli connection up CellularCon
  • Disconnect from the cellular network.
root@iot-gate-imx8:~# nmcli connection down CellularCon