Qmicli problems with EC25AU

Hello all.

I’m trying to configure my EC25AU to use qmi_wwan0 and I’m having some problems.
dmesg log
sduser@wtorre-1:~$ sudo dmesg | grep wwan
[ 8.322903] qmi_wwan 1-4:1.4: cdc-wdm0: USB WDM device
[ 8.355443] qmi_wwan 1-4:1.4 wwan0: register ‘qmi_wwan’ at usb-0000:00:14.0-4, WWAN/QMI device, e2:82:6f:80:4d:1f
[ 8.355516] usbcore: registered new interface driver qmi_wwan

sudo qmi-network /dev/cdc-wdm0 start
Loading profile at /etc/qmi-network.conf…
APN: xxx.com.br
APN user: xxx
APN password: xxx
qmi-proxy: yes
IP_TYPE: 4
PROFILE: auto
Checking data format with ‘qmicli -d /dev/cdc-wdm0 --wda-get-data-format --device-open-proxy’…
error: couldn’t open the QmiDevice: Transaction timed out
Device link layer protocol not retrieved: WDA unsupported
Creating profile with ‘qmicli -d /dev/cdc-wdm0 --wds-create-profile=3gpp,apn=‘claro.com.br’,pdp-type=‘IP’,username=‘claro’,password=‘claro’ --client-no-release-cid --device-open-proxy’…
error: couldn’t open the QmiDevice: Transaction timed out
Profile ID creation failed

Hi @rssilva3103
Can you use the qmi_wwan_q tool to dial the number? I sent it to you via chatbox.

Please try the linux ppp script.
And show me the pppd log.

#!/bin/sh

#quectel-pppd devname apn user password
echo "quectel-pppd options in effect:"
QL_DEVNAME=/dev/ttyUSB3
QL_APN=3gnet
QL_USER=user
QL_PASSWORD=passwd
QL_PDP=1
QL_IP=IP #IP, IPV4, IPV6, IPV4V6
if [ $# -ge 1 ]; then
	QL_DEVNAME=$1	
	echo "devname   $QL_DEVNAME    # (from command line)"
else
	echo "devname   $QL_DEVNAME    # (default)"
fi
if [ $# -ge 2 ]; then
	QL_APN=$2	
	echo "apn       $QL_APN    # (from command line)"
else
	echo "apn       $QL_APN    # (default)"
fi
if [ $# -ge 3 ]; then
	QL_USER=$3	
	echo "user      $QL_USER   # (from command line)"
else
	echo "user      $QL_USER   # (default)"
fi
if [ $# -ge 4 ]; then
	QL_PASSWORD=$4	
	echo "password  $QL_PASSWORD   # (from command line)"
else
	echo "password  $QL_PASSWORD   # (default)"
fi

CONNECT="'chat -s -v ABORT BUSY ABORT \"NO CARRIER\" ABORT \"NO DIALTONE\" ABORT ERROR ABORT \"NO ANSWER\" TIMEOUT 30 \
\"\" AT OK ATE0 OK ATI\;+CSUB\;+CSQ\;+CPIN?\;+COPS?\;+CGREG?\;\&D2 \
OK AT+CGDCONT=$QL_PDP,\\\"$QL_IP\\\",\\\"$QL_APN\\\",,0,0 OK ATD*99***$QL_PDP# CONNECT'"

OPTIONS="noauth debug defaultroute noipdefault novj novjccomp noccp ipcp-accept-local ipcp-accept-remote ipcp-max-configure 30 local lock modem dump nodetach nocrtscts usepeerdns"

if [ "$QL_IP" == "IPV6" ]; then
OPTIONS="$OPTIONS noip +ipv6"
fi
if [ "$QL_IP" == "IPV4V6" ]; then
OPTIONS="$OPTIONS +ipv6"
fi

pppd $QL_DEVNAME 115200 user "$QL_USER" password "$QL_PASSWORD" \
connect "'$CONNECT'" \
disconnect 'chat -s -v ABORT ERROR ABORT "NO DIALTONE" SAY "\nSending break to the modem\n" "" +++ "" +++ "" +++ SAY "\nGood bay\n"' \
$OPTIONS &