- The guide was tested on a systems with the specs listed below, but should be easily adaptable
List of tested devices
Device: fitlet2
CPU: Intel(R) Atom(TM) Processor E3950
BIOS: 05/14/2018 American Megatrends Inc. FLT2.0.40.01.00
OS: Linux Mint 19 Tara
Kernel: 4.15.0-23-generic
Detailed modem information
$ mmcli -m 0
/org/freedesktop/ModemManager1/Modem/0 (device id '58d13e091173f65e74b1b6ad29a0dd14f3e118a3')
-------------------------
Hardware | manufacturer: 'QUALCOMM INCORPORATED'
| model: 'SIMCOM_SIM7100E'
| revision: 'M9615A-CETWTBZM-6.0.15255 1 [May 13 2016 01:00:00]'
| supported: 'gsm-umts
| lte
| gsm-umts, lte'
| current: 'gsm-umts, lte'
| equipment id: '866802020708816'
-------------------------
System | device: '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-8/1-8.2'
| drivers: 'option1, qmi_wwan'
| plugin: 'SimTech'
| primary port: 'cdc-wdm0'
| ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 (qmi), wwp0s21f0u8u2i5 (net), ttyUSB3 (at)'
-------------------------
Numbers | own : 'unknown'
-------------------------
Status | lock: 'sim-pin2'
| unlock retries: 'sim-pin (5), sim-pin2 (5), sim-puk (5), sim-puk2 (5)'
| state: 'registered'
| power state: 'on'
| access tech: 'umts'
| signal quality: '41' (recent)
-------------------------
Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none'
| current: 'allowed: 2g, 3g, 4g; preferred: none'
-------------------------
Bands | supported: 'dcs, egsm, u2100, u1800, u850, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx, eutran-xxxviii, eutran-xl'
| current: 'dcs, egsm, u2100, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx, eutran-xxxviii, eutran-xl'
-------------------------
IP | supported: 'ipv4, ipv6, ipv4v6'
-------------------------
3GPP | imei: '866802020708816'
| enabled locks: 'none'
| operator id: '42503'
| operator name: 'unknown'
| subscription: 'unknown'
| registration: 'home'
-------------------------
SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
-------------------------
Bearers | paths: 'none'
Configure cellular connection
$ sudo nmcli connection edit type gsm con-name "Rami Levi Mobile"
===| nmcli interactive connection editor |===
Adding a new 'gsm' connection
Type 'help' or '?' for available commands.
Type 'describe [<setting>.<prop>]' for detailed property description.
You may edit the following settings: connection, gsm, serial, ppp, ipv4, ipv6, tc, proxy
nmcli>
nmcli> set gsm.apn internet.rl
nmcli> set gsm.username rl@3g
nmcli> set gsm.password rl
- Supporing you're running as root, you'll now be able to save your connection and exit
nmcli> save
Saving the connection with 'autoconnect=yes'. That might result in an immediate activation of the connection.
Do you still want to save? (yes/no) [yes] yes
Connection 'Rami Levi Mobile' (36fbc401-a3c8-4735-a404-fcbbc119943d) successfully saved.
nmcli> quit
- Review your use GSM connection
$ nmcli
cdc-wdm0: connected to Rami Levi Mobile
"cdc-wdm0"
gsm (option1, qmi_wwan), hw, iface wwp0s21f0u8u2i5, mtu 1500
ip4 default
inet4 10.44.64.145/30
route4 0.0.0.0/0
route4 10.44.64.144/30
eno1: unavailable
"Intel I211 Gigabit"
ethernet (igb), 00:01:C0:20:27:6C, hw, mtu 1500
enp1s0: unavailable
"Intel I211 Gigabit"
ethernet (igb), 00:01:C0:20:27:6B, hw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 91.135.102.8 91.135.104.8
interface: wwp0s21f0u8u2i5
- That's all, you are connected