lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] PPPoS TCP Connection Reject


From: gzayzay
Subject: [lwip-users] PPPoS TCP Connection Reject
Date: Wed, 1 Aug 2018 08:00:12 -0700 (MST)

Hello All- 

I am working with FreeRTOS + LWIP on a project using PPPoS. I have been able 
to successfully connect to the network and obtain an IP address after the 
PPP negotiation using a modem that we have on our embedded device. 

Once PPP negotiation completes, on our embedded device, I start my server 
application to listen for incoming connection on a particular port. Every 
time I attempt to connect to the server application from a client, I am 
getting a "Connection reject". 

I can successfully ping the device and get a ping response. The interesting 
part is, whenever I set a breakpoint in the code where I except data/traffic 
to be taken out of the UART to be passed to the lwip stack for processing, I 
do not hit this breakpoint. 

I have placed a logic analyzer on the UART line and I do not see data when a 
PPP session has been established. However, during the ppp negatation 
process, this path is the only way data gets to the LWIP stack and it is 
responding. My hypothesis is that the modem is receiving the traffic and 
processing it internally instead of passing it through to the UART so that 
the lwip stack can do the processing. 

In view of the above, is there an option in LWIP that needs to be set for 
PPP so that the modem passes data transparently? Are there some 
configuration for LWIP that I need to set? 

On linux, I see these settings in the chat scripts. Are there some kind of 
lwip equivalent that needs to be set? 

asyncmap 0 
noauth 
defaultroute 
usepeerdns 
local 
debug 
updetach 


`Edman 




--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

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