Adam, please follow this instruction if you want to connect the real network instead loopback: https://github.com/apache/incubator-nuttx/pull/249/commits/1b489449f790c2b4618df9133114bb05f0132e87 The setup is very simple, you don't need config any IP address manually.
Thanks Xiang On Tue, Feb 11, 2020 at 2:23 AM Gregory Nutt <spudan...@gmail.com> wrote: > > > > I'm trying to get the NuttX simulator working with TCP/IP networking. I > > used the sim:nsh defconfig as a base, then used "make menuconfig" to select > > TCP/IP, ICMP, and ping commands. > > > > My host is Ubuntu 19.10 Eoan. I installed bridge-utils and configured a > > bridge device nuttx0 and gave it an IP address 10.0.1.1. From linux I can > > ping the bridge. > > > > I can compile and run the simulator. Commands seem to work. I can configure > > the eth0 interface with IP address 10.0.1.2 and bring it up using ifup. But > > when I try to ping the bridge, the nuttx simulator immediately exits with > > no messages. > > > > I checked the .config against the sim:nettest defconfig, and my settings in > > .config match that one. > > > > What am I doing wrong? How do I debug this? > > I don't use TCP/IP networking with the simulator. Perhaps Xiao Xiang > will respond later. > > I am creating a simulator example that runs the TCP blaster example > using the loopback 127.0.0.1 device. I will give that to you once I > verify it. > >