Network interface '' or qmidev '' is not exist

Hi all,

I am stuck on the QMI configuration when it cannot detect the QMI device. I believe the APN is correct for sixfab, but probably is not today’s problem. How did you fine folks get past this point?

Much obliged.

A

pi@raspberrypi:~/files/quectel-CM $ sudo ./quectel-CM -s super
[01-28_13:49:55:189] Quectel_QConnectManager_Linux_V1.6.0.12
[01-28_13:49:55:191] network interface ‘’ or qmidev ‘’ is not exist
[01-28_13:49:55:191] qmidevice_detect failed
[01-28_13:49:55:191] qmidevice_detect failed

Hi,

The quectel-CM tool only works with Quectel modules. By the way, you need to set up the module for the QMI connection. Use AT#USBCFG=0 to set the USB composition for QMI. You can follow the tutorial here to establish a connection QMI connection with your Telit module: Setting up a data connection over QMI interface using libqmi

Thanks for this, Ensar. I started with a fresh OS install and connected the hat per instructions. I ran lsusb and saw the device, but did not see the GSM modem converter for ttyUSBx messages in the log. Did I miss something from a freshg start?

Thanks again.

A

Can you share the usb-devices command output?

Here we go:

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=05.10
S: Manufacturer=Linux 5.10.92-v7+ dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=3f980000.usb
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 5
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=9514 Rev=02.00
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I: If#=0x0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub

T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=ec00 Rev=02.00
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=smsc95xx

T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1bc7 ProdID=1205 Rev=03.18
S: Manufacturer=Android
S: Product=LE910C4-NF
S: SerialNumber=0123456789ABCDEF
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
I: If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim

T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#= 6 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1a40 ProdID=0101 Rev=01.11
S: Product=USB 2.0 Hub
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=03 Prnt=06 Port=00 Cnt=01 Dev#= 7 Spd=12 MxCh= 7
D: Ver= 1.01 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0b95 ProdID=6804 Rev=00.12
S: Manufacturer=ASIX Electronics
S: Product=AX68004
S: SerialNumber=00000004
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=04 Prnt=07 Port=00 Cnt=01 Dev#= 8 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c534 Rev=29.01
S: Manufacturer=Logitech
S: Product=USB Receiver
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=98mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
I: If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid

Send MBIM_OPEN message to the modem with the following command and wait 3 sec.

echo 01 00 00 00 10 00 00 00 01 00 00 00 00 10 00 00 | xxd -r -p >/dev/cdc-wdm0

Send USB composition with the following command:

echo 03 00 00 00 32 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 54 65 6c 69 74 4d 42 49 4d 45 78 74 65 6e 64 53 01 00 00 00 01 00 00 00 02 00 00 00 00 00 | xxd -r -p >/dev/cdc-wdm0

Note: You might need root permission to do this: sudo su

Thanks again for the help, ensar. I made it almost to the end and got stopped when trying to configure the ip address with the “sudo udhcpc -q -f -i wwan0” command. It keeps repeating the sending discover message for more than a few minutes, even after a reboot.

Here is the output:

pi@RPi-Modem:~ $ sudo qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode
[/dev/cdc-wdm0] Operating mode retrieved:
Mode: ‘online’
HW restricted: ‘no’
pi@RPi-Modem:~ $ sudo qmicli -p -d /dev/cdc-wdm0 --device-open-net=‘net-raw-ip|net-no-qos-header’ --wds-start-network=“apn=‘super’, ip-type=4” --client-no-release-cid
[/dev/cdc-wdm0] Network started
Packet data handle: ‘2266797824’
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘19’
pi@RPi-Modem:~ $ sudo udhcpc -q -f -i wwan0
udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending discover
etc.

Thanks,
Andrew

Did you go through the troubleshooting guide ?

Could you please share the output of the following AT commands:

AT#USBCFG?
AT+CGMR
AT#BND?
AT+CREG?
AT+CPIN?
AT+CGREG?
AT+CGDCONT?
AT+CSQ
AT+CGATT?
AT+GMM
AT+COPS?
AT#SWPKGV
AT#FWSWITCH?

Hi ensar,

Yes, I have, and everything else I could find.

Here is the output. I deleted the repeating OK lines for brevity.

Thanks again.

Andrew

AT#USBCFG?
#USBCFG: 0

AT+CGMR
M0F.660010

AT#BND?
#BND: ,10,80800000000381A

AT+CREG?
+CREG: 0,5

AT+CPIN?
+CPIN: READY

AT+CGREG?
+CGREG: 0,5

AT+CGDCONT?
+CGDCONT: 1,“IPV4V6”,“super”,"",0,0,0,0
+CGDCONT: 2,“IPV4V6”,“ims”,"",0,0,0,0
+CGDCONT: 3,“IPV4V6”,“sos”,"",0,0,0,1
+CGDCONT: 4,“IPV4V6”,“attm2mglobal”,"",0,0,0,0

AT+CSQ
+CSQ: 21,6

AT+CGATT?
+CGATT: 1

AT+GMM
LE910C4-NF

AT+COPS?
+COPS: 0,0,“AT&T”,7

AT#SWPKGV
25.21.660-P0F.661803
M0F.660010
P0F.661803
A0F.660010

AT#FWSWITCH?
#FWSWITCH: 0,0,0

The network is registered, did you try to configure the IP address after that?
By the way, is Sixfab CORE installed on your device?

Hi ensar,

Thank you for the response.

  1. I used sudo udhcpc -q -f -i wwan0 to try to get DHCP to assign an IP but I only get the udhcpc: sending discover message and it never ends. I am not an engineer, so if I should use another method, I am happy to listen.

  2. I am indeed using a CORE SIM.

Thanks again,
Andrew

OK, I suggest you install Sixfab CORE. Sixfab CORE fights with connection loss to prevent incidents and provides highest up-time. You can find more information about the installation at:

Hi ensar,

I have already been using CORE and the Connect website. I’ve been through the configuration process for the SIM and device. The status page shows the SIM and modem identifiers, but the status is still off line. Are we close enough that one could connect remotely?

image

Can you do a clean install again? First, uninstall CORE with the below code:

sudo bash -c "$(curl -sN https://install.connect.sixfab.com)" -- --uninstall

Then unplug the USB cable and run the installation code. The installation code is on your device page.

That did the trick, ensar. Thanks for all your help! My apricot trees may survive the summer with this upgrade.

A

1 Like