I fixed the routing table on my laptop and can ping the Nuttx board now;
and the NuttX board can ping the laptop. Super!

NuttX reports an ethernet address of ff:ff:ff:ff:ff:ff though. I'll look
into how to add logic to set a better ethernet address.

I'll do some bandwidth tests tomorrow with the EMAC and GMAC and report
back.

Thanks again for the help.

cheers
adam



On Sun, Jan 12, 2020 at 6:41 PM Gregory Nutt <spudan...@gmail.com> wrote:

>
> >> eth1 has no MAC address.
> > Hmmmm. How do I set this? Where is eth0's MAC set?
> eth0 will be configured by apps/netutils/netinit.  Bit it will
> initialize only one network.  It will require custom logic to initialize
> two networks.
> >
> >> Have you tried: nsh>ifup eth0
> > No. Bravo! That got the interface up! I can ping the interface from NSH
> > now. I think the routing table on my laptop needs work though– I can't
> ping
> > it from NSH, and I can't ping the NuttX board from the laptop.
>
> That means that you probably do not have apps/netutils/netinit
> configured correctly.  It can be configured to bring up the network.
> And it can be configured to handle cases where the cable is not
> connected and initialized the network later when the cable is connected.
>
> It is common not to be able to ping from the target.  That is usually
> because the host PC has disabled ping responses.  You probably need to
> disable the firewall altogether on the 10.0.0.xx network.
>
> Greg
>
>
>

-- 
Adam Feuer <a...@starcat.io>

Reply via email to