Christos Mourouzis

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Cannot connect to cellular – Connect script failed #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!

    in reply to: Cellular is not used but has traffic #26923
    Christos Mourouzis
    Participant

    Thanks to both for your answers. I also tried your suggestions. Now I have, cellular and “dial-on-demand” enabled. In WAN settings, ethernet is in Active Failover Monitoring mode for every 60s-ICMP with priority equal to 1 and cellular is in Passive Failover Monitoring mode with priority equal to 2. The gateway is connected to ethernet for sure and has a valid SIM card installed.

    The problem is that when I save and restart the cellular connection is started first and then switches to ethernet. Then instead of closing the cellular connection, the gateway has both enabled and running the ethernet and cellular connections (WAN Transport=Ethernet and PPP link is up).

    If i “ifconfig eth0” and “ifconfig ppp0” in the terminal (ssh to gateway) I can see much bigger traffic in ethernet but cellular still has increasing traffic (RX and TX packets).

    I can’t understand why the cellular connection starts first. If ethernet started then I guess, cellular would be down due to the “dial-on-command”.

    Do you have any more suggestions to do or try?

    Best,

    Christos

Viewing 2 posts - 1 through 2 (of 2 total)