[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Help with PPP connection - modem disconnects for no obv
From: |
Freddie Chopin |
Subject: |
Re: [lwip-users] Help with PPP connection - modem disconnects for no obvious reason... |
Date: |
Wed, 20 Mar 2019 17:56:10 +0100 |
User-agent: |
Evolution 3.30.5 |
Hello Sylvain!
On Wed, 2019-03-20 at 17:18 +0100, Sylvain Rochet wrote:
> Could you try with VJ_SUPPORT disabled ?
I've also thought about that and already tried that, but the result is
almost identical:
-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --
Wrote: AT
Read: OK
Wrote: ATI
Read: Manufacturer: Huawei Technologies Co., Ltd.
Read: Model: ME906E
Read: Revision: 12.430.19.08.00
Read: IMEI: ...
Read: +GCAP: +CGSM
Read: OK
Wrote: AT+COPS=1,0,"PLAY",2
Read: OK
Wrote: AT+COPS?
Read: +COPS: 1,0,"PLAY",2
Read: OK
Wrote: AT+CREG=2
Read: OK
Wrote: AT+CREG?
Read: +CREG: 2,1,"D6","1857B3",2
Read: OK
Wrote: AT+CGREG=1
Read: OK
Wrote: AT+CGREG?
Read: +CGREG: 1,1
Read: OK
Wrote: AT+CGATT=1
Read: OK
Wrote: AT+CGATT?
Read: +CGATT: 1
Read: OK
Wrote: AT+CGACT=1,1
Read: OK
Wrote: AT+CGACT?
Read: +CGACT: 1,1
Read: +CGACT: 2,0
Read: +CGACT: 16,0
Read: OK
Wrote: AT+CGDCONT?
Read: +CGDCONT: 1,"IP","Internet","0.0.0.0",0,0
Read: +CGDCONT: 2,"IP","internet","0.0.0.0",1,1
Read: +CGDCONT: 16,"IP","www.plusgsm.pl","0.0.0.0",0,0
Read: OK
Wrote: ATD*99#
Read: CONNECT 43200000
ppp phase changed[1]: phase=0
ppp_connect[1]: holdoff=0
ppp phase changed[1]: phase=3
pppos_connect: unit 1: connecting
ppp_start[1]
ppp phase changed[1]: phase=6
pppos_send_config[1]: out_accm=FF FF FF FF
ppp_send_config[1]
pppos_recv_config[1]: in_accm=FF FF FF FF
ppp_recv_config[1]
ppp: auth protocols: PAP=0 CHAP=0 CHAP_MD5=0 CHAP_MS=0 CHAP_MS2=0 EAP=0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8dada018> <pcomp> <accomp>]
pppos_write[1]: len=24
ppp_start[1]: finished
pppos_input[1]: got 53 bytes
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x4fdbb468>
<pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth chap MD5>]
pppos_write[1]: len=13
pppos_input[1]: got 46 bytes
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x8dada018> <pcomp> <accomp>]
pppos_input[1]: got 45 bytes
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4fdbb468> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4fdbb468> <pcomp> <accomp>]
pppos_write[1]: len=24
netif_set_mtu[1]: mtu=1500
pppos_send_config[1]: out_accm=0 0 0 0
ppp_send_config[1]
pppos_recv_config[1]: in_accm=0 0 0 0
ppp_recv_config[1]
ppp phase changed[1]: phase=7
ppp phase changed[1]: phase=9
ccp_set[1]: is_open=1, is_up=0, receive_method=0, transmit_method=0
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
pppos_write[1]: len=26
pppos_input[1]: got 21 bytes
rcvd [LCP DiscReq id=0x2 magic=0x4fdbb468]
pppos_input[1]: got 14 bytes
^C
-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --
Here's the relevant part of my lwipopts.h:
-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --
#define PPP_SUPPORT 1
#define NUM_PPP 1
#define PPPOE_SUPPORT 1
#define PPPOS_SUPPORT 1
#define PAP_SUPPORT 1
#define CHAP_SUPPORT 1
#define MSCHAP_SUPPORT 1
#define CCP_SUPPORT 1
#define VJ_SUPPORT 1
#define MD5_SUPPORT 1
#define EAP_SUPPORT 1
#define PRINTPKT_SUPPORT 1
#define PPP_NOTIFY_PHASE 1
#define FSM_DEFTIMEOUT 30
#define UPAP_DEFTIMEOUT 30
#define CHAP_DEFTIMEOUT 30
#define EAP_DEFREQTIME 30
#define MPPE_SUPPORT 1
-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --
Regards,
FCh
Re: [lwip-users] Help with PPP connection - modem disconnects for no obvious reason..., Patrick Klos, 2019/03/20
Re: [lwip-users] Help with PPP connection - modem disconnects for no obvious reason..., Freddie Chopin, 2019/03/20