Aha! - was missing the CONFIG_SYSTEM_PING! I looked at the CONFIG_NETUTILS_PING help and it said it depended on NET_ICMP and was selected by SYSTEM_PING...that confused me.
Thanks! I can run ping now but it fails with: ERROR: socket() failed: 93 That's "protocol not supported", so I will dig deeper and continue my comparison of defconfigs. >-----Original Message----- >From: Alan C. Assis <[email protected]> >Sent: 26 January 2023 12:21 >To: [email protected] >Subject: Re: PING > >Hi Tim, > >Did you enable ICMP protocol? > >Basically you need these flags: > >CONFIG_NET_ICMP >CONFIG_NETUTILS_PING >CONFIG_SYSTEM_PING > >BR, > >Alan > >On 1/26/23, Tim Hardisty <[email protected]> wrote: >> Hi Alan - yes, I'm doing that to check what I missed for RNDIS >> (followed your video guide btw), but I can't explain why the PING app isn't >available: >> any thoughts on that? >> >> > On 25/01/2023, 23:12, "Alan C. Assis" <[email protected] >> <mailto:[email protected]>> wrote: >> >>> When you had double about your configuration, the best option is >>> looking some working board config example. >> >>> In this case take a look at >>> boards/stm32f4discovery/configs/rndis/defconfig >> >>> On 1/25/23, Tim Hardisty <[email protected] >>> <mailto:[email protected]>> >>> wrote: >>>> I did turn the firewall off, just in case, but still no ping >>>> response >>>> *from* >>>> my board. Windows usually allows outward pings without problem. But >>>> this may >>> be more relevant once I can get the NuttX ping to Windows available. >>>> >>>> Linux not even seeing my board with RNDIS, but think I found that >>>> when I last tried this, years ago. >>>> >>>>> On 25/01/2023, 19:11, "Gregory Nutt" <[email protected] >>>>> <mailto:[email protected]> >>>> <mailto:[email protected] <mailto:[email protected]>>> >wrote: >>>> >>>>> The windows firewall usually blocks pings (at least incoming pings). >>>>> May sure that you configure the firewall to permit this operation. >>>> >>>>>On 1/25/2023 1:01 PM, Tim Hardisty wrote: >>>>>> Hi all, >>>>>> >>>>>>I'm trying to get RNDIS working. It nearly does - Windows sees the >>>>>>"gadget" and it has the right IP address etc. But I can't ping my >>>>>>board. >>>>>> >>>>>> Probably some buried config setting that I'm yet to find, so I >>>>>> thought I'd try pinging the Windows (11) PC from my board instead, >>>>>> so enabled the built-in ping example app. >>>>>> >>>>>> It compiles OK but the app is not available from the shell: typing "?" >>>>>> at >>>>>> the nsh prompt, and the app isn't listed whereas others that I've >>>>>> enabled are there. >> >>
