Setting up a Cellular Connection¶
Prerequisites¶
Network configuration from your operator (APN, SIM PIN, credentials).
Administrative privileges on the gateway.
Console access to the gateway (monitor/keyboard/mouse, SSH, or serial).
Connected cellular antennas.
Steps¶
Log in as root:
$ sudo su
Identify the modem interface (e.g.,
cdc-wdm0
for RM500Q):$ mmcli -L /org/freedesktop/ModemManager1/Modem/0 [Quectel] RM500Q-GL
Create a NetworkManager connection (replace
my_cell_conn
andcdc-wdm0
as needed):$ nmcli con add type gsm con-name my_cell_conn ifname cdc-wdm0
Configure APN (if required):
$ nmcli con modify my_cell_conn gsm.apn xxxx
Configure SIM PIN (if required):
$ nmcli con modify my_cell_conn gsm.pin xxxx
Configure username (if required):
$ nmcli con modify my_cell_conn gsm.username xxxx
Configure password (if required):
$ nmcli con modify my_cell_conn gsm.password xxxx
Set route metric (optional):
$ nmcli con modify my_cell_conn ipv4.route-metric 1
Enable NetworkManager and ModemManager on boot:
$ systemctl enable NetworkManager && systemctl enable ModemManager
Reboot:
$ reboot
Verify the connection:
$ nmcli dev status
Troubleshooting¶
If connectivity issues persist despite correct APN and SIM PIN:
Log in as root:
$ sudo su
Stop NetworkManager and ModemManager:
$ systemctl stop NetworkManager && systemctl stop ModemManager
Identify the modem interface (e.g.,
wwan0
for RM500Q):$ mmcli -L /org/freedesktop/ModemManager1/Modem/0 [Quectel] RM500Q-GL
Obtain and prepare the
ivecm
tool (contact us for details):$ cd ~ && chmod +x ivecm
Attempt connection using
ivecm
(replace placeholders):$ ./ivecm -s <apn> -p <simpin> -i wwan0
If successful, configure with
nmcli
and reboot:$ reboot
Verify connection:
$ nmcli dev status
Check modem status (replace identifier):
$ mmcli -m 0
If issues persist, try upgrading the modem firmware or contact us.
Advanced¶
To connect without rebooting
$ nmcli dev connect cdc-wdm0
For advanced NetworkManager usage, see the Arch Linux and Debian documentation.
For detailed modem operations, use ModemManager
Find the modem identifier
$ mmcli ls
Request modem information
$ mmcli -m 0
Use mmcli --help
for more details. qmicli
is available for low-level QMI communication. Stop ModemManager (systemctl stop ModemManager
) before using qmicli
.
For AT command communication:
Find the modem identifier (see above).
Request modem information (see above).
(Optional) Disable ModemManager temporarily (
systemctl disable ModemManager
) and reboot. Re-enable later (systemctl enable ModemManager && systemctl start ModemManager
).Establish a serial connection (replace
/dev/ttyX
)
$ picocom -b 115200 /dev/ttyX