Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The best defense against logic is ignorance.


computers / alt.comp.os.windows-10 / Re: Samba server on Android

SubjectAuthor
* Samba server on AndroidKenny McCormack
+* Re: Samba server on AndroidAndy Burns
|`* Re: Samba server on AndroidFrank Slootweg
| +* Re: Samba server on AndroidAndy Burns
| |`- Re: Samba server on AndroidChar Jackson
| `* Re: Samba server on AndroidKenny McCormack
|  +- Re: Samba server on AndroidGronk
|  `- Re: Samba server on AndroidFrank Slootweg
`* Re: Samba server on AndroidVanguardLH
 `* Re: Samba server on AndroidFrank Slootweg
  `* Re: Samba server on AndroidVanguardLH
   +* Re: Samba server on Androidallspam
   |+* Re: Samba server on AndroidAndy Burns
   ||`- Re: Samba server on Androidallspam
   |`* Re: Samba server on AndroidJoerg Lorenz
   | `* Re: Samba server on AndroidFrank Slootweg
   |  `* Re: Samba server on AndroidRobin Goodfellow
   |   `- Re: Samba server on AndroidKenny McCormack
   `* Re: Samba server on AndroidFrank Slootweg
    +* Re: Samba server on AndroidRabidHussar
    |`- Re: Samba server on AndroidPaul
    `* Re: Samba server on AndroidCarlos E. R.
     `* Re: Samba server on AndroidFrank Slootweg
      +- Re: Samba server on AndroidCarlos E. R.
      `- Re: Samba server on AndroidVanguardLH

1
Samba server on Android

<sh5njg$1oi7c$1@news.xmission.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=54996&group=alt.comp.os.windows-10#54996

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: alt.comp.os.windows-10
Subject: Samba server on Android
Date: Mon, 6 Sep 2021 18:45:04 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <sh5njg$1oi7c$1@news.xmission.com>
Injection-Date: Mon, 6 Sep 2021 18:45:04 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1853676"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Mon, 6 Sep 2021 18:45 UTC

This is technically OP in this NG, but I note that this general topic has
been (and continues to be) extensively discussed here (even though it is,
obviously, OT).

Anyway, I now have an Android device and I would like to be able to "net use"
to it from Windows. It seems like this should be straightforward, but I
don't know which app to install on the Android device. What do you recommend?

Note: I don't need anything fancy. Don't need any kind of "sharing app" or
anything designed specifically for sharing photos or anything cutesy like
that. Just something to make a share accessible on the Android side.

TIA.

--
Men rarely (if ever) manage to dream up a God superior to themselves.
Most Gods have the manners and morals of a spoiled child.

Re: Samba server on Android

<ipn8dkF7i4uU2@mid.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=54999&group=alt.comp.os.windows-10#54999

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Mon, 6 Sep 2021 20:27:47 +0100
Lines: 10
Message-ID: <ipn8dkF7i4uU2@mid.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Y0C43yeq9u/RzEjMm8sZywm19fGrkqYJi0h+tgmbk5VODabpxl
Cancel-Lock: sha1:Wc/J3azE2rLz0JkBrqA3X0EN/gg=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.0.3
Content-Language: en-GB
In-Reply-To: <sh5njg$1oi7c$1@news.xmission.com>
 by: Andy Burns - Mon, 6 Sep 2021 19:27 UTC

Kenny McCormack wrote:

> I now have an Android device and I would like to be able to "net use"
> to it from Windows.

Having the TCP/UDP 137/138/139/445 ports permanently listening for
inbound connections on an android device is likely to either not be
allowed by power management or wreck your battery life if you find a way
to allow it ...

Re: Samba server on Android

<sh62qn.eb8.1@ID-201911.user.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55000&group=alt.comp.os.windows-10#55000

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: 6 Sep 2021 19:56:57 GMT
Organization: NOYB
Lines: 24
Message-ID: <sh62qn.eb8.1@ID-201911.user.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <ipn8dkF7i4uU2@mid.individual.net>
X-Trace: individual.net uJ+dkaOGP9crfjiNUcWsTQRHBmsvoKXL5oofuD3+Fa+bfLLICj
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:d4DtIBQ7dS+f7Owd5SZbK82wd/g=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 210906-4, 09/06/2021), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Mon, 6 Sep 2021 19:56 UTC

Andy Burns <usenet@andyburns.uk> wrote:
> Kenny McCormack wrote:
>
> > I now have an Android device and I would like to be able to "net use"
> > to it from Windows.
>
> Having the TCP/UDP 137/138/139/445 ports permanently listening for
> inbound connections on an android device is likely to either not be
> allowed by power management or wreck your battery life if you find a way
> to allow it ...

A non-rooted Android device cannot run a Windows-accessible Network
Share (SMB server), because non-root Android does not allow listening on
ports below 1000 and Windows uses port 445 which can not be changed on
the Windows side.

For some time I have used FtpUse on the Windows side, which allows a
Windows Network Drive mapped to a FTP server on the Android side, but
found it (the FTP mechanism) too limited.

In case you (Kenny) want to try that route:

'FtpUse - Map a FTP server as a Local Disk Drive'
<https://www.ferrobackup.com/map-ftp-as-disk.html>

Re: Samba server on Android

<ipnamiF80v4U1@mid.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55003&group=alt.comp.os.windows-10#55003

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Mon, 6 Sep 2021 21:06:40 +0100
Lines: 11
Message-ID: <ipnamiF80v4U1@mid.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com>
<ipn8dkF7i4uU2@mid.individual.net>
<sh62qn.eb8.1@ID-201911.user.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 5QZjohYeFWgBazymqyFWNQCiorx6SPktP1dIVtJ1gr3th0qo/a
Cancel-Lock: sha1:SEsaCJIUe+QVkF7EasLWtHGG6hk=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.0.3
Content-Language: en-GB
In-Reply-To: <sh62qn.eb8.1@ID-201911.user.individual.net>
 by: Andy Burns - Mon, 6 Sep 2021 20:06 UTC

Frank Slootweg wrote:

> A non-rooted Android device cannot run a Windows-accessible Network
> Share (SMB server), because non-root Android does not allow listening on
> ports below 1000 and Windows uses port 445 which can not be changed on
> the Windows side.

It *can* be changed on the windows side, using a kernel loopback adapter
and "netsh interface portproxy add v4tov4" commands ... it's a ball-ache
though and I've only used it on practice once.

Re: Samba server on Android

<sh5skt$1olre$1@news.xmission.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55004&group=alt.comp.os.windows-10#55004

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Mon, 6 Sep 2021 20:11:09 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <sh5skt$1olre$1@news.xmission.com>
References: <sh5njg$1oi7c$1@news.xmission.com> <ipn8dkF7i4uU2@mid.individual.net> <sh62qn.eb8.1@ID-201911.user.individual.net>
Injection-Date: Mon, 6 Sep 2021 20:11:09 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1857390"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Mon, 6 Sep 2021 20:11 UTC

In article <sh62qn.eb8.1@ID-201911.user.individual.net>,
Frank Slootweg <this@ddress.is.invalid> wrote:
....
> A non-rooted Android device cannot run a Windows-accessible Network
>Share (SMB server), because non-root Android does not allow listening on
>ports below 1000 and Windows uses port 445 which can not be changed on
>the Windows side.

Good point.

> For some time I have used FtpUse on the Windows side, which allows a
>Windows Network Drive mapped to a FTP server on the Android side, but
>found it (the FTP mechanism) too limited.

Wouldn't that suffer from the same problem as the SMB approach? I.e., that
FTP runs on ports 20 & 21 and those are privileged?

It may be possible to run an FTP server on a different (user-defined) port,
but I can't remember how well that works.

> In case you (Kenny) want to try that route:
>
>'FtpUse - Map a FTP server as a Local Disk Drive'
><https://www.ferrobackup.com/map-ftp-as-disk.html>

(That's for the Windows side, right? What did you use on the Android side
to get an FTP server running there?)

Changing the subject a bit, how about an ssh server on the Android side?

If I could do that, then I could run sshfs on Linux (N.B., not Windows) as
the client, and get pretty close to what I really want.

P.S. The limitation that non-root processes cannot run servers on ports
below 1024 on Unix and Unix-like OSes, is not cast-in-stone. It is just a
feature of the TCPIP stack as it tends to be implemented on those OSes.
(Note that, e.g., Windows has no such limitation).

Given that Android is a greatly modified hack of Linux, it is not
inconceivable that the makers/maintainers of Android could lift this
limitation. Note that I am not saying that they have done this or even
that they should, only that they could.

--
1) The only professionals who refer to their customers as "users" are
computer guys and drug dealers.
2) The only professionals who refer to their customers as "clients" are
lawyers and prostitutes.

Re: Samba server on Android

<161x07j9q5zhi.dlg@v.nguard.lh>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55005&group=alt.comp.os.windows-10#55005

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: V@nguard.LH (VanguardLH)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Mon, 6 Sep 2021 15:15:16 -0500
Organization: Usenet Elder
Lines: 59
Message-ID: <161x07j9q5zhi.dlg@v.nguard.lh>
References: <sh5njg$1oi7c$1@news.xmission.com>
Reply-To: invalid@invalid.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 9ZT01/Gncvflug/um9YgiQs1ZKJxtA5qYsgD4oXdkgs4h1DbH2
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:Dt8Z8P8CmCI+FYwkmbSA8w0ml/o=
User-Agent: 40tude_Dialog/2.0.15.41
 by: VanguardLH - Mon, 6 Sep 2021 20:15 UTC

Kenny McCormack <gazelle@shell.xmission.com> wrote:

> This is technically OP in this NG, but I note that this general topic has
> been (and continues to be) extensively discussed here (even though it is,
> obviously, OT).
>
> Anyway, I now have an Android device and I would like to be able to "net use"
> to it from Windows. It seems like this should be straightforward, but I
> don't know which app to install on the Android device. What do you recommend?
>
> Note: I don't need anything fancy. Don't need any kind of "sharing app" or
> anything designed specifically for sharing photos or anything cutesy like
> that. Just something to make a share accessible on the Android side.
>
> TIA.

Part 1:

Enable Developer Options on your phone. Yours may differ, but typically
you go into Settings -> General -> About phone -> Software Info, and tap
7 times on Build number. Navpath may vary on your unidentified phone
to get to About Phone. Then go to Settings -> General -> Developer
Options, and check it is On (enabled). Scroll down and enable debugging
mode.

Part 2:

Install the ADB (Android Debug Bridge) driver on your computer. Some
phone makers provide the driver. However, sometimes the phone makers
use some esoteric driver names that give no hint they are for the ADB
feature. There is almost no difference among them other than branding.
You could search on "ADB driver download <brand> <model>" to find the
ADB driver for your phone. This driver is what defines the hardware
interface between the computer's OS and the device. Install the driver.

Part 3:

Plug the phone into the computer using a USB cable. The phone will
appear as a new drive on the computer.

This was off the top of my head. There are plenty of online articles on
how to enable Developer Options and get ADB working between phone and
computer. A search on "<brand> <model> ADB" might be sufficient for you
to see how to enable Dev Options, and where to get the driver.

Alternatively, you can use sync apps that keep your phone and an online
account in sync for the files included in the sync, and use the sync app
on your computer to keep the selected files in sync with your account.
You are using cloud sync to keep files in sync between computer and
phone. Not all files, just the locations you select. I use Microsoft's
OneDrive to do cloud sync, but Google Drive (later renamed to Google
Backup & Restore, and to get renamed again to Google Sync) works too.
However, I've ran into locked/hung syncs when both OneDrive and Google
Drive are used when they are both attempting a sync job on the same
locations (i.e., files are inuse). The apps are easy to install and
use. No having to enable Dev Options and USB debug mode. No driver to
install. No USB cabling. And the files are available anywhere you can
get an Internet connection to get them from your online account onto any
device using a web browser.

Re: Samba server on Android

<sh6kna$b4d$1@news.mixmin.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55026&group=alt.comp.os.windows-10#55026

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!.POSTED!not-for-mail
From: invalid@invalid.invalid (Gronk)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Mon, 6 Sep 2021 21:02:04 -0600
Organization: 2.0
Message-ID: <sh6kna$b4d$1@news.mixmin.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <ipn8dkF7i4uU2@mid.individual.net> <sh62qn.eb8.1@ID-201911.user.individual.net> <sh5skt$1olre$1@news.xmission.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 7 Sep 2021 03:02:03 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="1cb78444e35537debd6aa0f5d4fa9fc3078457af";
logging-data="11405"; mail-complaints-to="abuse@mixmin.net"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
 by: Gronk - Tue, 7 Sep 2021 03:02 UTC

Kenny McCormack wrote:
> Wouldn't that suffer from the same problem as the SMB approach? I.e., that
> FTP runs on ports 20 & 21 and those are privileged?

The difference is you can't run the smbv3 server on Android not rooted
and have it work with Windows (without mapping the ports as said prior).

FTP works ok to "map network drive" the Android filesys onto Windows 10.

But a free Android WebDav works much better to connect than does FTP (imo).

With WebDav Android devices show up as a drive letter on Windows over wifi.
You can then run Windows commands directly on the Android filesys over wifi.

Re: Samba server on Android

<sh7ucp.c6s.1@ID-201911.user.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55040&group=alt.comp.os.windows-10#55040

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: 7 Sep 2021 12:53:20 GMT
Organization: NOYB
Lines: 65
Message-ID: <sh7ucp.c6s.1@ID-201911.user.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <ipn8dkF7i4uU2@mid.individual.net> <sh62qn.eb8.1@ID-201911.user.individual.net> <sh5skt$1olre$1@news.xmission.com>
X-Trace: individual.net 388ReO0LMh465oLOlrihnAVhjO8tLgci87xYsdyWy64k9eYpi5
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:i35Z9ebZh9dgwfVtf7vyG22E8eM=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 210907-2, 09/07/2021), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Tue, 7 Sep 2021 12:53 UTC

Kenny McCormack <gazelle@shell.xmission.com> wrote:
> In article <sh62qn.eb8.1@ID-201911.user.individual.net>,
> Frank Slootweg <this@ddress.is.invalid> wrote:
> ...
> > A non-rooted Android device cannot run a Windows-accessible Network
> >Share (SMB server), because non-root Android does not allow listening on
> >ports below 1000 and Windows uses port 445 which can not be changed on
> >the Windows side.
>
> Good point.
>
> > For some time I have used FtpUse on the Windows side, which allows a
> >Windows Network Drive mapped to a FTP server on the Android side, but
> >found it (the FTP mechanism) too limited.
>
> Wouldn't that suffer from the same problem as the SMB approach? I.e., that
> FTP runs on ports 20 & 21 and those are privileged?
>
> It may be possible to run an FTP server on a different (user-defined) port,
> but I can't remember how well that works.

FtpUse can set a portnumber (/PORT: option) and FTP servers on
Android can use/set portnumbers as well.

> > In case you (Kenny) want to try that route:
> >
> >'FtpUse - Map a FTP server as a Local Disk Drive'
> ><https://www.ferrobackup.com/map-ftp-as-disk.html>
>
> (That's for the Windows side, right? What did you use on the Android side
> to get an FTP server running there?)

Yes, FtpUse is for the Windows side. It's similar to the standard
Windows 'net use' command, hence the similar name. On the Android side I
use the FTP server which is part of the 'ES File Explorer' app, but that
app (there are several apps with similar names) is no longer in the Play
Store (long story). But there are many FTP servers for Android, just
search the Play Store or Google Play website on 'FTP server' and you'll
find them.

> Changing the subject a bit, how about an ssh server on the Android side?
>
> If I could do that, then I could run sshfs on Linux (N.B., not Windows) as
> the client, and get pretty close to what I really want.

I have no experience with ssh servers (sshd?) on Android, but probably
they can be installed in the Termux environment and there probably are
standalone apps as well. (A search on 'sshd' gives several candidates.)

'Termux'
<https://play.google.com/store/apps/details?id=com.termux>

> P.S. The limitation that non-root processes cannot run servers on ports
> below 1024 on Unix and Unix-like OSes, is not cast-in-stone. It is just a
> feature of the TCPIP stack as it tends to be implemented on those OSes.
> (Note that, e.g., Windows has no such limitation).
>
> Given that Android is a greatly modified hack of Linux, it is not
> inconceivable that the makers/maintainers of Android could lift this
> limitation. Note that I am not saying that they have done this or even
> that they should, only that they could.

Yes, they could, but they won't. Other than for Windows, Linux, etc.,
Google has decided that the owner of the phone cannot be trusted to
manage it! :-(

Re: Samba server on Android

<sh7va0.c6s.1@ID-201911.user.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55041&group=alt.comp.os.windows-10#55041

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: 7 Sep 2021 13:09:06 GMT
Organization: NOYB
Lines: 64
Message-ID: <sh7va0.c6s.1@ID-201911.user.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh>
X-Trace: individual.net gqD+muT9XYoBJuwuCIen5gjSTyPwlHrScXV9lgJbJJ7kGUwJnN
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:dtAOrESAWkXfa8Gf80APyG/i3j8=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 210907-2, 09/07/2021), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Tue, 7 Sep 2021 13:09 UTC

VanguardLH <V@nguard.lh> wrote:
> Kenny McCormack <gazelle@shell.xmission.com> wrote:
>
> > This is technically OP in this NG, but I note that this general topic has
> > been (and continues to be) extensively discussed here (even though it is,
> > obviously, OT).
> >
> > Anyway, I now have an Android device and I would like to be able to "net use"
> > to it from Windows. It seems like this should be straightforward, but I
> > don't know which app to install on the Android device. What do you recommend?
> >
> > Note: I don't need anything fancy. Don't need any kind of "sharing app" or
> > anything designed specifically for sharing photos or anything cutesy like
> > that. Just something to make a share accessible on the Android side.
> >
> > TIA.
>
> Part 1:
>
> Enable Developer Options on your phone. Yours may differ, but typically
> you go into Settings -> General -> About phone -> Software Info, and tap
> 7 times on Build number. Navpath may vary on your unidentified phone
> to get to About Phone. Then go to Settings -> General -> Developer
> Options, and check it is On (enabled). Scroll down and enable debugging
> mode.
>
> Part 2:
>
> Install the ADB (Android Debug Bridge) driver on your computer. Some
> phone makers provide the driver. However, sometimes the phone makers
> use some esoteric driver names that give no hint they are for the ADB
> feature. There is almost no difference among them other than branding.
> You could search on "ADB driver download <brand> <model>" to find the
> ADB driver for your phone. This driver is what defines the hardware
> interface between the computer's OS and the device. Install the driver.
>
> Part 3:
>
> Plug the phone into the computer using a USB cable. The phone will
> appear as a new drive on the computer.

Unless I'm misunderstanding what you're describing, what will appear
is *not* a new *drive*, i.e. it will not have a drive letter. What will
appear is a 'thing' - for example 'Frank's Galaxy A51' - (which you can
'open' and browse around in) which is *only* accessible in (Windows)
File Explorer.

It not having a drive letter and being only accessible in File
Explorer - i.e. for example not in a Command Prompt windows and not in
most (if not all) other programs - is a severe limitation.

If FE access is all one needs, then fine, but user beware.

> This was off the top of my head. There are plenty of online articles on
> how to enable Developer Options and get ADB working between phone and
> computer. A search on "<brand> <model> ADB" might be sufficient for you
> to see how to enable Dev Options, and where to get the driver.

N.B. If we're talking about the same thing, i.e. a 'thing' accessible
only in FE, then your 'Part 1' and 'Part 2' are normally not needed,
i.e. just plug in the USB cable and Windows does the rest (make a MTP
connection between the two).

[...]

Re: Samba server on Android

<d6ev5kxyfdm1$.dlg@v.nguard.lh>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55061&group=alt.comp.os.windows-10#55061

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: V@nguard.LH (VanguardLH)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Tue, 7 Sep 2021 15:29:22 -0500
Organization: Usenet Elder
Lines: 99
Message-ID: <d6ev5kxyfdm1$.dlg@v.nguard.lh>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net>
Reply-To: invalid@invalid.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Tc55eDKWwy4UmrW3ovZ4EQmybSUmURyLDK8IUJK9Nh4mkx/Q5Z
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:dl/qEhstlUYn/NHmF87RsztgF9I=
User-Agent: 40tude_Dialog/2.0.15.41
 by: VanguardLH - Tue, 7 Sep 2021 20:29 UTC

Frank Slootweg <this@ddress.is.invalid> wrote:

> VanguardLH <V@nguard.lh> wrote:
>> Kenny McCormack <gazelle@shell.xmission.com> wrote:
>>
>>> This is technically OP in this NG, but I note that this general topic has
>>> been (and continues to be) extensively discussed here (even though it is,
>>> obviously, OT).
>>>
>>> Anyway, I now have an Android device and I would like to be able to "net use"
>>> to it from Windows. It seems like this should be straightforward, but I
>>> don't know which app to install on the Android device. What do you recommend?
>>>
>>> Note: I don't need anything fancy. Don't need any kind of "sharing app" or
>>> anything designed specifically for sharing photos or anything cutesy like
>>> that. Just something to make a share accessible on the Android side.
>>>
>>> TIA.
>>
>> Part 1:
>>
>> Enable Developer Options on your phone. Yours may differ, but typically
>> you go into Settings -> General -> About phone -> Software Info, and tap
>> 7 times on Build number. Navpath may vary on your unidentified phone
>> to get to About Phone. Then go to Settings -> General -> Developer
>> Options, and check it is On (enabled). Scroll down and enable debugging
>> mode.
>>
>> Part 2:
>>
>> Install the ADB (Android Debug Bridge) driver on your computer. Some
>> phone makers provide the driver. However, sometimes the phone makers
>> use some esoteric driver names that give no hint they are for the ADB
>> feature. There is almost no difference among them other than branding.
>> You could search on "ADB driver download <brand> <model>" to find the
>> ADB driver for your phone. This driver is what defines the hardware
>> interface between the computer's OS and the device. Install the driver.
>>
>> Part 3:
>>
>> Plug the phone into the computer using a USB cable. The phone will
>> appear as a new drive on the computer.
>
> Unless I'm misunderstanding what you're describing, what will appear
> is *not* a new *drive*, i.e. it will not have a drive letter. What will
> appear is a 'thing' - for example 'Frank's Galaxy A51' - (which you can
> 'open' and browse around in) which is *only* accessible in (Windows)
> File Explorer.

It's been a long time since I used Debug Mode between phone and PC. My
recollection, after doing the setup, was that plugging in the USB cable
from phone into the PC resulted in a new device showing up in File
Explorer, and I thought it was as a drive.

I'd have to do the setup on my current phone to see what got enumerated
in the registry to see what type of device got added. If it were a mass
storage device type, it should show up as a drive. If it were defined
as some other device, yep, then it might appear as a named device.
Since you have to install the ADB driver to interface with the phone,
could be the phone is listed as an ADB device instead of a drive. In
any case, the OP can look at the files on his phone using his computer.

> It not having a drive letter and being only accessible in File
> Explorer - i.e. for example not in a Command Prompt windows and not in
> most (if not all) other programs - is a severe limitation.

Ask the OP if he wants access other than via File Explorer.

>> This was off the top of my head. There are plenty of online articles on
>> how to enable Developer Options and get ADB working between phone and
>> computer. A search on "<brand> <model> ADB" might be sufficient for you
>> to see how to enable Dev Options, and where to get the driver.
>
> N.B. If we're talking about the same thing, i.e. a 'thing' accessible
> only in FE, then your 'Part 1' and 'Part 2' are normally not needed,
> i.e. just plug in the USB cable and Windows does the rest (make a MTP
> connection between the two).

That you see the phone as a named device instead of a drive probably has
to do with your different method of interfacing the computer to the
phone. In the past, MTP connects weren't possible, or were iffy. Might
be better now.

https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
See section "Why Modern Android Devices Don’t Support USB Mass Storage"
and section "MTP – Media Device"

Back when I was doing this, MTP (an extension to PTP) wasn't available
on some smartphones, and PTP often didn't work right.

https://en.wikipedia.org/wiki/Media_Transfer_Protocol
"The USB Implementers Forum device working group standardised MTP as a
full-fledged Universal Serial Bus (USB) device class in May 2008."

That doesn't mean when smartphones adopted MTP, by default, on USB
connects. The OP never revealed which brand and model of smartphone he
has, or what version of Android is running on it. Being in the dark, I
gave an answer from the dark ages of smartphones. It probably still
works on new smartphones.

Re: Samba server on Android

<sh8k40$avq$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55070&group=alt.comp.os.windows-10#55070

 copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: allspam@allspam.invalid (allspam)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android
Subject: Re: Samba server on Android
Date: Tue, 7 Sep 2021 17:04:02 -0400
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <sh8k40$avq$1@dont-email.me>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 7 Sep 2021 21:04:01 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="af4708a2d7fe315b62e6aabdafa521a1";
logging-data="11258"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OgtnlFh+hxgd23cgt04Rk"
User-Agent: Thoth/1.9.0 (Mac OS X)
Cancel-Lock: sha1:p0i/5dzGR7IyW5zirfGZj0Ul0yU=
 by: allspam - Tue, 7 Sep 2021 21:04 UTC

In article <news:d6ev5kxyfdm1$.dlg@v.nguard.lh>, VanguardLH <V@nguard.LH>
wrote:
> Being in the dark, I
> gave an answer from the dark ages of smartphones. It probably still
> works on new smartphones.

FYI: Frank and I have tested _every_ possible Android-to-Windows connection.
As far as I know, we are the two main experts in Android/Windows networking.

We've tested _every single suggested method_ (to my knowledge) over time.
0. Android freeware (worked perfectly for me on Nougat 7.0)
1. NetDrive freeware (worked perfectly for me on Windows 10)
2. DirectNetDrive freeware (worked perfectly for me on Windows 10)
3. FTPUse freeware (did not work for me on Windows 10)
4. SFTP NetDrive freeware (did not work for me on Windows 10)
5. FTPDrive freeware (did not work for me on Windows 10)
6. WebDrive trialware (did not work for me on Windows 10)
7. Windows 10 native commands (worked fine for WebDAV but failed for FTP)

These include adb & mtp (e.g., libmtp) in addition to the main servers.
This also includes the main clients (e.g., SMBv3 clients on Android).

We've covered all the syntax involved, and the caveats, and issues.
UNC & URI Syntax:
\\HostName[@SSL][@Port]\SharedFolder\Resource
ftp://[user[:password]@]host[:port]/url-path
http://[user[:password]@]host[:port]/url-path
Web browser URL (worked perfectly)
ftp://francis:francis@192.168.1.7:2221/DCIM/Camera
<http://www.bild.me/bild.php?file=9948610ftpshare03.jpg>
<http://www.bild.me/bild.php?file=5127116ftpshare04.jpg>
Windows network URI (worked perfectly)
ftp://francis:francis@192.168.1.7:2221/DCIM/Camera
<http://www.bild.me/bild.php?file=4785408ftpshare01.jpg>
<http://www.bild.me/bild.php?file=8734999ftpshare02.jpg>
Windows "net use" (works perfectly for WebDAV)
net use X: \\192.168.1.7@8000\DCIM\Camera /USER:francis francis
<http://www.bild.me/bild.php?file=8605173dir05.jpg>
<http://www.bild.me/bild.php?file=9764689dir015.jpg>
<http://www.bild.me/bild.php?file=2542487dir016.jpg>
<http://www.bild.me/bild.php?file=8381514dir017.jpg>
<http://www.bild.me/bild.php?file=2373390dir019.jpg>
Windows "net use" (fails miserably for FTP)
net use X: \\192.168.1.7@2221\DCIM\Camera /USER:francis francis
<http://www.bild.me/bild.php?file=3626731dir018.jpg>
etcetera

After having tested them _all_... I think (AFAIK)...
a. Frank prefers FTP (which "maps network drive") reasonably well.
b. I prefer WebDav (which allows Android to be mapped as a drive letter).

Both work fine over wifi and both allow you to run Windows command on the
entire Android visible file system (which depends on Android permissions).

What both Frank and I would love is for SMB/CIFS/Samba to work better.
But on non-rooted Android you have to mess with Windows port mapping.

Since we've discussed _every_ method above to death, there's really no value
in re-hashing the same old information over and over and over again.

Unless there's something new???

Re: Samba server on Android

<ipq2t0Fo7rgU1@mid.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55072&group=alt.comp.os.windows-10#55072

 copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android
Subject: Re: Samba server on Android
Date: Tue, 7 Sep 2021 22:11:59 +0100
Lines: 9
Message-ID: <ipq2t0Fo7rgU1@mid.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh>
<sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh>
<sh8k40$avq$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net iuqTldxHc2qMK+4pj1mqpQRiCceSukPh08n1CXH4I5pMv7/Tep
Cancel-Lock: sha1:QyjvIr9buEhrRDTzQHnu2CPFwOk=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.1.0
Content-Language: en-GB
In-Reply-To: <sh8k40$avq$1@dont-email.me>
 by: Andy Burns - Tue, 7 Sep 2021 21:11 UTC

allspam wrote:

> <http://www.bild.me/bild.php?file=9948610ftpshare03.jpg>
> <http://www.bild.me/bild.php?file=5127116ftpshare04.jpg>

All your image hosting links are b0rked.

what does running a TCP server on android do for battery life? Whether
it's just listening, or when it's actually connected.

Re: Samba server on Android

<sh8ngq$2sv$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55076&group=alt.comp.os.windows-10#55076

 copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: allspam@allspam.invalid (allspam)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android
Subject: Re: Samba server on Android
Date: Tue, 7 Sep 2021 18:02:04 -0400
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <sh8ngq$2sv$1@dont-email.me>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh> <sh8k40$avq$1@dont-email.me> <ipq2t0Fo7rgU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 7 Sep 2021 22:02:03 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="67d4a91ea397f92fa307e9309afa9bab";
logging-data="2975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4WgVYtK8NCg0a1w/a/vWo"
User-Agent: Thoth/1.9.0 (Mac OS X)
Cancel-Lock: sha1:lkybZrdDYnrQHIhDhDiAjb8aFms=
 by: allspam - Tue, 7 Sep 2021 22:02 UTC

Andy Burns <usenet@andyburns.uk> asked
> what does running a TCP server on android do for battery life? Whether
> it's just listening, or when it's actually connected.

Hi Andy,

Here is one of my old screenshots of my networking folder on Android:
<https://i.postimg.cc/3r0yNRcT/network02.jpg> (this is on a $100 Moto G7)

Here's a screenshot today (on a completely different phone) of the same:
<https://i.postimg.cc/Zn73yqm1/network03.jpg> (this is on a free A32 5G)

Those more recent links should work. What you saw before was when I pulled
the much older links you found out of just one of scores of the very many
tutorials I wrote on how to connect Android to Windows seamlessly (after
having tested _every_ method known to man suggested on these newsgroups).

I didn't check those old (borked) images as my point was re-hashing this out
(again and again and again and again) adds zero value to the discussion.

The only thing that could add value is something new (e.g., when free
Android SMBv3 clients started shipping - which added security given that
SMBv1 was found to be insecure).

As for battery life on TCP, I don't know as what I've been using lately is
my free Samsung Galaxy A32 5G which has such a huge battery (5Amp Hour) and
fast charging (provided for free in the box no less!) that battery life
worries is a thing of the past.

Interestingly, if you've been following California news, PG&E has been
cutting off our power twice a week in the past month, for about a day each
time, where the Android phones are doing fine but all the iPhones are dead.

That's because Apple cheaped out on iPhone batteries, which is a known fact.
*Why Apple is Using Cheap Battery Parts in iPhone 12*
https://www.maticstoday.com/2020/08/21/why-apple-is-using-cheap-battery-parts-in-iphone-12/

My point is twofold (since you asked about battery life).
1. There is NOTHING NEW to be added (AFAICT) to Android/Windows networking
given Frank and I tested _every_ known method to the nth degree already.
We reported on all our results - and we each came to our own conclusions.
a. I believe Frank recommends FTP while I recommend WebDAV.
b. Both work fine (as to plenty of other methods we've tested).
c. The main reason I recommend WebDav is the advantage of a Drive Letter.
d. However Frank has, I believe, been able to drive letter FTP (did he?)

2. As for battery life, I didn't test battery life in my extensive tests.
I only tested connectivity and ability to run Windows on top of Android.
With my latest free Android phone, battery life is a problem of the past.

So someone _else_ will need to answer your question on battery life.
As for connectivity, my advice, after testing them all, is WebDav.

If you want to know the _best_ WebDav and FTP servers for Android, see my
screenshot where I pick the best software on the planet because I ask
everyone first, and because I test _all_ viable suggestions so I learn.
<https://i.postimg.cc/Zn73yqm1/network03.jpg> (this is on my free Samsung)
--
What matters isn't the meaningless wrapping paper but what's in the package.

Re: Samba server on Android

<sh94ad$4sk$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55091&group=alt.comp.os.windows-10#55091

 copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hugybear@gmx.ch (Joerg Lorenz)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android
Subject: Re: Samba server on Android
Date: Wed, 8 Sep 2021 03:40:29 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <sh94ad$4sk$1@dont-email.me>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh>
<sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh>
<sh8k40$avq$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 8 Sep 2021 01:40:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8dbf822506ba551f0cc7f76fe3b5cdad";
logging-data="5012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4hGPb6zLuDfqOe2ufhltJ/tncTWahNy8="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
Gecko/20100101 Thunderbird/78.13.0
Cancel-Lock: sha1:msX1Q5fwKhlPpG5A+2KGcDJezoc=
In-Reply-To: <sh8k40$avq$1@dont-email.me>
Content-Language: de-CH
 by: Joerg Lorenz - Wed, 8 Sep 2021 01:40 UTC

Am 07.09.21 um 23:04 schrieb allspam:
> In article <news:d6ev5kxyfdm1$.dlg@v.nguard.lh>, VanguardLH <V@nguard.LH>
> wrote:
>> Being in the dark, I
>> gave an answer from the dark ages of smartphones. It probably still
>> works on new smartphones.
>
> FYI: Frank and I have tested _every_ possible Android-to-Windows connection.
> As far as I know, we are the two main experts in Android/Windows networking.

I love people claiming to be experts on anything! I trust them most.
You are a stupid Troll and who the fuck is Frank?
*PLONK*

--
De gustibus non est disputandum

Re: Samba server on Android

<shd7tm.o8g.1@ID-201911.user.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55172&group=alt.comp.os.windows-10#55172

 copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android
Subject: Re: Samba server on Android
Date: 9 Sep 2021 13:06:39 GMT
Organization: NOYB
Lines: 25
Message-ID: <shd7tm.o8g.1@ID-201911.user.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh> <sh8k40$avq$1@dont-email.me> <sh94ad$4sk$1@dont-email.me>
X-Trace: individual.net 09+Pc2RipF6v5CXFMgMSPA1jpKrLWNd9DTMSMaGm7ox1M4s5p1
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:kqqLIh/ZvNKrZjm2V1Lkft5rpHU=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 210909-0, 09/09/2021), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Thu, 9 Sep 2021 13:06 UTC

Joerg Lorenz <hugybear@gmx.ch> wrote:
> Am 07.09.21 um 23:04 schrieb allspam:
> > In article <news:d6ev5kxyfdm1$.dlg@v.nguard.lh>, VanguardLH <V@nguard.LH>
> > wrote:
> >> Being in the dark, I
> >> gave an answer from the dark ages of smartphones. It probably still
> >> works on new smartphones.
> >
> > FYI: Frank and I have tested _every_ possible Android-to-Windows connection.
> > As far as I know, we are the two main experts in Android/Windows networking.
>
> I love people claiming to be experts on anything! I trust them most.
> You are a stupid Troll and who the fuck is Frank?

Uhhhh ... *me*, who posted twice in this thread before you did,
amongst which a response to VanguardLH, whose attribution line you
quoted.

Not that I value the - implicit - praise from 'allspam' (a.k.a. Arlen
Holder et al), but following this small thread or/and knowing who is in
your killfile shouldn't be that hard.

> *PLONK*

<firmly sitting on hands>

Re: Samba server on Android

<shd8p8.o8g.1@ID-201911.user.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55174&group=alt.comp.os.windows-10#55174

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: 9 Sep 2021 13:21:27 GMT
Organization: NOYB
Lines: 35
Message-ID: <shd8p8.o8g.1@ID-201911.user.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh>
X-Trace: individual.net sH8auqfVdF9SSV6I71ymagSrMwpM8aQ+JvtGfo75B4D7QwFKQF
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:NwbmWUX/x9BraL0EXxDPT2zdy6M=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 210909-0, 09/09/2021), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Thu, 9 Sep 2021 13:21 UTC

VanguardLH <V@nguard.lh> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:

[lots deleted]

> That you see the phone as a named device instead of a drive probably has
> to do with your different method of interfacing the computer to the
> phone. In the past, MTP connects weren't possible, or were iffy. Might
> be better now.

MTP on Android exists for at least eight years. I had in on my first
phone with Android 4.1.1 (in September 2013). It's the recommended
method for a USB connected Android device.

> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
> and section "MTP ? Media Device"

'USB Mass Storage', which indeed *did* show up as a drive in Windows,
was phased out because it has a high risk of data corruption, because
the phone and the computer can both modify the filesystem(s) at the same
time, without any synchronization/handshaking between the two.

> Back when I was doing this, MTP (an extension to PTP) wasn't available
> on some smartphones, and PTP often didn't work right.
>
> https://en.wikipedia.org/wiki/Media_Transfer_Protocol
> "The USB Implementers Forum device working group standardised MTP as a
> full-fledged Universal Serial Bus (USB) device class in May 2008."
>
> That doesn't mean when smartphones adopted MTP, by default, on USB
> connects. The OP never revealed which brand and model of smartphone he
> has, or what version of Android is running on it. Being in the dark, I
> gave an answer from the dark ages of smartphones. It probably still
> works on new smartphones.

Re: Samba server on Android

<A4o_I.35991$YW.3633@fx05.iad>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55175&group=alt.comp.os.windows-10#55175

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx05.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.1.0
Subject: Re: Samba server on Android
Content-Language: en-US
Newsgroups: alt.comp.os.windows-10
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh>
<sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh>
<shd8p8.o8g.1@ID-201911.user.individual.net>
From: rabid@huss.ar (RabidHussar)
In-Reply-To: <shd8p8.o8g.1@ID-201911.user.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <A4o_I.35991$YW.3633@fx05.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Thu, 09 Sep 2021 13:35:28 UTC
Organization: blocknews - www.blocknews.net
Date: Thu, 9 Sep 2021 09:35:29 -0400
X-Received-Bytes: 2215
 by: RabidHussar - Thu, 9 Sep 2021 13:35 UTC

On 2021-09-09 9:21 a.m., Frank Slootweg wrote:
> VanguardLH <V@nguard.lh> wrote:
>> Frank Slootweg <this@ddress.is.invalid> wrote:
>
> [lots deleted]
>
>> That you see the phone as a named device instead of a drive probably has
>> to do with your different method of interfacing the computer to the
>> phone. In the past, MTP connects weren't possible, or were iffy. Might
>> be better now.
>
> MTP on Android exists for at least eight years. I had in on my first
> phone with Android 4.1.1 (in September 2013). It's the recommended
> method for a USB connected Android device.
>
>> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
>> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
>> and section "MTP ? Media Device"
>
> 'USB Mass Storage', which indeed *did* show up as a drive in Windows,
> was phased out because it has a high risk of data corruption, because
> the phone and the computer can both modify the filesystem(s) at the same
> time, without any synchronization/handshaking between the two.

That would explain why synchronization on Linux routinely caused
corruption on my Android's SD card.

--
@RabidHussar

Re: Samba server on Android

<bmgp0ix2ep.ln2@minas-tirith.valinor>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55176&group=alt.comp.os.windows-10#55176

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E. R.)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Thu, 9 Sep 2021 16:01:15 +0200
Lines: 29
Message-ID: <bmgp0ix2ep.ln2@minas-tirith.valinor>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh>
<sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh>
<shd8p8.o8g.1@ID-201911.user.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net L8Ux68jE9y4fDimID9lERwJUNln1AAxQ4fi+AaEuz7yU6uW7Jh
X-Orig-Path: minas-tirith.valinor!not-for-mail
Cancel-Lock: sha1:9n5NM00Q/0RGI0Qw/MvjSz0EWKE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
In-Reply-To: <shd8p8.o8g.1@ID-201911.user.individual.net>
Content-Language: en-GB
 by: Carlos E. R. - Thu, 9 Sep 2021 14:01 UTC

On 09/09/2021 15.21, Frank Slootweg wrote:
> VanguardLH <V@nguard.lh> wrote:
>> Frank Slootweg <this@ddress.is.invalid> wrote:
>
> [lots deleted]

....

>> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
>> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
>> and section "MTP ? Media Device"
>
> 'USB Mass Storage', which indeed *did* show up as a drive in Windows,
> was phased out because it has a high risk of data corruption, because
> the phone and the computer can both modify the filesystem(s) at the same
> time, without any synchronization/handshaking between the two.

Strange. Android, when exporting the filesystem as 'USB Mass Storage'
removes itself from access, so that only one system can access the
files. When finished, when the disk is removed (umounted) then Android
scans and mount it as new. Corruption is impossible. That's how my phone
handled this in the past.

--
Cheers,
Carlos E.R.

Re: Samba server on Android

<shddu5.llc.1@ID-201911.user.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55177&group=alt.comp.os.windows-10#55177

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: 9 Sep 2021 14:49:21 GMT
Organization: NOYB
Lines: 37
Message-ID: <shddu5.llc.1@ID-201911.user.individual.net>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh> <shd8p8.o8g.1@ID-201911.user.individual.net> <bmgp0ix2ep.ln2@minas-tirith.valinor>
X-Trace: individual.net 9RxoCPZByVbrPqANUu3gjwvYZX8EsZIAVMIGPRcNYVAJ9RcdPx
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:Vamd4hRdfeXI9PPDWzbmhzMKDcQ=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 210909-0, 09/09/2021), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Thu, 9 Sep 2021 14:49 UTC

Carlos E. R. <robin_listas@es.invalid> wrote:
> On 09/09/2021 15.21, Frank Slootweg wrote:
> > VanguardLH <V@nguard.lh> wrote:
> >> Frank Slootweg <this@ddress.is.invalid> wrote:
> >
> > [lots deleted]
>
> ...
>
> >> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
> >> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
> >> and section "MTP ? Media Device"
> >
> > 'USB Mass Storage', which indeed *did* show up as a drive in Windows,
> > was phased out because it has a high risk of data corruption, because
> > the phone and the computer can both modify the filesystem(s) at the same
> > time, without any synchronization/handshaking between the two.
>
> Strange. Android, when exporting the filesystem as 'USB Mass Storage'
> removes itself from access, so that only one system can access the
> files. When finished, when the disk is removed (umounted) then Android
> scans and mount it as new. Corruption is impossible. That's how my phone
> handled this in the past.

I've never seen such 'exporting' feature/behaviour. On my old phone,
the filesystemS (plural (Internal Storage and SD-card)), were still
accessible in Android. They *had* to be, because - especially for such
phones with tiny Internal Storage - (part of) some apps resided on the
SD-card, so if that SD-card was unmounted/'exported'/<whatever>, the
apps couldn't run, but they did. Not to mention the *data* which was on
the SD-card and needed to be used by apps, even apps in Internal
Storage. (OTOH, I could be wrong on this and my memory could be playing
tricks on me. Can't be bothered to revive the old phone(s) to check.)

Anyway, it's water under the bridge, because 'newer' Android devices
no longer have this (non-)feature, at least our Samsung Galaxy A51
Android 10/11 phones don't.

Re: Samba server on Android

<shdam8$bq9$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55180&group=alt.comp.os.windows-10#55180

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Thu, 09 Sep 2021 11:53:47 -0400
Organization: A noiseless patient Spider
Lines: 100
Message-ID: <shdam8$bq9$1@dont-email.me>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh> <shd8p8.o8g.1@ID-201911.user.individual.net> <A4o_I.35991$YW.3633@fx05.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 9 Sep 2021 15:53:45 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1b89b3cfff8af6b8463f6f58fba2f355";
logging-data="12105"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Fx6jog4vS6bGOxqwg1dI4+B/M6K1ITgI="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:6rV4LZZ6wEJ87kcH7ghx4pA2HK0=
In-Reply-To: <A4o_I.35991$YW.3633@fx05.iad>
 by: Paul - Thu, 9 Sep 2021 15:53 UTC

RabidHussar wrote:
> On 2021-09-09 9:21 a.m., Frank Slootweg wrote:
>> VanguardLH <V@nguard.lh> wrote:
>>> Frank Slootweg <this@ddress.is.invalid> wrote:
>>
>> [lots deleted]
>>
>>> That you see the phone as a named device instead of a drive probably has
>>> to do with your different method of interfacing the computer to the
>>> phone. In the past, MTP connects weren't possible, or were iffy. Might
>>> be better now.
>>
>> MTP on Android exists for at least eight years. I had in on my first
>> phone with Android 4.1.1 (in September 2013). It's the recommended
>> method for a USB connected Android device.
>>
>>> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
>>>
>>> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
>>> and section "MTP ? Media Device"
>>
>> 'USB Mass Storage', which indeed *did* show up as a drive in Windows,
>> was phased out because it has a high risk of data corruption, because
>> the phone and the computer can both modify the filesystem(s) at the same
>> time, without any synchronization/handshaking between the two.
>
> That would explain why synchronization on Linux routinely caused
> corruption on my Android's SD card.

No, it would not.

Watch a device which uses UMS. The UMS device stops accessing
the store. It stops its mission mode.

My digital camera is an example. The lens stays closed. The camera
is not open for business and is not ready to write anything.
Then, the Windows interface for transferring stuff starts up
and it is the sole reader/write of the UMS storage at that point
in time.

No UMS device is going to be operating in a multi-agent mode,
because the developers know better than that.

An Android using MTP, MTP is a multi-agent protocol. The protocol
time multiplexes access, so that state changes do not collide.

Since these are things done by software (no hardware enforces
storage discipline), the result is only as good as the
software developer makes it.

Originally, the unit of transfer on MTP, was the file.
But this is "lumpy" as far as users are concerned. Microsoft
created the original protocol and specification. Google
added a capability to transfer "chunks" of files, in an
effort to make the granularity smaller. I do not know
how this is handled from a file system perspective - how
a half-written file is represented in the file system.

If you read this info:

https://www.transcend-info.com/Support/FAQ-897

"Android supports FAT32/Ext3/Ext4 file system"

which of those would you choose ?

FAT32 would make sense, if you unplugged the SD card
and plugged it into the SD hole on your Windows PC.
(Instead of using MTP.)

But FAT32 has poor protection against corruption - you
need the equivalent of "safely remove", as there
may be no external LED indicating the device is
writing it at the moment.

EXT3 or EXT4 (journaled) would make sense, for the
highest level of file system operation. Those
are less likely to get corrupted (especially not
knowing how the Google improvement to MTP
behaves at the file system level).

Using a journaled file system is not always the
best idea. Sometimes these choices cause more wear
on the media than a naive file system might. But on
the other hand, they might be more robust to rough
usage. Linux regularly does dirty shutdowns, knowing
its ass is covered by EXT4 journaling for cleanup
during next boot.

For someone owning an Android, this would require
more research. I don't own one, and cannot as a result
make this choice for you. I'm sure somewhere, there's
a recommendation on how to "handle" an SD and what
the best practice is.

All I know is, I've owned a 32GB SD for a number of years,
and there have been zero corruption events while
handling it. I've never reformatted it.

Paul

Re: Samba server on Android

<shdgcs$4tt$1@gioia.aioe.org>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55182&group=alt.comp.os.windows-10#55182

 copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android
Path: i2pn2.org!i2pn.org!aioe.org!QyNH1gZR42jtWWZb/F0wpw.user.46.165.242.75.POSTED!not-for-mail
From: Ancient-of-Days@Heaven.Net (Robin Goodfellow)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android
Subject: Re: Samba server on Android
Date: Thu, 9 Sep 2021 17:31:09 +0000
Organization: Keeping Good Company
Message-ID: <shdgcs$4tt$1@gioia.aioe.org>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh> <sh8k40$avq$1@dont-email.me> <sh94ad$4sk$1@dont-email.me> <shd7tm.o8g.1@ID-201911.user.individual.net>
Injection-Info: gioia.aioe.org; logging-data="5053"; posting-host="QyNH1gZR42jtWWZb/F0wpw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Xnews/5.04.25
X-Notice: Filtered by postfilter v. 0.9.2
 by: Robin Goodfellow - Thu, 9 Sep 2021 17:31 UTC

Frank Slootweg <this@ddress.is.invalid> asked
> who the fuck is Frank?
>
> Uhhhh ... *me*, who posted twice in this thread before you did

Many of us have been connecting all our portable devices to Windows 10:
<https://i.postimg.cc/DZB9YDcR/copyfiles01.jpg>

Using _all_ the suggested freeware methods on all four OS newsgroups.
<https://i.postimg.cc/zf1t61KW/copyfiles02.jpg>

As for "Who is Frank", for the record, Frank Slootweg has been posting to
the Android ng for many years, where he has been invaluable in my search for
_all_ possible connection methods to Windows 10 desktops using Android.
<https://i.postimg.cc/65fLFGVm/kde02.jpg>

Particularly FTP servers on Android to nicely connect to Windows 10 PCs.

We can dig into all the pictorial reviews I wrote (there's a review on each
and every Windows:Android networking method ever suggested on the Android
newsgroup), where there must be over a hundred annotated screenshots posted.
<https://i.postimg.cc/qBsN34fN/nitroshare04.jpg>

I've connected Android to Windows by almost every method suggested.
<https://i.postimg.cc/90HqTpw2/nitroshare01.jpg>

Frank's Windows machine has been able to network to Android quite well
(typically using FTP).

For whatever reason (noted in the reviews with gory details), I haven't been
as successful with FTP as Frank has been - but certainly FTP works as do
most of the many tested methods (e.g., libmpt, adb, ftpuse, net use, etc.).
<https://i.postimg.cc/bN875p8b/apk01.jpg> 1600 APKs extracted onto Windows

I even wrote Android tutorials for printing to Windows-connected printers.
<https://i.postimg.cc/DZJprj3b/printing08.jpg>

Overall, after having personally tested (and written the tutorials and
reviews for each) all the suggested networking methods between Windows and
Android, in a simple summary, I prefer the simplicity and power of WebDav.

I prefer WebDav mainly because with it Android is a Windows drive letter.
So even my Windows scripts work seamlessly with multiple Android devices.

However, given that SMB is _native_ on Windows, and given how well Linux
handles Samba, my dream connection is a SMB _server_ on non-root Android.

As Frank has reported many times in this newsgroup, the reasons that won't
work was already discussed (I think Andy alluded to a possible workaround).

In the past, at the time we were testing _all_ known connection methods
between Android & Windows, there wasn't a free Android SMBv3 server.

But even that has been solved (and the tutorials written on it), long ago.
All those reviews and tutorials are easily found in the public archives.

Re: Samba server on Android

<shdgl8$1sq9s$1@news.xmission.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55184&group=alt.comp.os.windows-10#55184

 copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android
Subject: Re: Samba server on Android
Date: Thu, 9 Sep 2021 17:35:36 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <shdgl8$1sq9s$1@news.xmission.com>
References: <sh5njg$1oi7c$1@news.xmission.com> <sh94ad$4sk$1@dont-email.me> <shd7tm.o8g.1@ID-201911.user.individual.net> <shdgcs$4tt$1@gioia.aioe.org>
Injection-Date: Thu, 9 Sep 2021 17:35:36 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1993020"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Thu, 9 Sep 2021 17:35 UTC

In article <shdgcs$4tt$1@gioia.aioe.org>,
Robin Goodfellow <Ancient-of-Days@Heaven.Net> wrote:
>Frank Slootweg <this@ddress.is.invalid> asked
>> who the fuck is Frank?
>>
>> Uhhhh ... *me*, who posted twice in this thread before you did
>
>Many of us have been connecting all our portable devices to Windows 10:
> <https://i.postimg.cc/DZB9YDcR/copyfiles01.jpg>

So, "Robin Goodfellow" is yet another Arlen Holder nym.

Good to know.

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/ModernXtian

Re: Samba server on Android

<jq7q0ixaj.ln2@minas-tirith.valinor>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55205&group=alt.comp.os.windows-10#55205

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E. R.)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Thu, 9 Sep 2021 22:36:03 +0200
Lines: 49
Message-ID: <jq7q0ixaj.ln2@minas-tirith.valinor>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh>
<sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh>
<shd8p8.o8g.1@ID-201911.user.individual.net>
<bmgp0ix2ep.ln2@minas-tirith.valinor>
<shddu5.llc.1@ID-201911.user.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Y5EsGEEKWYKtaVDrevIUjQJ5gCAk4ZFi4aZU6zkUJ2wr4VJFNf
X-Orig-Path: minas-tirith.valinor!not-for-mail
Cancel-Lock: sha1:OdK8hMyrZQGpstPjOIr0JuUISg4=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
In-Reply-To: <shddu5.llc.1@ID-201911.user.individual.net>
Content-Language: en-GB
 by: Carlos E. R. - Thu, 9 Sep 2021 20:36 UTC

On 09/09/2021 16.49, Frank Slootweg wrote:
> Carlos E. R. <robin_listas@es.invalid> wrote:
>> On 09/09/2021 15.21, Frank Slootweg wrote:
>>> VanguardLH <V@nguard.lh> wrote:
>>>> Frank Slootweg <this@ddress.is.invalid> wrote:
>>>
>>> [lots deleted]
>>
>> ...
>>
>>>> https://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
>>>> See section "Why Modern Android Devices Don?t Support USB Mass Storage"
>>>> and section "MTP ? Media Device"
>>>
>>> 'USB Mass Storage', which indeed *did* show up as a drive in Windows,
>>> was phased out because it has a high risk of data corruption, because
>>> the phone and the computer can both modify the filesystem(s) at the same
>>> time, without any synchronization/handshaking between the two.
>>
>> Strange. Android, when exporting the filesystem as 'USB Mass Storage'
>> removes itself from access, so that only one system can access the
>> files. When finished, when the disk is removed (umounted) then Android
>> scans and mount it as new. Corruption is impossible. That's how my phone
>> handled this in the past.
>
> I've never seen such 'exporting' feature/behaviour. On my old phone,
> the filesystemS (plural (Internal Storage and SD-card)), were still
> accessible in Android. They *had* to be, because - especially for such
> phones with tiny Internal Storage - (part of) some apps resided on the
> SD-card, so if that SD-card was unmounted/'exported'/<whatever>, the
> apps couldn't run, but they did. Not to mention the *data* which was on
> the SD-card and needed to be used by apps, even apps in Internal
> Storage. (OTOH, I could be wrong on this and my memory could be playing
> tricks on me. Can't be bothered to revive the old phone(s) to check.)

Yes, basically every app stopped working while the phone was connected
to the computer. A Samsung Galaxy Mini II, I think. I don't remember if
it could receive calls in that state.

>
> Anyway, it's water under the bridge, because 'newer' Android devices
> no longer have this (non-)feature, at least our Samsung Galaxy A51
> Android 10/11 phones don't.

Certainly, old stuff.

--
Cheers,
Carlos E.R.

Re: Samba server on Android

<1nxm4rkac11cm.dlg@v.nguard.lh>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55207&group=alt.comp.os.windows-10#55207

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: V@nguard.LH (VanguardLH)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Date: Thu, 9 Sep 2021 15:41:58 -0500
Organization: Usenet Elder
Lines: 11
Message-ID: <1nxm4rkac11cm.dlg@v.nguard.lh>
References: <sh5njg$1oi7c$1@news.xmission.com> <161x07j9q5zhi.dlg@v.nguard.lh> <sh7va0.c6s.1@ID-201911.user.individual.net> <d6ev5kxyfdm1$.dlg@v.nguard.lh> <shd8p8.o8g.1@ID-201911.user.individual.net> <bmgp0ix2ep.ln2@minas-tirith.valinor> <shddu5.llc.1@ID-201911.user.individual.net>
Reply-To: invalid@invalid.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net QcvDMy6BxAExEuep6mK0ZQT0IK4PiJ6yCaBmx3nO89pKBoer09
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:E1TXesp26sixcAGB44VcUQtY8Hs=
User-Agent: 40tude_Dialog/2.0.15.41
 by: VanguardLH - Thu, 9 Sep 2021 20:41 UTC

Frank Slootweg <this@ddress.is.invalid> wrote:

> Anyway, it's water under the bridge, because 'newer' Android devices
> no longer have this (non-)feature, at least our Samsung Galaxy A51
> Android 10/11 phones don't.

We are still waiting for Kenny McCormack to divulge his brand and model
of smartphone and the Android version on it to know which connection
method is available to him. To date, his phone and Android version are
secret. He follows the "micky" modus operandi: asks for help on unknown
devices and unknown software.

Re: Samba server on Android

<c9vakghpl9p2ade796hlise7mho72gcv7i@4ax.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=55597&group=alt.comp.os.windows-10#55597

 copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
From: none@none.invalid (Char Jackson)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Samba server on Android
Message-ID: <c9vakghpl9p2ade796hlise7mho72gcv7i@4ax.com>
References: <sh5njg$1oi7c$1@news.xmission.com> <ipn8dkF7i4uU2@mid.individual.net> <sh62qn.eb8.1@ID-201911.user.individual.net> <ipnamiF80v4U1@mid.individual.net>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 23
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Sat, 18 Sep 2021 05:55:33 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Sat, 18 Sep 2021 00:55:33 -0500
X-Received-Bytes: 1853
 by: Char Jackson - Sat, 18 Sep 2021 05:55 UTC

On Mon, 6 Sep 2021 21:06:40 +0100, Andy Burns <usenet@andyburns.uk> wrote:

>Frank Slootweg wrote:
>
>> A non-rooted Android device cannot run a Windows-accessible Network
>> Share (SMB server), because non-root Android does not allow listening on
>> ports below 1000 and Windows uses port 445 which can not be changed on
>> the Windows side.
>
>It *can* be changed on the windows side, using a kernel loopback adapter
>and "netsh interface portproxy add v4tov4" commands ... it's a ball-ache
>though and I've only used it on practice once.

It sounds like any solution that provides port translation would work. If I
needed to, I'd use a proxy because I always have several running at all
times (F5 LTMs as VMs) and they make port translation trivial, but I think
I read that Netcat (nc) can do port translation, as another example.

https://en.wikipedia.org/wiki/Netcat#Proxying
https://nc110.sourceforge.io/

Something like pfSense might also work to accomplish port translation.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor