[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
signature.asc
Description: Digital signature
- [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/05
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/05
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/06
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/08
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/13
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/15
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/16
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/18
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/18
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/18
- Re: [lwip-users] PPP - TCP,
Sylvain Rochet <=
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/21
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/21
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/22
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/22
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/22
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/22
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/23
- Re: [lwip-users] PPP - TCP, Norberto R. de Goes Jr., 2016/01/25
- Re: [lwip-users] PPP - TCP, Sylvain Rochet, 2016/01/25