How do I configure/use the 4G module

I’ve received and assembled my uconsole with RPI compute module 4 and 4G module. How do I configure/use it?

1 Like
2 Likes

uconsole-4g-cm4 enable didn’t work for me :frowning:
When I try to do mmcli -L, I get no modems found…

Okay so after a while it shows the modem but there is an error with the service & the AT command thing does still not work.

Apr 02 01:19:04 raspberrypi ModemManager[2619]: <info>  [base-manager] couldn't check support for device '/sys/devices/platform/scb/fd580000.ethernet': not supported by any plugin
Apr 02 01:19:04 raspberrypi ModemManager[2619]: <info>  [base-manager] couldn't check support for device '/sys/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1': not supported by any plugin
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <warn>  [modem0] couldn't load supported charsets: Unknown error
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <warn>  [modem0] couldn't load supported modes: Couldn't retrieve supported modes
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <warn>  [modem0] couldn't load supported IP families: Unknown error
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <info>  [modem0] state changed (unknown -> locked)
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <warn>  [modem0/sim0] couldn't load IMSI: Unknown error
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <warn>  [modem0/sim0] couldn't load operator identifier: Cannot load Operator ID without IMSI
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <warn>  [modem0/sim0] couldn't load operator name: Failed to parse CRSM query result '+CRSM: 105,130,""'
Apr 02 01:19:05 raspberrypi ModemManager[2619]: <warn>  [modem0] couldn't load list of own numbers: Failed to parse NV MDN command result: -17

Here’s the otput of mmcli:

dave@raspberrypi:~ $ mmcli -L
    /org/freedesktop/ModemManager1/Modem/0 [SIMCOM INCORPORATED] SIMCOM_SIM7600G-H

I should note that I’m not sure the SIM card is active (got 2 with my contract, maybe need to somehow activate the second one first), but the AT commands with the modem should still work, regardless, right?

I just realized: my SIM card is PIN-locked. Could that be the issue? How do I enter my PIN? :smiley:

The setting if the PIN is required, is in the SIM itself. Put it in some barbones/burner cellphone that is reset (so you won’t leave your numbers etc. in there) and go to the respective SIM settings. You should be also seeing some settings regarding the pin. Most likely you will have a switch to disable the sim-pin request. This setting will be written into the SIM itself and from here on out won’t be bothering you until you enable it in the described fashion.

So I was able to enter the PIN, I believe using this command:
sudo mmcli -i 0 --pin=1234

I’ll check my terminal history later and edit if needed.

1 Like