Error installing 3G/4G base hat with Quectel EC25 Mini PCle

I am having some difficulty installing on a Pi 4. I get all the way through the installation stepps to the point of the quectel-CM -s apn command and I get error below. I have also tried with username password auth -p pin but no luck. anyone got any ideas?

root@raspberrypi:/home/pi/files/quectel-CM# sudo ./quectel-CM -s [mdata.net.au](http ://mdata.net.au)
[07-16_13:27:24:642] Quectel_QConnectManager_Linux_V1.5.9
[07-16_13:27:24:644] Find /sys/bus/usb/devices/1-1.4 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x008
[07-16_13:27:24:645] Auto find qmichannel = /dev/cdc-wdm0
[07-16_13:27:24:645] Auto find usbnet_adapter = wwan0
[07-16_13:27:24:645] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[07-16_13:27:24:645] Modem works in QMI mode
[07-16_13:27:24:666] /proc/1092/fd/7 -> /dev/cdc-wdm0
[07-16_13:27:24:667] /proc/1092/exe -> /usr/lib/libqmi/qmi-proxy
[07-16_13:27:26:670] cdc_wdm_fd = 7
[07-16_13:27:26:772] Get clientWDS = 20
[07-16_13:27:26:804] Get clientDMS = 2
[07-16_13:27:26:836] Get clientNAS = 4
[07-16_13:27:26:868] Get clientUIM = 1
[07-16_13:27:26:900] Get clientWDA = 1
[07-16_13:27:26:937] requestBaseBandVersion EC25AUFAR06A03M4G
[07-16_13:27:26:964] requestSetEthMode QMUXResult = 0x1, QMUXError = 0x46
[07-16_13:27:26:996] requestGetSIMStatus SIMStatus: SIM_READY
[07-16_13:27:26:996] requestSetProfile[1] mdata.net.au///0
[07-16_13:27:27:060] requestGetProfile[1] mdata.net.au///0
[07-16_13:27:27:092] requestRegistrationState2 MCC: 505, MNC: 1, PS: Attached, DataCap: LTE
[07-16_13:27:27:123] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-16_13:27:27:123] ifconfig wwan0 down
[07-16_13:27:27:134] ifconfig wwan0 0.0.0.0
[07-16_13:27:27:413] requestSetupDataCall WdsConnectionIPv4Handle: 0x871cf330
[07-16_13:27:27:541] ifconfig wwan0 up
[07-16_13:27:27:550] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending select for 10.124.200.212
udhcpc: lease of 10.124.200.212 obtained, lease time 7200
Too few arguments.
Too few arguments.

Hi @jason-5578,

Please check the APN.

Would you try “mdata.net.au” instead?

I have the same difficulties too on Pi 4.

My system version :
*PRETTY_NAME=“Raspbian GNU/Linux 10 (buster)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian

When I run quectel-CM, sometimes the modem gets an IP address, but most of the time it doesn’t :

/usr/src/files/quectel-CM/quectel-CM -s orange -4
[09-01_21:54:20:086] Quectel_QConnectManager_Linux_V1.6.0.12
[09-01_21:54:20:089] Find /sys/bus/usb/devices/1-1.4 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x003
[09-01_21:54:20:090] Auto find qmichannel = /dev/cdc-wdm0
[09-01_21:54:20:090] Auto find usbnet_adapter = wwan0
[09-01_21:54:20:090] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[09-01_21:54:20:091] ioctl(0x89f3, qmap_settings) failed: Operation not supported, rc=-1
[09-01_21:54:20:092] Modem works in QMI mode
[09-01_21:54:20:105] /proc/8075/fd/7 -> /dev/cdc-wdm0
[09-01_21:54:20:105] /proc/8075/exe -> /usr/src/files/quectel-CM/quectel-CM
[09-01_21:54:22:107] cdc_wdm_fd = 7
[09-01_21:54:22:204] Get clientWDS = 20
[09-01_21:54:22:236] Get clientDMS = 1
[09-01_21:54:22:269] Get clientNAS = 4
[09-01_21:54:22:302] Get clientUIM = 1
[09-01_21:54:22:334] Get clientWDA = 1
[09-01_21:54:22:366] requestBaseBandVersion EC25EFAR06A04M4G
[09-01_21:54:22:493] requestGetSIMStatus SIMStatus: SIM_READY
[09-01_21:54:22:493] requestSetProfile[1] orange///0
[09-01_21:54:22:557] requestGetProfile[1] orange///0
[09-01_21:54:22:590] requestRegistrationState2 MCC: 208, MNC: 1, PS: Attached, DataCap: LTE
[09-01_21:54:22:621] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[09-01_21:54:22:621] ifconfig wwan0 down
[09-01_21:54:22:635] ifconfig wwan0 0.0.0.0
[09-01_21:54:22:685] requestSetupDataCall WdsConnectionIPv4Handle: 0x871de190
[09-01_21:54:22:813] ifconfig wwan0 up
[09-01_21:54:22:823] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing

Same problem with SFR and an other PI 4, an other LTE base Hat, an other EC25E Mini PCIe module, and an other SD card with an other installation of Raspbian :

/home/pi/files/quectel-CM# sudo ./quectel-CM -s websfr
[09-01_22:08:02:264] Quectel_QConnectManager_Linux_V1.6.0.12
[09-01_22:08:02:266] Find /sys/bus/usb/devices/1-1.4 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x004
[09-01_22:08:02:266] Auto find qmichannel = /dev/cdc-wdm0
[09-01_22:08:02:266] Auto find usbnet_adapter = wwan0
[09-01_22:08:02:266] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[09-01_22:08:02:267] ioctl(0x89f3, qmap_settings) failed: Operation not supported, rc=-1
[09-01_22:08:02:267] Modem works in QMI mode
[09-01_22:08:02:274] /proc/554/fd/7 -> /dev/cdc-wdm0
[09-01_22:08:02:275] /proc/554/exe -> /home/pi/files/quectel-CM/quectel-CM
[09-01_22:08:04:277] cdc_wdm_fd = 7
[09-01_22:08:04:375] Get clientWDS = 20
[09-01_22:08:04:408] Get clientDMS = 1
[09-01_22:08:04:440] Get clientNAS = 4
[09-01_22:08:04:471] Get clientUIM = 1
[09-01_22:08:04:503] Get clientWDA = 1
[09-01_22:08:04:535] requestBaseBandVersion EC25EFAR06A04M4G
[09-01_22:08:04:663] requestGetSIMStatus SIMStatus: SIM_READY
[09-01_22:08:04:663] requestSetProfile[1] websfr///0
[09-01_22:08:04:727] requestGetProfile[1] websfr///0
[09-01_22:08:04:759] requestRegistrationState2 MCC: 208, MNC: 10, PS: Attached, DataCap: LTE
[09-01_22:08:04:791] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[09-01_22:08:04:791] ifconfig wwan0 down
[09-01_22:08:04:810] ifconfig wwan0 0.0.0.0
[09-01_22:08:04:855] requestSetupDataCall WdsConnectionIPv4Handle: 0x871ce570
[09-01_22:08:04:984] ifconfig wwan0 up
[09-01_22:08:04:991] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
[09-01_22:08:20:693] requestDeactivateDefaultPDP WdsConnectionIPv4Handle
[09-01_22:08:20:728] ifconfig wwan0 down
[09-01_22:08:20:740] ifconfig wwan0 0.0.0.0
[09-01_22:08:20:920] QmiWwanThread exit
[09-01_22:08:20:921] qmi_main exit

An idea ?

1 Like