3G connection error on my Linux colibri-imx7 4.1.15

Hi,

I’m using the tutorial below to use the 3G on my Linux colibri-imx7 4.1.15.

The connection is always terminated with the message “Hangup (SIGHUP)” :

root@colibri-imx7:~# pon vivo-3g.provider
root@colibri-imx7:~# tail -f /var/volatile/log/messages
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [IPCP ConfReq id=0x1]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
Sep 29 23:45:06 colibri-imx7 daemon.info pppd[758]: Hangup (SIGHUP)
Sep 29 23:45:06 colibri-imx7 daemon.notice pppd[758]: Modem hangup
Sep 29 23:45:06 colibri-imx7 daemon.notice pppd[758]: Connection terminated.
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: ppp0 {dellink} index 4 operstate 2 <DOWN>
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: (null) {RX} 1 packets 4 bytes
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: (null) {TX} 3 packets 53 bytes
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: (null) {remove} index 4
^C
root@colibri-imx7:~# cat /var/volatile/log/messages
Sep 29 23:44:45 colibri-imx7 syslog.info syslogd started: BusyBox v1.23.2
Sep 29 23:44:58 colibri-imx7 daemon.notice pppd[758]: pppd 2.4.7 started by root, uid 0
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: abort on (BUSY)
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: abort on (NO CARRIER)
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: abort on (ERROR)
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: send (ATZ^M)
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: expect (OK)
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: ^M
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: OK
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]:  -- got it
Sep 29 23:44:59 colibri-imx7 local2.info chat[759]: send (\d\dAT+CGDCONT=1,"IP","zap.vivo.com.br"^M)
Sep 29 23:45:02 colibri-imx7 local2.info chat[759]: expect (OK)
Sep 29 23:45:02 colibri-imx7 local2.info chat[759]: ^M
Sep 29 23:45:02 colibri-imx7 local2.info chat[759]: OK
Sep 29 23:45:02 colibri-imx7 local2.info chat[759]:  -- got it
Sep 29 23:45:02 colibri-imx7 local2.info chat[759]: send (\d\d\dATDT*99#^M)
Sep 29 23:45:05 colibri-imx7 local2.info chat[759]: expect (CONNECT)
Sep 29 23:45:05 colibri-imx7 local2.info chat[759]: ^M
Sep 29 23:45:05 colibri-imx7 local2.info chat[759]: CONNECT
Sep 29 23:45:05 colibri-imx7 local2.info chat[759]:  -- got it
Sep 29 23:45:05 colibri-imx7 daemon.debug pppd[758]: Script chat -v -f /etc/ppp/chat/vivo finished (pid 759), status = 0x0
Sep 29 23:45:05 colibri-imx7 daemon.info pppd[758]: Serial connection established.
Sep 29 23:45:05 colibri-imx7 daemon.debug pppd[758]: using channel 1
Sep 29 23:45:05 colibri-imx7 daemon.info connmand[412]: ppp0 {create} index 4 type 512 <PPP>
Sep 29 23:45:05 colibri-imx7 daemon.info connmand[412]: ppp0 {update} flags 4240 <DOWN>
Sep 29 23:45:05 colibri-imx7 daemon.info connmand[412]: ppp0 {newlink} index 4 address 00:00:00:00:00:00 mtu 1500
Sep 29 23:45:05 colibri-imx7 daemon.info connmand[412]: ppp0 {newlink} index 4 operstate 2 <DOWN>
Sep 29 23:45:05 colibri-imx7 daemon.info pppd[758]: Using interface ppp0
Sep 29 23:45:05 colibri-imx7 daemon.notice pppd[758]: Connect: ppp0 <--> /dev/ttyUSB0
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x2f6f264d> <pcomp> <accomp>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [LCP ConfReq id=0x1 <accomp> <pcomp> <asyncmap 0x0> <mru 1500> <magic 0x543> <auth chap MD5>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [LCP ConfNak id=0x1 <auth pap>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [LCP ConfAck id=0x1 <asyncmap 0xa0000> <magic 0x2f6f264d> <pcomp> <accomp>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [LCP ConfReq id=0x2 <accomp> <pcomp> <asyncmap 0x0> <mru 1500> <magic 0x543> <auth pap>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [LCP ConfAck id=0x2 <accomp> <pcomp> <asyncmap 0x0> <mru 1500> <magic 0x543> <auth pap>]
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: ppp0 {newlink} index 4 address 00:00:00:00:00:00 mtu 1500
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: ppp0 {newlink} index 4 operstate 2 <DOWN>
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: ppp0 {newlink} index 4 address 00:00:00:00:00:00 mtu 296
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: ppp0 {newlink} index 4 operstate 2 <DOWN>
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [LCP EchoReq id=0x0 magic=0x2f6f264d]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [PAP AuthReq id=0x1 user="vivo" password=<hidden>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [LCP EchoRep id=0x0 magic=0x543]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [PAP AuthAck id=0x1 "Greetings!!"]
Sep 29 23:45:06 colibri-imx7 daemon.info pppd[758]: Remote message: Greetings!!
Sep 29 23:45:06 colibri-imx7 daemon.notice pppd[758]: PAP authentication succeeded
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: rcvd [IPCP ConfReq id=0x1]
Sep 29 23:45:06 colibri-imx7 daemon.debug pppd[758]: sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
Sep 29 23:45:06 colibri-imx7 daemon.info pppd[758]: Hangup (SIGHUP)
Sep 29 23:45:06 colibri-imx7 daemon.notice pppd[758]: Modem hangup
Sep 29 23:45:06 colibri-imx7 daemon.notice pppd[758]: Connection terminated.
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: ppp0 {dellink} index 4 operstate 2 <DOWN>
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: (null) {RX} 1 packets 4 bytes
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: (null) {TX} 3 packets 53 bytes
Sep 29 23:45:06 colibri-imx7 daemon.info connmand[412]: (null) {remove} index 4

I’m using the same carrier (vivo) and modem from the tutorial.
I’ve read about some driver missing.

cat toradex_imx_4.1.15_1.0.0_ga/.config | grep PPP
CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPPOE=y
CONFIG_PPPOL2TP=m
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y

I know this issue is Linux related, but I need some help on how to debug deeply because I am stuck with this error.

Best regards,
João

I found the issue. The configuration file do not work to the E173s-6 model. Only works to the E173s-3.
I have no idea why.

Best regards