Problem with PPPoS connection cellular SIM800 with only one cell operator

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with PPPoS connection cellular SIM800 with only one cell operator

saew
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

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with PPPoS connection cellular SIM800 with only one cell operator

Sylvain Rochet
Hi Артём,

On Sun, Dec 29, 2019 at 08:00:15PM +0300, Артём Скворцов wrote:
> 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:

For this kind of issue, since lwIP is working perfectly fine here, and
unless someone on the list had the same issue, we can't do much.

I'm afraid you will have to ask your chip manufacturer to get some help
on this case. GOOD LUCK.

Sylvain

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem with PPPoS connection cellular SIM800 with only one cell operator

saew
Sylvain, thanks! Yes, LwIp is perfect!
Finally I suppose that the cell operator rejects the PPP connection because of its internal reasons.
But the internal IP stack of SIM800 module works fine!

чт, 23 янв. 2020 г. в 18:56, Sylvain Rochet <[hidden email]>:
Hi Артём,

On Sun, Dec 29, 2019 at 08:00:15PM +0300, Артём Скворцов wrote:
> 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:

For this kind of issue, since lwIP is working perfectly fine here, and
unless someone on the list had the same issue, we can't do much.

I'm afraid you will have to ask your chip manufacturer to get some help
on this case. GOOD LUCK.

Sylvain
_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users


--
Skvortsov Artyom

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with PPPoS connection cellular SIM800 with only one cell operator

Sylvain Rochet
Hi Артём,

On Thu, Jan 23, 2020 at 07:21:59PM +0300, Артём Скворцов wrote:
> Sylvain, thanks! Yes, LwIp is perfect!
> Finally I suppose that the cell operator rejects the PPP connection because
> of its internal reasons.
> But the internal IP stack of SIM800 module works fine!

Well, so I bet you just used the wrong protocol in the PDP type on your
AT+CGDCONT context. PPP PDP type is rarely supported. Using something
else than PPP for PDP type does not mean that PPP is not used for L2
protocol between your host and the modem. The protocol between you and
the modem is set in ATD, it is usually PPP and have no relation at all
with the PDP type.

Sylvain

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users

signature.asc (188 bytes) Download Attachment