LogicMachine Forum
reactor not get ip from GSM - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Hardware (https://forum.logicmachine.net/forumdisplay.php?fid=12)
+--- Thread: reactor not get ip from GSM (/showthread.php?tid=5430)

Pages: 1 2


RE: reactor not get ip from GSM - admin - 24.05.2024

Not System log but LM Logs tab. Disable all other scripts and disable 3g/4g connection. Keep only one test script active. Reboot LM just in case.


RE: reactor not get ip from GSM - Zoli - 05.05.2025

Hello!
I have a very similar problem.
It won't connect to the GSM network and I can't send SMS with it. I tried with two different SIM cards but it didn't work either. In the "system log" I get this error message:

Code:
May 5 10:59:16 LogicMachine daemon.notice pppd[1684]: pppd 2.4.9 started by root, uid 0 May 5 10:59:13 LogicMachine daemon.info pppd[1682]: Exit. May 5 10:59:12 LogicMachine daemon.err pppd[1682]: Connect script failed May 5 10:59:11 LogicMachine daemon.notice pppd[1682]: pppd 2.4.9 started by root, uid 0 May 5 10:59:08 LogicMachine daemon.info pppd[1680]: Exit. May 5 10:59:07 LogicMachine daemon.err pppd[1680]: Connect script failed May 5 10:59:05 LogicMachine daemon.notice pppd[1680]: pppd 2.4.9 started by root, uid 0

This is the log I got for the first script you posted earlier:

Code:
* string: AT&F OK +CPIN: SIM PIN ATE1 OK AT+CGDCONT=1,"IP","online" ERROR ATD*99***1# ERROR

And for the second script, this:

Code:
* string: AT&F OK +CPIN: SIM PIN ATE1 OK AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR AT+CSQ +CSQ: 31,99 OK AT+CPIN? +CPIN: SIM PIN OK AT+COPS? ERROR

What could be the problem?

Thank You!


RE: reactor not get ip from GSM - admin - 05.05.2025

Test script won't work if PIN is enabled. Disable PIN protection on the SIM card and run the script again.


RE: reactor not get ip from GSM - Zoli - 05.05.2025

(05.05.2025, 11:15)admin Wrote: Test script won't work if PIN is enabled. Disable PIN protection on the SIM card and run the script again.

Yes, the script works without PIN protection.
The GSM network also started working immediately.
Shouldn't the services work with PIN protection, or did I mess something up?

Code:
* string: AT&F OK +CPIN: READY SMS DONE PB DONE ATE1 OK AT+CSQ +CSQ: 20,99 OK AT+CPIN? +CPIN: READY OK AT+COPS? +COPS: 0,0,"Yettel HU Yettel HU",7 OK

Thank You!


RE: reactor not get ip from GSM - admin - 07.05.2025

PIN issue will be fixed in the next firmware release. For now SIM PIN protection must be disabled.