Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #148121

Re: Samba server on Android

From Frank Slootweg <this@ddress.is.invalid>
Newsgroups alt.comp.os.windows-10
Subject Re: Samba server on Android
Date 2021-09-07 12:53 +0000
Organization NOYB
Message-ID <sh7ucp.c6s.1@ID-201911.user.individual.net> (permalink)
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>

Show all headers | View raw


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! :-(

Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Samba server on Android gazelle@shell.xmission.com (Kenny McCormack) - 2021-09-06 18:45 +0000
  Re: Samba server on Android Andy Burns <usenet@andyburns.uk> - 2021-09-06 20:27 +0100
    Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-06 19:56 +0000
      Re: Samba server on Android Andy Burns <usenet@andyburns.uk> - 2021-09-06 21:06 +0100
        Re: Samba server on Android Char Jackson <none@none.invalid> - 2021-09-18 00:55 -0500
      Re: Samba server on Android gazelle@shell.xmission.com (Kenny McCormack) - 2021-09-06 20:11 +0000
        Re: Samba server on Android Gronk <invalid@invalid.invalid> - 2021-09-06 21:02 -0600
        Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-07 12:53 +0000
  Re: Samba server on Android VanguardLH <V@nguard.LH> - 2021-09-06 15:15 -0500
    Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-07 13:09 +0000
      Re: Samba server on Android VanguardLH <V@nguard.LH> - 2021-09-07 15:29 -0500
        Re: Samba server on Android allspam <allspam@allspam.invalid> - 2021-09-07 17:04 -0400
          Re: Samba server on Android Andy Burns <usenet@andyburns.uk> - 2021-09-07 22:11 +0100
            Re: Samba server on Android allspam <allspam@allspam.invalid> - 2021-09-07 18:02 -0400
          Re: Samba server on Android Joerg Lorenz <hugybear@gmx.ch> - 2021-09-08 03:40 +0200
            Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-09 13:06 +0000
              Re: Samba server on Android Robin Goodfellow <Ancient-of-Days@Heaven.Net> - 2021-09-09 17:31 +0000
                Re: Samba server on Android gazelle@shell.xmission.com (Kenny McCormack) - 2021-09-09 17:35 +0000
        Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-09 13:21 +0000
          Re: Samba server on Android RabidHussar <rabid@huss.ar> - 2021-09-09 09:35 -0400
            Re: Samba server on Android Paul <nospam@needed.invalid> - 2021-09-09 11:53 -0400
          Re: Samba server on Android "Carlos E. R." <robin_listas@es.invalid> - 2021-09-09 16:01 +0200
            Re: Samba server on Android Frank Slootweg <this@ddress.is.invalid> - 2021-09-09 14:49 +0000
              Re: Samba server on Android "Carlos E. R." <robin_listas@es.invalid> - 2021-09-09 22:36 +0200
              Re: Samba server on Android VanguardLH <V@nguard.LH> - 2021-09-09 15:41 -0500

csiph-web