Re: [lwip-users] PPPos Internet connection problem
Hello, I'm having the same Tushar problem and log. My IP is assigned, but remote IP address is assigned as default value (10.64.64.64), I also set ppp_set_default, but no packet are forwarded to internet. I suppose that default IP address is the PPP gateway, and it must be the right one from ISP. How to get the the right gateway and not the default one? I do not think that the default one can work. JJ -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
[lwip-users] PPP lcp does not complete -
Hello, I want to use use PPP on a STM32F2 with a SIM7100. The Hw is connected and working. PPP regularly start but, even receiving data from modem, cannot complete lcp configuration. Any suggestion? Found log below: PPP INITAT httpd_init tcp_bind: bind to port 80 http_set_ssi_handler PPP INITAT0 PPP DISCONNECTED PPP START 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: CHAP=1 CHAP_MD5=1 sent [LCP ConfReq id=0x1] PPP OUTPUT: 7EFF7D23C0217D217D217D207D347D227D267D207D207D207D207D257D26F97D2A3C367D277D227D287D228D7D2E7E pppos_write[1]: len=24 ppp_start[1]: finished PPP CONNECTING PPP INPUT: 7EFF7D23C0217D217D207D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EAFDF37D277D227D287D2278477E PPP INPUT: 7EFF7D23C0217D227D217D207D347D227D267D207D207D207D207D257D26F97D2A3C367D277D227D287D2266677E PPP INPUT: 7EFF7D23C0217D217D227D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EAFDF37D277D227D287D22F0F17E pppos_input[1]: got 53 bytes rcvd [LCP ConfReq id=0x2 ] sent [LCP ConfAck id=0x2 ] PPP OUTPUT: 7EFF7D23C0217D227D227D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EAFDF37D277D227D287D227D5DFD7E pppos_write[1]: len=29 PPP INPUT: 7EFF7D23C0217D2B7D237D207D28D0EAFDF37D5D467E PPP INPUT: 7EC22311023105CB9F180997A78E09151A163E9BBDDB554D54535F434841505F53525652F6227E PPP INPUT: 7EC2231202310FB252AB70BE93010A53F56CF8C523554D54535F434841505F535256520C57E sent [LCP ConfReq id=0x1] PPP OUTPUT: 7EFF7D23C0217D217D217D207D347D227D267D207D207D207D207D257D26F97D2A3C367D277D227D287D228D7D2E7E pppos_write[1]: len=24 PPP INPUT: 7EFF7D23C0217D217D247D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D2237667E PPP INPUT: 7EFF7D23C0217D227D217D207D347D227D267D207D207D207D207D257D26F97D2A3C367D277D227D287D2266677E PPP INPUT: 7EFF7D23C0217D217D257D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22733D7E PPP INPUT: 7EFF7D23C0217D217D267D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22BFD07E PPP INPUT: 7EFF7D23C0217D217D277D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22FB8B7E PPP INPUT: 7EFF7D23C0217D217D287D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D2234C97E PPP INPUT: 7EFF7D23C0217D217D297D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D2270927E sent [LCP ConfReq id=0x1] PPP OUTPUT: 7EFF7D23C0217D217D217D207D347D227D267D207D207D207D207D257D26F97D2A3C367D277D227D287D228D7D2E7E pppos_write[1]: len=24 PPP INPUT: 7EFF7D23C0217D227D217D207D347D227D267D207D207D207D207D257D26F97D2A3C367D277D227D287D2266677E PPP INPUT: 7EFF7D23C0217D217D2A7D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22BC7F7E PPP INPUT: 7EFF7D23C0217D217D2B7D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22F8247E PPP INPUT: 7EFF7D23C0217D217D2C7D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D2235AC7E PPP INPUT: 7EFF7D23C0217D217D2D7D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D2271F77E PPP INPUT: 7EFF7D23C0217D217D2E7D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22BD7D3A7E PPP INPUT: 7EFF7D23C0217D217D2F7D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22F9417E pppos_input[1]: got 54 bytes rcvd [LCP ConfReq id=0xf ] sent [LCP ConfAck id=0xf ] PPP OUTPUT: 7EFF7D23C0217D227D2F7D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB7D35467D277D227D287D22744D7E pppos_write[1]: len=29 PPP INPUT: 7EFF7D23C0217D2B7D307D207D28D0EB7D354679C47E PPP INPUT: 7EC22311023102B6DC44D47A23B77753C64EA313BAE59554D54535F434841505F53525652414E7E sent [LCP ConfReq id=0x1] PPP OUTPUT: 7EFF7D23C0217D217D217D207D347D227D267D207D207D207D207D257D2PPP INPUT: 7EFF7D23C0217D217D317D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB43EB7D277D227D287D224C7D2A7E PPP INPUT: 7EFF7D23C0217D227D217D207D347D227D267D207D207D207D207D257D26F97D2A3C367D277D227D287D2266677E PPP INPUT: 7EFF7D23C0217D217D327D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB43EB7D277D227D287D2280E77E pppos_input[1]: got 53 bytes rcvd [LCP ConfReq id=0x12 ] sent [LCP ConfAck id=0x12 ] PPP OUTPUT: 7EFF7D23C0217D227D327D207D397D227D267D207D207D207D207D237D25C2237D257D257D26D0EB43EB7D277D227D287D227D2DEB7E pppos_write[1]: len=29 PPP INPUT: 7EFF7D23C0217D2B7D337D207D28D0EB43EBDF957E PPP INPUT: 7EC2231102310ED7BB5F5C21CD9EA71BA39FDA04CD554D54535F434841505F535256523BFC7E PPP INPUT: 7EC22312023103A59C11D32ABFB4C2B477B3242D1CA2A554D54535F434841505F53525652B5127E sent [LCP ConfReq id=0x1] PPP OUTPUT:
Re: [lwip-users] LWIP MQTT+HTTPd with ssi
Thank you for reply. May it be that httpd becomes "too slow"? Debugging app I found that here: #if LWIP_HTTPD_SSI if(hs->ssi) { data_to_send = http_send_data_ssi(pcb, hs); } else #endif /* LWIP_HTTPD_SSI */ { data_to_send = http_send_data_nonssi(pcb, hs); } hs->ssi is, for some unknown reason, null when MQTT is active, even if it shouldn't. You may be right talking about misconfigurations. May it be I need to add more resources? But which ones impact on hs->ssi == null? Thank you -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
[lwip-users] LWIP MQTT+HTTPd with ssi
I’m using your MQTT client app with success. But when I activate HTTPD in LWIP, the SSI codes are not parsed anymore if MQTT client is active. I mean: 1. If I activate only HTTPD + SSi it works as expected. 2. If I activate only MQTT it works as expected. 3. If I activate HTTPD+SSI and MQTT, MQTT works as expected. HTTPD works, but SSI codes are not parsed anymore, they are printed as strings onto the web pages. And, moreover, the page is rendered very slow in Chrome and Firefox, but normally fast in Edge. May someone help me in finding the issue? JJ -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users