Hi Tim,
Thank you for confirming! I noticed that Mr. Xiang Xiao already closed
the issue as well.
BR,
Alan
On 2/11/23, Tim Hardisty wrote:
>> On 28/01/2023, 14:11, "Alan C. Assis" wrote:
>
>> If there are inconsistencies, they are not specify of RNDIS driver by
>> itself, but could be in the
> On 28/01/2023, 14:11, "Alan C. Assis" wrote:
> If there are inconsistencies, they are not specify of RNDIS driver by
> itself, but could be in the USB implementation of other architectures.
Just for completeness, there was indeed a fix needed in the SAMA5 sam_udphs.c
code.
This is now done a
Other alternative that people can explore in this mean time:
Reverse tethering:
https://github.com/Genymobile/gnirehtet
Since NuttX has support to USB ADB, eventually it could work (I'm not
100% sure it will work)
More info: https://www.youtube.com/watch?v=96J-pHZ1kR0
BR,
Alan
On 1/28/23, Ti
If someone has the time and skills to do a CDC-NCM driver I will test it
straightaway!
As I commented on GitHub - thanks for reopening and, hopefully, I'll find what
the issue is stopping it working for me and others may find that useful:
Microsoft have not said they will deprecate it as yet, s
Ok, I re-opened it.
If there are inconsistencies they are not specify of RNDIS driver by
itself, but could be in the USB implementation of other architectures.
BTW, since RNDIS is deprecated it doesn't make sense to invest more time on it.
Like Michael said, it is time to look for a better alter
Please don't close my issue. There are too many inconsistencies here to be sure
it is closed:
Processor - I am not using stm32
OS - Windows/Linux/Ubuntu version maybe
RNDIS is likely to be deprecated
If I can get RNDIS working for me, that is the time to close it.
On 28/01/2023, 13:45, "Alan C
Hi Tim,
I just confirmed that it still working fine and I'll close your issue.
This is a step-by-step process that everyone can follow to get it working:
Configure your board:
=
$ ./tools/configure.sh stm32f4discovery:rndis
Compile NuttX to your board:
=
> On 28/01/2023, 00:09, "Masayuki Ishikawa"wrote:
> Shall we move the discussions to the github issues?
https://github.com/apache/nuttx/issues/8325
:)
ork on Linux either!
> > >
> > >>-Original Message-
> > >>From: Alan C. Assis
> > >>Sent: 27 January 2023 16:12
> > >>To: dev@nuttx.apache.org
> > >>Subject: Re: RNDIS
> > >>
> > >>Strange, it still av
eed, present so, in that
> case,
> > RNDIS doesn't work on Linux either!
> >
> >>-Original Message-
> >>From: Alan C. Assis
> >>Sent: 27 January 2023 16:12
> >>To: dev@nuttx.apache.org
> >>Subject: Re: RNDIS
> >&
rhaps it *will* be deprecated...
>
> Modprobe does suggest that rndis_host is, indeed, present so, in that case,
> RNDIS doesn't work on Linux either!
>
>>-Original Message-
>>From: Alan C. Assis
>>Sent: 27 January 2023 16:12
>>To: dev@nuttx.apache.org
Just what I read, perhaps it *will* be deprecated...
Modprobe does suggest that rndis_host is, indeed, present so, in that case,
RNDIS doesn't work on Linux either!
>-Original Message-
>From: Alan C. Assis
>Sent: 27 January 2023 16:12
>To: dev@nuttx.apache.org
&g
Hello Tim,
I was playing around with RNDIS a couple of years ago and could not get it
to work either. Which is why I started the CDC-ECM driver back then.
The right thing to do would probably be to create an CDC-NCM driver, as
CDC-NCM is supposed to be supported on Linux, MacOS and contemporary
Strange, it still available here:
$ sudo modprobe rndis_host
BR,
Alan
On 1/27/23, Tim Hardisty wrote:
> Seems that RNDIS on Linux is deprecated as it's deemed insecure, so I need
> to use CDC-ECM for Linux (which works), but there's no generic driver for
> that in Windows (unless anyone knows
Hi Greg,
On 1/25/22, Gregory Nutt wrote:
>> Good question! Normally the computer/host is supposed to run the DHCP
>> server, you need to check in the spec if there is some way to change
>> it.
>>
>
> I wrote a DHCP server a long time ago. It is at apps/netutils/dhcpd.
> Haven't used it in a long
> Good question! Normally the computer/host is supposed to run the DHCP
> server, you need to check in the spec if there is some way to change
> it.
>
I wrote a DHCP server a long time ago. It is at apps/netutils/dhcpd.
Haven't used it in a long time so I would expecit it to have some bit rot.
Good question! Normally the computer/host is supposed to run the DHCP
server, you need to check in the spec if there is some way to change
it.
On 1/25/22, TimH wrote:
> Will check those configs, thanks Alan. But I want the NuttX device to be
> the DHCP server, so the PC gets an IP address in the
Will check those configs, thanks Alan. But I want the NuttX device to be
the DHCP server, so the PC gets an IP address in the same subnet as the
NuttX device, assuming the PC is set to get IP addresses via DHCP. I
don't think the PC (Linux or Windows) can give the NuttX device an IP
address wit
Hi Tim,
Looking my see you can see that I faced some issues with Ubuntu
attributing DHCP address to my board, but I think it works if you use
a better dhcp server on Linux.
I suggest you too look how other boards are configuring it, i.e.:
boards/arm/lc823450/lc823450-xgevk/configs/rndis/defconfi
Wsl2 works fine with usb but needs a usb-tcp bridge.
Maybe a kernel recompile too.
I am using usb-serial cables with it.
On Fri, Jan 21, 2022, 15:38 TimH wrote:
> There are ways, like there are via some VMs, but I've not tried them. I
> do have an old, spare, laptop and also a PC so can always
There are ways, like there are via some VMs, but I've not tried them. I
do have an old, spare, laptop and also a PC so can always load 18.04 on
those if all else fails.
On 21/01/2022 18:15, Alan Carvalho de Assis wrote:
WSL doesn't have USB support AFAIK, I think even WSL2 it doesn't work fine
WSL doesn't have USB support AFAIK, I think even WSL2 it doesn't work fine yet.
On 1/21/22, TimH wrote:
> I guess I can try it on WSL too, but I'll also set up my Linux machine
> to dual boot 20.04 and 18.04. All part of the "Tim gets to grips with
> Linux" life experience :)
>
>
> On 21/01/2022
I guess I can try it on WSL too, but I'll also set up my Linux machine
to dual boot 20.04 and 18.04. All part of the "Tim gets to grips with
Linux" life experience :)
On 21/01/2022 16:30, Alan Carvalho de Assis wrote:
Hi Tim,
did you try other Linux distro? Maybe it could be some incompatibil
n 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
>>Sent: 21 January 2022 14:14
>>To: dev@nuttx.apac
ache.org
>Subject: RE: RNDIS
>
>>From: Tim Hardisty
>>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
>
>From: Tim Hardisty
>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, wi
Thanks Alanm - my lack on Linux knowledge failed me again. Never used
dmesg...luckily I like learning lol.
From Linux machine:
[ 3399.181365] usb 1-2: new high-speed USB device number 21 using xhci_hcd
[ 3399.337980] usb 1-2: New USB device found, idVendor=584e,
idProduct=5342, bcdDevice= 0.0
Please verify if dmesg can give use some hint about the issue.
On 1/20/22, TimH wrote:
> Nope, doesn't show. So RNDIS is not working right on my board. What a
> surprise!
>
> On 20/01/2022 19:30, Alan Carvalho de Assis wrote:
>> Exactly, knowing Unix/Linux makes your live easier with NuttX.
>>
>>
Nope, doesn't show. So RNDIS is not working right on my board. What a
surprise!
On 20/01/2022 19:30, Alan Carvalho de Assis wrote:
Exactly, knowing Unix/Linux makes your live easier with NuttX.
Using "ip list" (or ifconfig) on Linux should display the new USB
RNDIS interface.
BR,
Alan
Exactly, knowing Unix/Linux makes your live easier with NuttX.
Using "ip list" (or ifconfig) on Linux should display the new USB
RNDIS interface.
BR,
Alan
On 1/20/22, TimH wrote:
> At home now, but don't recall USB settings of any sort there, just the
> wired Ethernet adapter of my machine. I
At home now, but don't recall USB settings of any sort there, just the
wired Ethernet adapter of my machine. I set that to the same subnet but
that's irrelevant. ifconfig on the Linux machine didn't show a USB
adapter, from memory.
I'll have to hunt around for USB adapter settings - they're pr
Hi Tim,
You we welcome!
Are your Linux usb interface on this 10.0.0.x range as well? Is they
are not in the same network class it will not work.
BR,
Alan
On 1/20/22, Tim wrote:
> Following suggestions relating to FAT/MSD/USB I have been playing with
> RNDIS
> following the NuttX Channel video
age-
> From: Gregory Nutt [mailto:spudan...@gmail.com]
> Sent: Tuesday, July 21, 2020 3:53 PM
> To: dev@nuttx.apache.org
> Subject: [!!Mass Mail]Re: RNDIS Kinetis
>
>
> > Now I'm facing a problem with the RNDIS driver under Kinetis USB device
> (K28-Freedom)
Now I'm facing a problem with the RNDIS driver under Kinetis USB device
(K28-Freedom), it is not working.
If I'm not wrong I think I tracked it down: The Kinetis USB device driver
doesn't support accompanying data in an nonstandard OUT setup packet.
Has someone already fixed this and can file
34 matches
Mail list logo