Error when running sudo `./quectel-CM -s [YOUR APN]`

Hi there,

I’m trying to activate internet on my RPi with Ubuntu 20.04 using QMI (following this tutorial: QMI Interface Internet Connection Setup Using Sixfab Shield/HAT). However, when I reach the last step to activate internet, which requires running sudo ./quectel-CM -s [YOUR APN], I obtain the following errors:

[08-16_15:23:01:152] QConnectManager_Linux_V1.6.1
[08-16_15:23:01:153] Find /sys/bus/usb/devices/1-1.1 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x014
[08-16_15:23:01:154] unknow at interface for USB idProduct:0125

[08-16_15:23:01:154] network interface '' or qmidev '' is not exist
[08-16_15:23:01:154] qmidevice_detect failed
[08-16_15:23:01:154] atdevice_detect failed
[08-16_15:23:01:154] qmidevice_detect failed

I have repeated the steps multiple times, also made sure the HAT cable is disconnected when running the (I’m of course connecting it back after rebooting the Pi, and I also changed the corresponding lines from to enable installation under Ubuntu). I haven’t found anything on the internet related to this, where could the error be?

Additionally, I tried running atcom AT+QCFG=\"usbnet\",0 to set it to 0 (as per the instructions), but after rebooting with atcom AT+CFUN=1,1, usbnet goes back to 1:

ubuntu@raspberry:/opt/qmi_files/quectel-CM$ atcom AT+QCFG=\"usbnet\"
+QCFG: "usbnet",1


Any help would be very appreciated, thanks!

I found the issue. I had installed CORE before… it seems you have to either follow the CORE instructions, or the QMI/PPP instructions, not both.