lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] PPP - TCP


From: Sylvain Rochet
Subject: Re: [lwip-users] PPP - TCP
Date: Thu, 21 Jan 2016 01:16:57 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Norberto,

On Mon, Jan 18, 2016 at 01:01:12PM -0200, Norberto R. de Goes Jr. wrote:
> 
> I would like remember you the code used to reproduce the PPP/TCP error is
> practically the same of the lwip git-repos (lwip e contrib), last Friday
> (jan/15/2016) version, only the "simhost.c" and "lwipopts.h" files with
> little modifications (attached again), or better, I am not using my code to
> show you the reported problem, but the behavior is the same.

I tested your setup with VirtualBox using two Debian VMs and a serial 
bridge using the "Host pipe" VirtualBox method.

I started the pppd deamon on one host this way:

/usr/sbin/pppd silent local nocrtscts noauth  \
    192.168.123.20:192.168.123.21 /dev/ttyS0

And the latest lwIP Git with your two changed files in the unixsim 
project on the other host.


This is what I have on the pppd server host:

Jan 21 01:00:04 debian pppd[1797]: pppd 2.4.6 started by root, uid 0
Jan 21 01:00:04 debian pppd[1797]: Using interface ppp0
Jan 21 01:00:04 debian pppd[1797]: Connect: ppp0 <--> /dev/ttyS0
Jan 21 01:01:51 debian pppd[1797]: local  IP address 192.168.123.20
Jan 21 01:01:51 debian pppd[1797]: remote IP address 192.168.123.21

And what I have on the lwIP host:

# ./simhost
System initialized.
SNMP private MIB start, detecting sensors.
TFCP/IP initialized.
Applications started.
ppp_link_status_cb: PPPERR_NONE
   our_ip4addr = 192.168.123.21
   his_ip4addr = 192.168.123.20
   netmask     = 255.255.255.255


I checked TCP, UDP, using various tools over this link (netcat, telnet), 
even at "full" speed, and it works perfectly fine.

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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