QMI Setup Issues

I’ve been attempting to set up the QMI interface on my Raspberry Pi 3 B+ following this guide: https://docs.sixfab.com/docs/qmi-interface-with-cellular-iot-hat.

However, once I run sudo ./quectel-CM -s internet the following occurs:

pi@raspberrypi:~/files/quectel-CM $ sudo ./quectel-CM -s internet
[06-28_01:19:20:945] Quectel_QConnectManager_Linux_V1.5.9
[06-28_01:19:20:946] Find /sys/bus/usb/devices/1-1.1.2 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x006
[06-28_01:19:20:947] Auto find qmichannel = /dev/cdc-wdm0
[06-28_01:19:20:947] Auto find usbnet_adapter = wwan0
[06-28_01:19:20:947] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[06-28_01:19:20:948] Modem works in QMI mode
[06-28_01:19:20:962] cdc_wdm_fd = 7
[06-28_01:19:21:611] Get clientWDS = 19
[06-28_01:19:21:643] Get clientDMS = 1
[06-28_01:19:21:675] Get clientNAS = 3
[06-28_01:19:21:707] Get clientUIM = 1
[06-28_01:19:21:739] Get clientWDA = 1
[06-28_01:19:21:771] requestBaseBandVersion EC25AFAR05A04M4G
[06-28_01:19:21:899] requestGetSIMStatus SIMStatus: SIM_READY
[06-28_01:19:21:899] requestSetProfile[1] internet///0
[06-28_01:19:21:963] requestGetProfile[1] internet///0
[06-28_01:19:21:995] requestRegistrationState2 MCC: 310, MNC: 260, PS: Detached, DataCap: UMTS
[06-28_01:19:22:027] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[06-28_01:19:22:027] ifconfig wwan0 down
[06-28_01:19:22:052] ifconfig wwan0 0.0.0.0

Any idea what I have done wrong? I already tried deleting everything and following the guide again.

Hi @erik.schneider,
Please help to double check the following information:

  1. Whether the SIM card is normal now? Could you use AT command to check whether it can register on network normally?
  2. How about to change another SIM card or module to have a try?
  3. Please double-check the route table(route -n), confirm whether the file /etc/resolv.conf have any issue.

I seem to have solved my issue by using the AT+CGATT=1 command to manually attach to the PS service. I am unsure as to why it was detached by default.

1 Like