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

**URL:** <https://community.sixfab.com/t/error-installing-3g-4g-base-hat-with-quectel-ec25-mini-pcle/534>\
**Category:** 3G/4G&LTE Base HAT\
**Created:** [July 16, 2020, 4:13am UTC](https://community.sixfab.com/t/error-installing-3g-4g-base-hat-with-quectel-ec25-mini-pcle/534 "2020-07-16T04:13:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason-5578](https://community.sixfab.com/letter_avatar_proxy/v4/letter/j/e95f7d/32.png) [@jason-5578](https://community.sixfab.com/u/jason-5578)\
**Post date:** [July 16, 2020, 4:13am UTC](https://community.sixfab.com/t/error-installing-3g-4g-base-hat-with-quectel-ec25-mini-pcle/534/1 "2020-07-16T04:13:47Z")

</div>

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](http://mdata.net.au/0)  
[07-16\_13:27:27:060] requestGetProfile[1] [mdata.net.au///0](http://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.

---

<div class="post-metadata">

**Author:** ![ensar](https://community.sixfab.com/user_avatar/community.sixfab.com/ensar/32/8_2.png) [@ensar](https://community.sixfab.com/u/ensar)\
**Post date:** [July 16, 2020, 6:26pm UTC](https://community.sixfab.com/t/error-installing-3g-4g-base-hat-with-quectel-ec25-mini-pcle/534/2 "2020-07-16T18:26:08Z")

</div>

Hi @jason-5578,

Please check the APN.

> [@jason-5578](#):
>
> root@raspberrypi:/home/pi/files/quectel-CM# sudo ./quectel-CM -s **[mdata.net.au](http ://mdata.net.au)**

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

---

<div class="post-metadata">

**Author:** ![sixfab-5840](https://community.sixfab.com/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@sixfab-5840](https://community.sixfab.com/u/sixfab-5840)\
**Post date:** [September 1, 2020, 8:12pm UTC](https://community.sixfab.com/t/error-installing-3g-4g-base-hat-with-quectel-ec25-mini-pcle/534/3 "2020-09-01T20:12:20Z")

</div>

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 ?
