Re: [lwip-users] IP forwarding to/from PPP working for one netif, but not another

2020-02-14 Thread Sylvain Rochet
Hi Andrew, On Tue, Feb 11, 2020 at 11:47:04AM +0100, goldsi...@gmx.de wrote: > Am 11.02.2020 um 10:20 schrieb Andrew Pullin: > > [..] > > > > The part that I am stuck on presently is that Host2 has no knowledge of > > how to route packets from PPP out to the WAN, say, 8.8.8.8. > > Between ip4_fo

Re: [lwip-users] Receiving UDP (DNS) over PPPoS, source and destination ports same?

2020-02-14 Thread Sylvain Rochet
Hi Andrew, On Thu, Feb 13, 2020 at 09:29:39PM -0800, Andrew Pullin wrote: > I am having a little issue with lwip on ESP32 here. > > I am using a PPP (over serial) link to get two IP stacks to communicate. And > then later doing some source routing and other stuff, but this issue > manifests far b

[lwip-users] DHCP problems

2020-02-14 Thread Trampas Stern
I am trying to get DCHP work and have yet to do so I have the following and was wondering if it was enough to help debug the problem? dhcp.c 469: dhcp_coarse_tmr() dhcp.c 1750: dhcp_recv(pbuf = ) from DHCP server 541413120.192.168.168 port 168 dhcp.c 1751: pbuf->len = 272 dhcp.c 1752: pbuf->tot_l

Re: [lwip-users] DHCP problems

2020-02-14 Thread Trampas Stern
here is some more logs: dhcp.c 518: dhcp_fine_tmr(): request timeout dhcp.c 539: dhcp_timeout() dhcp.c 542: dhcp_timeout(): restarting discovery dhcp.c 978: dhcp_discover() dhcp.c 1899: transaction id xid(abcd0001) dhcp.c 992: dhcp_discover: making request dhcp.c 1004: dhcp_discover: sendto(DI

Re: [lwip-users] DHCP problems

2020-02-14 Thread Trampas Stern
OK walking through the code it appears somewhere along the way the ACD module was added and it looks like it needs to have it's timer periodically called. I added it to the timer list and seem to work now. I would have figured that the ACD timer would have been called from the DHCP timer for back