I'm using ppp-new branch donwloaded from git repositories and it works fine with vodafone SIM Card (see vodafone.txt attached file).
When I change SIM Cards and I try to use TIM, I receive and LPC error (see tim.txt attached file).
I attach two files with log Please someone can help me to understand what happen? Stefano
08:40:40-001 GPRSMon...........: netif: IP address of interface 08:40:40-002 GPRSMon...........: netif: netmask of interface 08:40:40-003 GPRSMon...........: netif: GW address of interface 08:40:40-004 GPRSMon...........: netif: added interface pp IP addr 08:40:40-005 GPRSMon...........: 0.0.0.0 08:40:40-006 GPRSMon...........: netmask 08:40:40-007 GPRSMon...........: 0.0.0.0 08:40:40-008 GPRSMon...........: gw 08:40:40-009 GPRSMon...........: 0.0.0.0 08:40:40-010 GPRSMon...........: 08:40:40-011 GPRSMon...........: ppp phase changed: unit 0: phase=0 08:40:40-012 GPRSMon...........: netif: setting default interface pp 08:40:40-013 GPRSMon...........: GPRS IS NOT LIVE 08:40:48-001 GPRSMon...........: GPRS POWER IS ON 08:40:48-002 GPRSMon...........: AT\r 08:40:48-003 GPRSMon...........: IIIIAT\r\r\nOK\r\n 08:40:48-004 GPRSMon...........: ATE0\r 08:40:48-005 GPRSMon...........: ATE0\r\r\nOK\r\n 08:40:49-001 GPRSMon...........: ATV1\r 08:40:49-002 GPRSMon...........: \r\nOK\r\n 08:40:50-001 GPRSMon...........: AT+IFC=0\r 08:40:50-002 GPRSMon...........: \r\nOK\r\n 08:40:51-001 GPRSMon...........: AT+CMEE=1\r 08:40:51-002 GPRSMon...........: \r\nOK\r\n 08:40:51-003 GPRSMon...........: AT+CPIN?\r 08:40:51-004 GPRSMon...........: +CPIN: READY 08:40:51-005 GPRSMon...........: OK 08:40:51-006 GPRSMon...........: AT+CGMR\r 08:40:51-007 GPRSMon...........: \r\nRevision:1137B05SIM900B32_ST\r\n\r\nOK\r\n 08:40:52-001 GPRSMon...........: AT+CGMM\r 08:40:52-002 GPRSMon...........: \r\nSIMCOM_SIM900B\r\n\r\nOK\r\n 08:40:53-001 GPRSMon...........: AT+CNMI=2\r 08:40:53-002 GPRSMon...........: \r\nOK\r\n 08:40:54-001 GPRSMon...........: AT+CSMP=17,167,0,0\r 08:40:54-002 GPRSMon...........: \r\nOK\r\n 08:40:55-001 GPRSMon...........: AT+CCID\r 08:40:55-002 GPRSMon...........: 8939104700114234926F 08:40:55-003 GPRSMon...........: OK 08:40:55-004 GPRSMon...........: AT+CGSN\r 08:40:55-005 GPRSMon...........: 012497000819387 08:40:55-006 GPRSMon...........: OK 08:40:55-007 GPRSMon...........: GPRS INIT OK START REG 08:40:55-008 GPRSMon...........: AT+CREG?\r 08:40:56-001 GPRSMon...........: +CREG: 0,1 08:40:56-002 GPRSMon...........: OK 08:40:56-003 GPRSMon...........: REGISTERED 08:40:56-004 GPRSMon...........: AT+CSQ\r 08:40:56-005 GPRSMon...........: +CSQ: 17,0 08:40:56-006 GPRSMon...........: OK 08:40:56-007 GPRSMon...........: GPRS INIT OK START READ OPERATORS 08:41:04-001 GPRSMon...........: AT+COPS=?\r 08:41:04-002 GPRSMon...........: +COPS: (2,"vodafone IT","voda IT","22210"),,(0,1,4),(0,1,2) 08:41:04-003 GPRSMon...........: OK 08:41:05-001 GPRSMon...........: GPRS IS LIVE 08:41:05-002 GPRSMon...........: AT+CGATT=1\r 08:41:05-003 GPRSMon...........: \r\nOK\r\n 08:41:05-004 GPRSMon...........: AT+CGDCONT=1,"IP","web.omnitel.it","0.0.0.0",0,0\r 08:41:05-005 GPRSMon...........: \r\nOK\r\n 08:41:05-006 GPRSMon...........: ATD*99***1# 08:41:05-007 GPRSMon...........: \r\nCONNECT\r\n 08:41:05-008 GPRSMon...........: Dial GPRS successful, now we start PPP Config! 08:41:06-001 GPRSMon...........: GPRS IS CONNECTED 08:41:06-002 GPRSMon...........: ppp phase changed: unit 0: phase=1 08:41:06-003 GPRSMon...........: ppp_over_serial_open: unit 0: connecting 08:41:06-004 GPRSMon...........: ppp_start: unit 0 08:41:06-005 GPRSMon...........: ppp_set_xaccm[0]: out_accm=0 0 0 0 08:41:06-006 GPRSMon...........: ppp_send_config[0]: out_accm=FF FF FF FF 08:41:06-007 GPRSMon...........: ppp_recv_config[0]: in_accm=FF FF FF FF 08:41:06-008 GPRSMon...........: neg_upap: 1 08:41:06-009 GPRSMon...........: neg_chap: 1 08:41:06-010 GPRSMon...........: neg_chap_md5: 1 08:41:06-011 GPRSMon...........: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d1ce759> <pcomp> <accomp>] 08:41:06-012 GPRSMon...........: ppp_write[0]: len=46 08:41:06-013 GPRSMon...........: ppp_start: finished 08:41:06-014 GPRSPppRx.........: pppos_input_proc[0]: got 70 bytes 08:41:06-015 tcpip.............: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap>] 08:41:06-016 tcpip.............: sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth pap>] 08:41:06-017 tcpip.............: ppp_write[0]: len=35 08:41:06-018 tcpip.............: rcvd [LCP ConfRej id=0x1 <magic 0x8d1ce759> <pcomp> <accomp>] 08:41:06-019 tcpip.............: sent [LCP ConfReq id=0x2 <asyncmap 0x0>] 08:41:06-020 tcpip.............: ppp_write[0]: len=28 08:41:07-001 GPRSPppRx.........: pppos_input_proc[0]: got 29 bytes 08:41:07-002 tcpip.............: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>] 08:41:07-003 tcpip.............: ppp_send_config[0]: out_accm=0 0 A 0 08:41:07-004 tcpip.............: ppp_recv_config[0]: in_accm=0 0 0 0 08:41:07-005 tcpip.............: ppp phase changed: unit 0: phase=5 08:41:07-006 tcpip.............: sent [PAP AuthReq id=0x1 user="00A0A2705930" password="8939104700114234926F"] 08:41:07-007 tcpip.............: ppp_write[0]: len=46 08:41:07-008 GPRSPppRx.........: pppos_input_proc[0]: got 21 bytes 08:41:07-009 tcpip.............: rcvd [PAP AuthAck id=0x1 "Login OK"] 08:41:07-010 tcpip.............: Remote message: Login OK 08:41:07-011 tcpip.............: PAP authentication succeeded 08:41:07-012 tcpip.............: ppp phase changed: unit 0: phase=7 08:41:07-013 tcpip.............: 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>] 08:41:07-014 tcpip.............: ppp_write[0]: len=36 08:41:07-015 GPRSMon...........: PPP STARTED 08:41:08-001 GPRSMon...........: PPP STARTED 08:41:09-002 GPRSMon...........: PPP STARTED 08:41:10-001 GPRSMon...........: PPP STARTED 08:41:11-001 GPRSMon...........: PPP STARTED 08:41:12-001 GPRSMon...........: PPP STARTED 08:41:13-001 tcpip.............: 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>] 08:41:13-002 tcpip.............: ppp_write[0]: len=36 08:41:13-003 GPRSPppRx.........: pppos_input_proc[0]: got 36 bytes 08:41:13-004 tcpip.............: rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>] 08:41:13-005 tcpip.............: sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>] 08:41:13-006 tcpip.............: ppp_write[0]: len=18 08:41:13-007 tcpip.............: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>] 08:41:13-008 tcpip.............: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] 08:41:13-009 tcpip.............: ppp_write[0]: len=29 08:41:13-010 GPRSPppRx.........: pppos_input_proc[0]: got 30 bytes 08:41:13-011 tcpip.............: rcvd [IPCP ConfNak id=0x2 <addr 109.116.241.104> <ms-dns1 83.224.66.138> <ms-dns2 83.224.70.94>] 08:41:13-012 tcpip.............: sent [IPCP ConfReq id=0x3 <addr 109.116.241.104> <ms-dns1 83.224.66.138> <ms-dns2 83.224.70.94>] 08:41:13-013 tcpip.............: ppp_write[0]: len=30 08:41:13-014 GPRSPppRx.........: pppos_input_proc[0]: got 30 bytes 08:41:13-015 tcpip.............: rcvd [IPCP ConfAck id=0x3 <addr 109.116.241.104> <ms-dns1 83.224.66.138> <ms-dns2 83.224.70.94>] 08:41:13-016 tcpip.............: netif_set_ipaddr: netif address being changed 08:41:13-017 tcpip.............: netif: IP address of interface pp set to 109.116.241.104 08:41:13-018 tcpip.............: netif: netmask of interface pp set to 255.255.255.255 08:41:13-019 tcpip.............: netif: GW address of interface pp set to 192.200.1.21 08:41:13-020 tcpip.............: sifup: unit 0: err_code=0 08:41:13-021 tcpip.............: pppLinkStatusCallback: PPPERR_NONE 08:41:13-022 tcpip.............: our_ipaddr=109.116.241.104 08:41:13-023 tcpip.............: his_ipaddr=192.200.1.21 08:41:13-024 tcpip.............: netmask=255.255.255.255 08:41:13-025 tcpip.............: dns1=83.224.66.138 08:41:13-026 tcpip.............: dns2=83.224.70.94 08:41:13-027 tcpip.............: 08:41:13-028 tcpip.............: local IP address 109.116.241.104 08:41:13-029 tcpip.............: remote IP address 192.200.1.21 08:41:13-030 tcpip.............: primary DNS address 83.224.66.138 08:41:13-031 tcpip.............: secondary DNS address 83.224.70.94 08:41:13-032 tcpip.............: ppp phase changed: unit 0: phase=8 08:41:13-033 GPRSMon...........: PPP UP
16:23:57-001 GPRSMon...........: netif: IP address of interface 16:23:57-002 GPRSMon...........: netif: netmask of interface 16:23:57-003 GPRSMon...........: netif: GW address of interface 16:23:57-004 GPRSMon...........: netif: added interface pp IP addr 16:23:57-005 GPRSMon...........: 0.0.0.0 16:23:57-006 GPRSMon...........: netmask 16:23:57-007 GPRSMon...........: 0.0.0.0 16:23:57-008 GPRSMon...........: gw 16:23:57-009 GPRSMon...........: 0.0.0.0 16:23:57-010 GPRSMon...........: 16:23:57-011 GPRSMon...........: ppp phase changed: unit 0: phase=0 16:23:57-012 GPRSMon...........: netif: setting default interface pp 16:23:57-013 GPRSMon...........: GPRS IS NOT LIVE 16:24:05-001 GPRSMon...........: GPRS POWER IS ON 16:24:05-002 GPRSMon...........: AT\r 16:24:05-003 GPRSMon...........: IIIIAT\r\r\nOK\r\n 16:24:05-004 GPRSMon...........: ATE0\r 16:24:05-005 GPRSMon...........: ATE0\r\r\nOK\r\n 16:24:06-001 GPRSMon...........: ATV1\r 16:24:06-002 GPRSMon...........: \r\nOK\r\n 16:24:07-001 GPRSMon...........: AT+IFC=0\r 16:24:07-002 GPRSMon...........: \r\nOK\r\n 16:24:08-001 GPRSMon...........: AT+CMEE=1\r 16:24:08-002 GPRSMon...........: \r\nOK\r\n 16:24:08-003 GPRSMon...........: AT+CPIN?\r 16:24:08-004 GPRSMon...........: +CPIN: READY 16:24:08-005 GPRSMon...........: OK 16:24:08-006 GPRSMon...........: AT+CGMR\r 16:24:08-007 GPRSMon...........: \r\nRevision:1137B05SIM900B32_ST\r\n\r\nOK\r\n 16:24:09-001 GPRSMon...........: AT+CGMM\r 16:24:09-002 GPRSMon...........: \r\nSIMCOM_SIM900B\r\n\r\nOK\r\n 16:24:10-001 GPRSMon...........: AT+CNMI=2\r 16:24:10-002 GPRSMon...........: \r\nOK\r\n 16:24:11-001 GPRSMon...........: AT+CSMP=17,167,0,0\r 16:24:11-002 GPRSMon...........: \r\nOK\r\n 16:24:12-001 GPRSMon...........: AT+CCID\r 16:24:12-002 GPRSMon...........: 89390100001381501796 16:24:12-003 GPRSMon...........: OK 16:24:12-004 GPRSMon...........: AT+CGSN\r 16:24:12-005 GPRSMon...........: 012497000819387 16:24:12-006 GPRSMon...........: OK 16:24:12-007 GPRSMon...........: GPRS INIT OK START REG 16:24:12-008 GPRSMon...........: AT+CREG?\r 16:24:12-009 GPRSMon...........: +CREG: 0,1 16:24:12-010 GPRSMon...........: OK 16:24:12-011 GPRSMon...........: REGISTERED 16:24:12-012 GPRSMon...........: AT+CSQ\r 16:24:12-013 GPRSMon...........: +CSQ: 13,0 16:24:12-014 GPRSMon...........: OK 16:24:12-015 GPRSMon...........: GPRS INIT OK START READ OPERATORS 16:24:16-002 GPRSMon...........: AT+COPS=?\r 16:24:16-003 GPRSMon...........: +COPS: (2,"I TIM","TIM","22201"),,(0,1,4),(0,1,2) 16:24:16-004 GPRSMon...........: OK 16:24:17-020 GPRSMon...........: GPRS IS LIVE 16:24:17-021 GPRSMon...........: AT+CGATT=1\r 16:24:17-022 GPRSMon...........: \r\nOK\r\n 16:24:17-023 GPRSMon...........: AT+CGDCONT=1,"IP","PAP:gamenet.tim.it","0.0.0.0",0,0\r 16:24:17-024 GPRSMon...........: \r\nOK\r\n 16:24:17-025 GPRSMon...........: ATD*99***1# 16:24:17-026 GPRSMon...........: \r\nCONNECT\r\n 16:24:17-027 GPRSMon...........: Dial GPRS successful, now we start PPP Config! 16:24:18-001 GPRSMon...........: GPRS IS CONNECTED 16:24:18-002 GPRSMon...........: ppp phase changed: unit 0: phase=1 16:24:18-003 GPRSMon...........: ppp_over_serial_open: unit 0: connecting 16:24:18-004 GPRSMon...........: ppp_start: unit 0 16:24:18-005 GPRSMon...........: ppp_set_xaccm[0]: out_accm=0 0 0 0 16:24:18-006 GPRSMon...........: ppp_send_config[0]: out_accm=FF FF FF FF 16:24:18-007 GPRSMon...........: ppp_recv_config[0]: in_accm=FF FF FF FF 16:24:18-008 GPRSMon...........: neg_upap: 1 16:24:18-009 GPRSMon...........: neg_chap: 1 16:24:18-010 GPRSMon...........: neg_chap_md5: 1 16:24:18-011 GPRSMon...........: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d1ce759> <pcomp> <accomp>] 16:24:18-012 GPRSMon...........: ppp_write[0]: len=46 16:24:18-013 GPRSMon...........: ppp_start: finished 16:24:18-014 GPRSPppRx.........: pppos_input_proc[0]: got 70 bytes 16:24:18-015 tcpip.............: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap>] 16:24:18-016 tcpip.............: sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth pap>] 16:24:18-017 tcpip.............: ppp_write[0]: len=35 16:24:18-018 tcpip.............: rcvd [LCP ConfRej id=0x1 <magic 0x8d1ce759> <pcomp> <accomp>] 16:24:18-019 tcpip.............: sent [LCP ConfReq id=0x2 <asyncmap 0x0>] 16:24:18-020 tcpip.............: ppp_write[0]: len=28 16:24:18-021 GPRSPppRx.........: pppos_input_proc[0]: got 29 bytes 16:24:18-022 tcpip.............: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>] 16:24:18-023 tcpip.............: ppp_send_config[0]: out_accm=0 0 A 0 16:24:18-024 tcpip.............: ppp_recv_config[0]: in_accm=0 0 0 0 16:24:18-025 tcpip.............: ppp phase changed: unit 0: phase=5 16:24:18-026 tcpip.............: sent [PAP AuthReq id=0x1 user="00A0A2705930" password="89390100001381501796"] 16:24:18-027 tcpip.............: ppp_write[0]: len=46 16:24:18-028 GPRSPppRx.........: pppos_input_proc[0]: got 21 bytes 16:24:18-029 tcpip.............: rcvd [PAP AuthAck id=0x1 "Login OK"] 16:24:18-030 tcpip.............: Remote message: Login OK 16:24:18-031 tcpip.............: PAP authentication succeeded 16:24:18-032 tcpip.............: ppp phase changed: unit 0: phase=7 16:24:18-033 tcpip.............: 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>] 16:24:18-034 tcpip.............: ppp_write[0]: len=36 16:24:19-001 GPRSMon...........: PPP STARTED 16:24:19-002 GPRSPppRx.........: pppos_input_proc[0]: got 88 bytes 16:24:19-003 tcpip.............: rcvd [LCP TermReq id=0x2 "PDP context activation failed, no network protocol running"] 16:24:19-004 tcpip.............: LCP terminated by peer (PDP context activation failed, no network protocol running) 16:24:19-005 tcpip.............: ppp phase changed: unit 0: phase=4 16:24:19-006 tcpip.............: ppp_link_down: unit 0 16:24:19-007 tcpip.............: ppp_send_config[0]: out_accm=FF FF FF FF 16:24:19-008 tcpip.............: ppp_recv_config[0]: in_accm=0 0 0 0 16:24:19-009 tcpip.............: sent [LCP TermAck id=0x2] 16:24:19-010 tcpip.............: ppp_write[0]: len=18
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
