Cannot connect to cellular – Connect script failed

Home Forums Conduit: mLinux Model Cannot connect to cellular – Connect script failed

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27033
    Christos Mourouzis
    Participant

    Hello,

    I am trying to configure cellular connection on a Multitech Conduit IP67 Base Station – mLinux version. I have tried two sim cards. I inserted the sim card with sim contacts facing down and its cut corner to be up-left (while facing the sim port) – this is the only way that it clicks anyway.

    I set correctly the APN. When I call pppd call gsm or pppd call leu1 with their default configurations I don’t have a successful connection. Instead I get the following in the log messages (/var/log/messages):

    Jan 7 11:33:21 mtcdt daemon.notice pppd[558]: pppd 2.4.7 started by mtadm, uid 50
    Jan 7 11:33:22 mtcdt local2.info chat[559]: abort on (NO DIAL TONE)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: abort on (NO DIALTONE)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: abort on (NO ANSWER)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: abort on (NO CARRIER)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: abort on (DELAYED)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: abort on (VOICE)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: abort on (BUSY)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: send (AT^M)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: expect (OK)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: AT^M^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: OK
    Jan 7 11:33:22 mtcdt local2.info chat[559]: — got it
    Jan 7 11:33:22 mtcdt local2.info chat[559]: send (ATZ^M)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: expect (OK)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: ^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: ATZ^M^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: OK
    Jan 7 11:33:22 mtcdt local2.info chat[559]: — got it
    Jan 7 11:33:22 mtcdt local2.info chat[559]: send (AT+CSQ^M)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: expect (OK)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: ^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: AT+CSQ^M^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: +CSQ: 23,99^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: ^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: OK
    Jan 7 11:33:22 mtcdt local2.info chat[559]: — got it
    Jan 7 11:33:22 mtcdt local2.info chat[559]: send (AT+CGDCONT=1,”IP”,”cytamobile”^M)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: expect (OK)
    Jan 7 11:33:22 mtcdt local2.info chat[559]: ^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: AT+CGDCONT=1,”IP”,”cytamobile”^M^M
    Jan 7 11:33:22 mtcdt local2.info chat[559]: ERROR^M
    Jan 7 11:34:52 mtcdt local2.info chat[559]: alarm
    Jan 7 11:34:52 mtcdt local2.info chat[559]: Failed
    Jan 7 11:34:52 mtcdt daemon.err pppd[558]: Connect script failed
    Jan 7 11:34:53 mtcdt daemon.info pppd[558]: Exit.

    Am I missing something? The sim card for the aforementioned example does not require authentication.

    Also, I would like some instructions on how to configure PAP Authentication for another sim card that I have because I can’t find any information in the datasheet or the website.

    Thank you very much!

    #27035
    Jeff Hatch
    Keymaster

    Hello Christos,

    For help with this you could open a support portal case at https://support.multitech.com. They can provide better support than the forums.

    Jeff

    #27036
    Christos Mourouzis
    Participant

    Hello Jeff,

    Thanks for the reply. I opened a case on the multitech support as you suggested. I managed to have some progress on my issue. Maybe someone could help with the following:

    I changed the location of the gateway and I managed to get connected to the APN but I have a modem hangup (SIGHUP).

    I need the instructions for authenticating my sim card (Simfony) because it requires a username and a password.

    In the log file I get:

    Jan 7 17:04:10 mtcdt daemon.notice pppd[693]: pppd 2.4.7 started by mtadm, uid 50
    Jan 7 17:04:11 mtcdt local2.info chat[694]: abort on (NO DIAL TONE)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: abort on (NO DIALTONE)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: abort on (NO ANSWER)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: abort on (NO CARRIER)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: abort on (DELAYED)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: abort on (VOICE)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: abort on (BUSY)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: send (AT^M)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: expect (OK)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: AT^M^M
    Jan 7 17:04:11 mtcdt local2.info chat[694]: OK
    Jan 7 17:04:11 mtcdt local2.info chat[694]: — got it
    Jan 7 17:04:11 mtcdt local2.info chat[694]: send (ATZ^M)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: expect (OK)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: ^M
    Jan 7 17:04:11 mtcdt local2.info chat[694]: ATZ^M^M
    Jan 7 17:04:11 mtcdt local2.info chat[694]: OK
    Jan 7 17:04:11 mtcdt local2.info chat[694]: — got it
    Jan 7 17:04:11 mtcdt local2.info chat[694]: send (AT+CSQ^M)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: expect (OK)
    Jan 7 17:04:11 mtcdt local2.info chat[694]: ^M
    Jan 7 17:04:11 mtcdt local2.info chat[694]: AT+CSQ^M^M
    Jan 7 17:04:11 mtcdt local2.info chat[694]: +CSQ: 21,99^M
    Jan 7 17:04:11 mtcdt local2.info chat[694]: ^M
    Jan 7 17:04:11 mtcdt local2.info chat[694]: OK
    Jan 7 17:04:11 mtcdt local2.info chat[694]: — got it
    Jan 7 17:04:11 mtcdt local2.info chat[694]: send (AT+CGDCONT=1,”IP”,”direct.simfony.net”^M)
    Jan 7 17:04:12 mtcdt local2.info chat[694]: expect (OK)
    Jan 7 17:04:12 mtcdt local2.info chat[694]: ^M
    Jan 7 17:04:12 mtcdt local2.info chat[694]: AT+CGDCONT=1,”IP”,”direct.simfony.net”^M^M
    Jan 7 17:04:12 mtcdt local2.info chat[694]: OK
    Jan 7 17:04:12 mtcdt local2.info chat[694]: — got it
    Jan 7 17:04:12 mtcdt local2.info chat[694]: send (ATD*99***1#^M)
    Jan 7 17:04:12 mtcdt local2.info chat[694]: timeout set to 120 seconds
    Jan 7 17:04:12 mtcdt local2.info chat[694]: expect (CONNECT)
    Jan 7 17:04:12 mtcdt local2.info chat[694]: ^M
    Jan 7 17:04:12 mtcdt local2.info chat[694]: ATD*99***1#^M^M
    Jan 7 17:04:12 mtcdt local2.info chat[694]: CONNECT
    Jan 7 17:04:12 mtcdt local2.info chat[694]: — got it
    Jan 7 17:04:12 mtcdt local2.info chat[694]: send (^M)
    Jan 7 17:04:12 mtcdt daemon.debug pppd[693]: Script /usr/sbin/chat -v -t 90 -f /etc/ppp/peers/gsm_chat finished (pid 694), status = 0x0
    Jan 7 17:04:12 mtcdt daemon.info pppd[693]: Serial connection established.
    Jan 7 17:04:12 mtcdt daemon.debug pppd[693]: using channel 14
    Jan 7 17:04:12 mtcdt daemon.info pppd[693]: Using interface ppp0
    Jan 7 17:04:12 mtcdt daemon.notice pppd[693]: Connect: ppp0 <–> /dev/modem_at0
    Jan 7 17:04:13 mtcdt daemon.warn pppd[693]: Warning – secret file /etc/ppp/pap-secrets has world and/or group access
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4d9009a5> <pcomp> <accomp>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: rcvd [LCP ConfReq id=0xed <asyncmap 0x0> <auth chap MD5> <magic 0x455a8b88> <pcomp> <accomp>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: sent [LCP ConfNak id=0xed <auth pap>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4d9009a5> <pcomp> <accomp>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: rcvd [LCP ConfReq id=0xee <asyncmap 0x0> <auth pap> <magic 0x455a8b88> <pcomp> <accomp>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: sent [LCP ConfAck id=0xee <asyncmap 0x0> <auth pap> <magic 0x455a8b88> <pcomp> <accomp>]
    Jan 7 17:04:13 mtcdt daemon.warn pppd[693]: Warning – secret file /etc/ppp/pap-secrets has world and/or group access
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: sent [PAP AuthReq id=0x1 user=”mtcdt” password=<hidden>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: rcvd [LCP DiscReq id=0xef magic=0x455a8b88]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: rcvd [PAP AuthAck id=0x1 “”]
    Jan 7 17:04:13 mtcdt daemon.notice pppd[693]: PAP authentication succeeded
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: rcvd [LCP ProtRej id=0xf0 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
    Jan 7 17:04:13 mtcdt daemon.debug pppd[693]: Protocol-Reject for ‘Compression Control Protocol’ (0x80fd) received
    Jan 7 17:04:15 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:15 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:16 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:16 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:17 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:17 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:18 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:18 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:20 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x5 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:20 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x6 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:21 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x6 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:21 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x7 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:22 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x7 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:22 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x8 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:24 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x8 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:24 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0x9 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:25 mtcdt daemon.debug pppd[693]: rcvd [IPCP ConfNak id=0x9 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:25 mtcdt daemon.debug pppd[693]: sent [IPCP ConfReq id=0xa <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    Jan 7 17:04:25 mtcdt daemon.info pppd[693]: Hangup (SIGHUP)
    Jan 7 17:04:25 mtcdt daemon.notice pppd[693]: Modem hangup
    Jan 7 17:04:25 mtcdt daemon.notice pppd[693]: Connection terminated.
    Jan 7 17:04:26 mtcdt daemon.info pppd[693]: Exit.

    Even if edit /etc/ppp/pap-secrets or /etc/ppp/chap-secrets file with the correct username and password I can’t manage to get a successful connection.

    Can someone please provide me the instructions for having a ppp connection with authentication?

    Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.