public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: File transfer via USB?
Date: Thu, 22 Apr 2021 16:29:26 -0000 (UTC)	[thread overview]
Message-ID: <s5s896$l4q$1@ciao.gmane.io> (raw)
In-Reply-To: 20210422180622.69bd7ce4@ventiloplattform.tastytea.de

On 2021-04-22, tastytea <gentoo@tastytea.de> wrote:
> On 2021-04-22 14:27-0000 Grant Edwards <grant.b.edwards@gmail.com>
> 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.
>
> The easiest solution would be to connect both machines with an ethernet
> cable and run samba on Linux. The interfaces will be configured with a
> link-local address¹ automatically.

That won't use IP?

>> 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).
>
> If USB connections between the 2 machines are allowed then “IP
> connection between the machines is not allowed” surely does not apply
> to direct ethernet connections between the 2 machines?

I was told that it did.

It's possible that a local point-to-point Ethernet connection with a
non-IP protocol would work.

One idea was to configure a Raspberry py with USB port in gadget mode
and run an MTP server for use by the Windows side. The Linux side can
use NFS or whatever.  If the Linux machine had USB ports that
supported gadget mode (or USB-C dual-role), then I could just run the
MTP server on it, but I'm doubtful that's the case.

However, I've done some testing, and the description of the situation
that I was given doesn't seem to to be correct, so I think my initial
question is (at least for the moment) moot. 

--
Grant



  reply	other threads:[~2021-04-22 16:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 14:27 [gentoo-user] File transfer via USB? Grant Edwards
2021-04-22 15:25 ` karl
2021-04-23 23:57   ` Grant Taylor
2021-04-24  1:45     ` karl
2021-04-25 11:19       ` karl
2021-04-25 17:04       ` Grant Taylor
2021-04-25 17:39         ` karl
2021-04-25 18:15           ` [gentoo-user] " Grant Edwards
2021-04-25 19:08           ` [gentoo-user] " Grant Taylor
2021-04-25 18:14         ` [gentoo-user] " Grant Edwards
2021-04-25 19:13           ` Grant Taylor
2021-04-25 22:08             ` David M. Fellows
2021-04-26  3:46               ` Grant Taylor
2021-04-26  5:05             ` Grant Edwards
2021-04-22 16:06 ` [gentoo-user] " tastytea
2021-04-22 16:29   ` Grant Edwards [this message]
2021-04-22 16:47     ` [gentoo-user] " antlists
2021-04-22 17:01     ` Kusoneko
2021-04-22 23:42       ` Grant Edwards
2021-04-23  0:53         ` William Kenworthy
2021-04-23  1:20 ` [gentoo-user] " Sid Spry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='s5s896$l4q$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox