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

> Have you turned on network debug output?  At least errors and warnings.
>

Yes, I have the following set:

CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_NET_INFO=y


> eth1 has no MAC address.
>

Hmmmm. How do I set this? Where is eth0's MAC set?


> Are you using NSH?  Do you have apps/netutils/netinit enabled?
>

Yes to NSH. Yes to apps/netutils/netinit.


> 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.

The networks should come up if properly configured and there are cables
> plugged into a network.
>

And so they do if I issue the "ifup" command. I guess I'm too used to doing
that with ifconfig under linux. I didn't know about the ifup command! :)

You might look at the other GMAC configurations to see if you are
> missing any settings


Looks like I'm closer now. Thank you!

cheers
adam

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

Reply via email to