Hi Tim,
did you try other Linux distro? Maybe it could be some incompatibility
in recent Linux kernel.

I suggest you to test on an old Linux distro (i.e. Ubuntu 18.04 LTS)
just to double check.

BR,

Alan

On 1/21/22, Tim <t...@jti.uk.com> wrote:
> Windows now working properly but not Linux. My board can be powered via the
> USB and I think it all got confused as I had been leaving the USB cable
> connected, coupled with not flashing code but using JTAG download for
> debugging, coupled with not repowering the board very often.
>
> I can now telnet from Windows.
>
> Linux remains an issue, but I'm looking at whether there are any RNDIS
> driver updates for Ubuntu or something like that.
>
> But, for once, I at least have *something* working :)
>
>>-----Original Message-----
>>From: Tim <t...@jti.uk.com>
>>Sent: 21 January 2022 14:14
>>To: dev@nuttx.apache.org
>>Subject: RE: RNDIS
>>
>>>From: Tim Hardisty <t...@jti.uk.com>
>>>Sent: 21 January 2022 11:15
>>
>>>[ 3399.339551] rndis_host 1-2:1.0: dev can't take 1558 byte packets
>>>(max 1364), adjusting MTU to 1306
>>
>>Easily fixed:
>>
>>CONFIG_NET_ETH_PKT_SIZE=1518
>>
>>But RNDIS still doesn't work, having checked every option I can find.
>>
>>Windows doesn't like it, with nsh reporting loads of unknown message types
>> (e.g.
>>1162626371, 1030976101), and Bad packet size dropper (0). But it does show
>> as a
>>network adapter on the PC.
>>
>>Linux dmesg still shows the same: rndis_host 1-2:1.0:
>>RNDIS_MSG_QUERY(0x01010101) failed, -32
>>
>>CDC-ECM Ethernet-over-USB worked straight away, which is fine for Linux
>> but
>>not for Windows.
>>
>>
>
>
>

Reply via email to