From: none@invalid.com   
      
   On 17/07/2025 12:39, Theo wrote:   
   > mm0fmf wrote:   
   >> On 15/07/2025 21:04, druck wrote:   
   >>> On 11/07/2025 07:30, mm0fmf wrote:   
   >>>> On 11/07/2025 06:23, David Taylor wrote:   
   >>>>> On 11/07/2025 01:37, vjp2.at@at.BioStrategist.dot.dot.com wrote:   
   >>>>>> If I connect the RasPi to my laptop by USB is there any software   
   >>>>>> which allows my laptop to be KVM (Keyboard, Video, Mouse)?   
   >>>>>>   
   >>>>>> PuTTY may work, but it doesn't have graphics.   
   >>>>>   
   >>>>> I recall PuTTY having some X11 extension, but I use VNC which, I   
   >>>>> suspect, is LAN/WiFi only.   
   >>>>   
   >>>> Setup RNDIS and you have a network connection between the two over USB.   
   >>>   
   >>> The first search hit on RNDIS for Linux was how they are trying to   
   >>> expunge the horribly insecure Microsoft protocol from the Linux kernel!   
   >>>   
   >>> ---druck   
   >> Oh noes!!!!!! MS and insecure protocols.   
   >>   
   >> Yes, RNDIS is insecure. But do you know what, if you allow someone to   
   >> plug any random device into your computer then insecure protocols are   
   >> the least of your problems. If it's your device and your computer then   
   >> it's no big deal.   
   >   
   > 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:   
   > https://github.com/CTSRD-CHERI/morello-bbb-ubuntu-image-builde   
   /blob/master/morello/bb-start-acm-ncm-rndis-old-gadget   
   >   
   > It does some combination of USB serial (CDC-ACM), mass storage, RNDIS and   
   > NCM depending on which options you pick.   
   >   
   > Theo   
   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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|