U-Blox USB Modem and PPP

I am trying to install a u-blox Modem (Toby-L2 on Evaluation Board) on a Colibri VF61 module following your tutorial How to Use GSM/3G/4G in Embedded Linux Systems.

The USB-Device is mounted correctly an the ttyACM0 ist visible:

# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1546:1146 U-Blox AG 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I am able to communicate to the modem using minicom and the “AT”-Commands.

But I am not able to connect using ppp. After running “pon swisscom-4g.provider” and then “tail -f “/home/root/ppp”” i get the following output:

root@colibri-vf:~# pon swisscom-4g.provider
root@colibri-vf:~# tail -f "/home/root/ppp"

ATZ
OK
AT+CGDCONT=1,"IP","gprs.swisscom.ch"
OK
ATDT*99#
CONNECT
Script chat -v -f /etc/ppp/chat/swisscom-4g.chat finished (pid 2838), status = 0x0
Serial connection established.
using channel 23
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
rcvd [LCP ConfReq id=0x0 <mru 1500> <asyncmap 0xffffffff> <auth pap> <pcomp> <accomp>]
sent [LCP ConfReq id=0x3 <asyncmap 0xa0000> <magic 0x83634271> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfAck id=0x3 <asyncmap 0xa0000> <magic 0x83634271> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xffffffff> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xffffffff> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x83634271]
sent [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0xffffffff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x4 <asyncmap 0xa0000> <magic 0xa2043c44> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0xffffffff> <pcomp> <accomp>]
rcvd [LCP EchoRep id=0x0 magic=0x0]
rcvd [IPCP ConfRej id=0x5 <compress VJ 0f 01>]
Discarded non-LCP packet when LCP not open
rcvd [LCP ConfAck id=0x4 <asyncmap 0xa0000> <magic 0xa2043c44> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xa2043c44]
sent [IPCP ConfReq id=0x6 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [LCP EchoRep id=0x0 magic=0x0]
rcvd [IPCP ConfRej id=0x6 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x7 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfRej id=0x7]
sent [IPCP ConfReq id=0x8 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
sent [LCP TermAck id=0x3]
rcvd [IPCP ConfRej id=0x8]
Discarded non-LCP packet when LCP not open
Hangup (SIGHUP)
Modem hangup
Connection terminated.

I guess there is something wrong with my configurations Files:

But I’ve reached a point where I don’t know which one has to be modified, if the setup for the swisscom provider is just not correct or the kernel is missing something. Therefore I could really use some guidance. Please let me know if you need any additional information.

The problem was the content of the file “pap-secrets”: Replacing the line with “gprs * gprs” solved my problem.

Perfect that it works. Thanks for the feedback.