Gentoo Archives: gentoo-user

From: Sid Spry <sid@××××.us>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] File transfer via USB?
Date: Fri, 23 Apr 2021 01:20:51
Message-Id: df9e0e9e-aee1-41b6-a414-4f93ecec4de5@www.fastmail.com
In Reply to: [gentoo-user] File transfer via USB? by Grant Edwards
1 On Thu, Apr 22, 2021, at 9:27 AM, Grant Edwards wrote:
2 > I'm trying to figure out a convenient way to transfer files between a
3 > Linux machine (running Gentoo) and a Windows 10 machine (which has no
4 > internet access). IP connection between the machines is not allowed.
5 >
6 > Yes, I can shuffle a USB flash drive back and forth, but that's
7 > really annoying.
8 >
9 > Can I run an MTP server on a Linux host and connect a USB-C port on
10 > the Linux machine to the USB-C port on the Windows machine (assuming
11 > the Linux port is dual-role, which I need to confirm).
12 >
13
14 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.