lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Problem with PPPoS connection cellular SIM800 with only one


From: Артём Скворцов
Subject: [lwip-users] Problem with PPPoS connection cellular SIM800 with only one cell operator
Date: Sun, 29 Dec 2019 20:00:15 +0300

The PPP can't be established with only one cell operator 'beeline'.
This sim card works ok with embedded SIM800 TCP/IP AT commands.
All other operators in Russia (Megafon, MTS) works ok both with LwIp PPPoS and embedded AT.
But only 'beeline' rejects the connection.
I tried to change authentication to PAP, also change APN setting to empty and other.
Nothing changes.
Here are the log:

AT+CGATT?
+CGATT: 1
OK
AT+CGDCONT=1,"IP","internet.beeline.ru"
OK
AT+CGQMIN=1,0,0,0,0,0
OK
AT+CGQREQ=1,2,4,3,6,31
OK
ATD*99***1#
CONNECT

ppp_connect[0]: holdoff=0
ppp phase changed[0]: phase=3
pppos_connect: unit 0: connecting
ppp_start[0]
ppp phase changed[0]: phase=6
pppos_send_config[0]: out_accm=FF FF FF FF
ppp_send_config[0]
pppos_recv_config[0]: in_accm=FF FF FF FF
ppp_recv_config[0]
ppp: auth protocols: PAP=0 CHAP=1 CHAP_MD5=1
sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x61d7a4e7> <pcomp> <accomp>]
pppos_write[0]: len=24
ppp_start[0]: finished
pppos_input[0]: got 38 bytes
pppos_input[0]: got 34 bytes
rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
sent [LCP ConfNak id=0x1 <auth chap MD5>]
pppos_write[0]: len=13
rcvd [LCP ConfNak id=0x3 <asyncmap 0xa0000>]
sent [LCP ConfReq id=0x4 <asyncmap 0xa0000> <magic 0x61d7a4e7> <pcomp> <accomp>]
pppos_write[0]: len=24
pppos_input[0]: got 28 bytes
pppos_input[0]: got 18 bytes
rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
pppos_write[0]: len=23
pppos_input[0]: got 39 bytes
pppos_input[0]: got 6 bytes
rcvd [LCP ConfAck id=0x4 <asyncmap 0xa0000> <magic 0x61d7a4e7> <pcomp> <accomp>]
netif_set_mtu[0]: mtu=1500
pppos_send_config[0]: out_accm=0 0 A 0
ppp_send_config[0]
pppos_recv_config[0]: in_accm=0 0 A 0
ppp_recv_config[0]
ppp phase changed[0]: phase=7
pppos_input[0]: got 18 bytes
pppos_input[0]: got 9 bytes
rcvd [CHAP Challenge id=0x0 <26598088623412345678901234567890>, name = ""]
sent [CHAP Response id=0x0 <580d41db2b7ddc7150e58d5644409fa3>, name = "beeline"]
pppos_write[0]: len=32
pppos_input[0]: got 20 bytes
rcvd [CHAP Success id=0x0 ""]
CHAP authentication succeeded
CHAP authentication succeeded
ppp phase changed[0]: phase=9
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
pppos_write[0]: len=26
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
pppos_write[0]: len=14
pppos_input[0]: got 16 bytes
rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
sent [IPCP ConfRej id=0x2 <addr 0.0.0.0>]
pppos_write[0]: len=14
pppos_input[0]: got 10 bytes
rcvd [IPCP ConfReq id=0x3]
sent [IPCP ConfAck id=0x3]
pppos_write[0]: len=8
 - Poll

pppos_input[0]: got 12 bytes
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
ppp phase changed[0]: phase=6
pppos_send_config[0]: out_accm=FF FF FF FF
ppp_send_config[0]
pppos_recv_config[0]: in_accm=0 0 A 0
ppp_recv_config[0]
sent [LCP TermAck id=0x3]
pppos_write[0]: len=8
pppos_input[0]: got 10 bytes
pppos_input[0]: got 4 bytes

ppp phase changed[0]: phase=12
Connection terminated.
ppp_link_terminated[0]
ppp_link_end[0]
ppp phase changed[0]: phase=0
status_gsm: User interrupt

ppp_link_terminated[0]: finished.

--
Skvortsov Artyom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]