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 <t...@hardisty.co.uk> 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" <acas...@gmail.com
> <mailto:acas...@gmail.com>> 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 <t...@hardisty.co.uk <mailto:t...@hardisty.co.uk>>
>> 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" <spudan...@gmail.com
>>>> <mailto:spudan...@gmail.com>
>>> <mailto:spudan...@gmail.com <mailto:spudan...@gmail.com>>> 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.
>
>

Reply via email to