On Thu, Apr 22, 2021, at 9:27 AM, Grant Edwards wrote: > I'm trying to figure out a convenient way to transfer files between a > Linux machine (running Gentoo) and a Windows 10 machine (which has no > internet access). IP connection between the machines is not allowed. > > Yes, I can shuffle a USB flash drive back and forth, but that's > really annoying. > > Can I run an MTP server on a Linux host and connect a USB-C port on > the Linux machine to the USB-C port on the Windows machine (assuming > the Linux port is dual-role, which I need to confirm). >
Two usb-serial converters will be easiest. You can set some USB3 ports (typically one per machine) to device mode for debugging. It shows up as a serial device in userland. Gadget mode USB would work but needs something like an RPi.