I am using an EC-25AU module to with a 3G/4G/LTE Base HAT.
So far I was able to connetc to the LTE data service using the quectel-CM script and the wwan0 interface was able to get an IP address.
But recently I am unable to connect using the script and it is showing below error while connecting.
QmiThreadSendQMITimeout pthread_cond_timeout_np=110, errno: 22 (Invalid argument)
Any idea what might be the issue? I already restarted the Pi and the modem but the same issue observed.
I tried switching from LTE to 3G and vise versa but getting a similar results.
Hi,
Thanks a lot for your response. As you suggested I tried to update the CM tool but looks like there is some issue with the permissions.
according to the below instructions:
step 12. gives me permission denied. so I had to be root to run ./quectel-CM.
previously I was able to browse files/quectel-CM using sudo only.
Please note I tried this same steps with a freshly installed Raspbian SD card as well.
pi@raspberrypi4:~ $ cd files/quectel-CM
-bash: cd: files/quectel-CM: Permission denied
Then when I tried to configure Auto Connect on reboot steps and installed sudo ./install_auto_connect.sh the service is not running though I provided the APN correctly.
pi@raspberrypi4:~ $ sudo systemctl status qmi_reconnect.service
● qmi_reconnect.service - QMI Auto Connection
Loaded: loaded (/etc/systemd/system/qmi_reconnect.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-07-06 13:57:24 AEST; 36s ago
Process: 1491 ExecStart=/bin/sh /usr/src/qmi_reconnect.sh (code=exited, status=200/CHDIR)
Main PID: 1491 (code=exited, status=200/CHDIR)
Jul 06 13:57:24 raspberrypi4 systemd[1]: qmi_reconnect.service: Service RestartSec=100ms expired, scheduling restart.
Jul 06 13:57:24 raspberrypi4 systemd[1]: qmi_reconnect.service: Scheduled restart job, restart counter is at 6.
Jul 06 13:57:24 raspberrypi4 systemd[1]: Stopped QMI Auto Connection.
Jul 06 13:57:24 raspberrypi4 systemd[1]: qmi_reconnect.service: Start request repeated too quickly.
Jul 06 13:57:24 raspberrypi4 systemd[1]: qmi_reconnect.service: Failed with result ‘exit-code’.
Jul 06 13:57:24 raspberrypi4 systemd[1]: Failed to start QMI Auto Connection.
pi@raspberrypi4:~ $
Hi,
I tried to change the permission of the quectel-CM folder into read & execute for group & public.
it shows that quectel-CM permission was set to rwx------
then I changed it to “sudo chmod 755 quectel-CM”
then I am able to so cd files/quectel-CM and execute the script.