If it's your device and your computer you could just use CDC-NCM instead. I've used that successfully between Pi-like devices (Beaglebone Black) and FreeBSD servers.
Here's the script, based on the Beaglebone Linux's bb-usb-gadgets package:
Theo
If it's your device and your computer you could just use CDC-NCM instead. I've used that successfully between Pi-like devices (Beaglebone Black) and FreeBSD servers.
Here's the script, based on the Beaglebone Linux's bb-usb-gadgets package:
Theo
Found the upstream bookworm version:
That's neat and cute and works nicely. It's cleaner than the one I use at work for setting up RNDIS gadgets on our USB IP for customers. Customers always ask for RNDIS but offering NCM will maybe make them move.
Of course it took longer to figure out why naff all happened when trying this on an RPI Zero and that's because I'd forgotten to load the USB driver in OTG mode. Even Windows played nicely with installing its NCM drivers which is probably a first.
If only my modern-ish Android 14 phone would use NCM not RNDIS.
Have something to add? Share your thoughts — no account required.
Ask the community — no account required