Re: NetBSD vs. smartphones?

2024-03-24 Thread Alexander Schreiber
On Thu, Mar 21, 2024 at 12:20:47PM +, nia wrote:
> On Tue, Mar 19, 2024 at 09:11:22AM -0500, John D. Baker wrote:
> > Without divulging information that might make my (or others) phone open to
> > compromise, has anyone else dealt with a  situation like this?
> 
> Unfortunately I've determined that syncthing is the easiest way to get
> files on and off a modern smartphone. MTP ain't it.

Foldersync for Android also works very well. Can do sync either direction,
both scheduled & event based (e.g. new photo appears) and includes a
wide range of sync methods, including SFTP (which is what I'm using).

Kind regards,
   Alex.
-- 
"Opportunity is missed by most people because it is dressed in overalls and
 looks like work."  -- Thomas A. Edison


Re: NetBSD vs. smartphones?

2024-03-21 Thread Brad Spencer
Rhialto  writes:

> On Thu 21 Mar 2024 at 12:20:47 +, nia wrote:
>> Unfortunately I've determined that syncthing is the easiest way to get
>> files on and off a modern smartphone. MTP ain't it.
>
> I use Total Commander (a Norton Commander-like tool) from
> https://www.ghisler.ch/board/viewtopic.php?t=76644 or the google app
> store, to which I have added the "TC Wifi Transfer" and "TotalCmd sftp"
> (client) plugins. With both you can get files into and out from the
> phone.
>
> -Olaf.

Total Commander is what I went to, except I added the SMB plugin.


-- 
Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org


Re: NetBSD vs. smartphones?

2024-03-21 Thread joelp
> On Thu 21 Mar 2024 at 12:20:47 +, nia wrote:
>> Unfortunately I've determined that syncthing is the easiest way to get
>> files on and off a modern smartphone. MTP ain't it.
>
> I use Total Commander (a Norton Commander-like tool) from
> https://www.ghisler.ch/board/viewtopic.php?t=76644 or the google app
> store, to which I have added the "TC Wifi Transfer" and "TotalCmd sftp"
> (client) plugins. With both you can get files into and out from the
> phone.
>

If you have Android, Termux is the most Unix-like experience. Add
Termux:API package and you can access photos, downloads, etc, on your
Android storage.

Once you have Termux set up, you can use rsync!

Note: Don't use the one on Play Store. I use F-Droid, but you can install
package directly.

-Joel



Re: NetBSD vs. smartphones?

2024-03-21 Thread Rhialto
On Thu 21 Mar 2024 at 12:20:47 +, nia wrote:
> Unfortunately I've determined that syncthing is the easiest way to get
> files on and off a modern smartphone. MTP ain't it.

I use Total Commander (a Norton Commander-like tool) from
https://www.ghisler.ch/board/viewtopic.php?t=76644 or the google app
store, to which I have added the "TC Wifi Transfer" and "TotalCmd sftp"
(client) plugins. With both you can get files into and out from the
phone.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert
\X/ There is no AI. There is just someone else's work.   --I. Rose


signature.asc
Description: PGP signature


Re: NetBSD vs. smartphones?

2024-03-21 Thread Benny Siegert
Not if the toaster also runs NetBSD.

On Thu, Mar 21, 2024 at 5:52 PM Todd Gruhn  wrote:
>
> Make the smartphone "smarter".
> But NetBSD on it.
>
> Will the phone be smarter than a toaster ?
>
> On Thu, Mar 21, 2024 at 2:38 PM Justin Parrott
>  wrote:
> >
> > FTP+BlueTooth
> >
> > On Thu, Mar 21, 2024 at 8:21 AM nia  wrote:
> >>
> >> On Tue, Mar 19, 2024 at 09:11:22AM -0500, John D. Baker wrote:
> >> > Without divulging information that might make my (or others) phone open 
> >> > to
> >> > compromise, has anyone else dealt with a  situation like this?
> >>
> >> Unfortunately I've determined that syncthing is the easiest way to get
> >> files on and off a modern smartphone. MTP ain't it.
> >
> >
> >
> > --
> > Justin Allen Parrott
> > The Renegade of Fairfax, Va.
> > The Son of the Mourning
> >



-- 
Benny


Re: NetBSD vs. smartphones?

2024-03-21 Thread Todd Gruhn
Make the smartphone "smarter".
But NetBSD on it.

Will the phone be smarter than a toaster ?

On Thu, Mar 21, 2024 at 2:38 PM Justin Parrott
 wrote:
>
> FTP+BlueTooth
>
> On Thu, Mar 21, 2024 at 8:21 AM nia  wrote:
>>
>> On Tue, Mar 19, 2024 at 09:11:22AM -0500, John D. Baker wrote:
>> > Without divulging information that might make my (or others) phone open to
>> > compromise, has anyone else dealt with a  situation like this?
>>
>> Unfortunately I've determined that syncthing is the easiest way to get
>> files on and off a modern smartphone. MTP ain't it.
>
>
>
> --
> Justin Allen Parrott
> The Renegade of Fairfax, Va.
> The Son of the Mourning
>


Re: NetBSD vs. smartphones?

2024-03-21 Thread Justin Parrott
FTP+BlueTooth

On Thu, Mar 21, 2024 at 8:21 AM nia  wrote:

> On Tue, Mar 19, 2024 at 09:11:22AM -0500, John D. Baker wrote:
> > Without divulging information that might make my (or others) phone open
> to
> > compromise, has anyone else dealt with a  situation like this?
>
> Unfortunately I've determined that syncthing is the easiest way to get
> files on and off a modern smartphone. MTP ain't it.
>


-- 
Justin Allen Parrott
The Renegade of Fairfax, Va.
The Son of the Mourning


Re: NetBSD vs. smartphones?

2024-03-21 Thread nia
On Tue, Mar 19, 2024 at 09:11:22AM -0500, John D. Baker wrote:
> Without divulging information that might make my (or others) phone open to
> compromise, has anyone else dealt with a  situation like this?

Unfortunately I've determined that syncthing is the easiest way to get
files on and off a modern smartphone. MTP ain't it.


Re: NetBSD vs. smartphones?

2024-03-20 Thread Ramiro Aceves



El 19 de marzo de 2024 16:55:49 CET, Brad Spencer  
escribió:
>"John D. Baker"  writes:
>
>> The smartphone I have can appear as any one of three types of devices
>> when plugged into another computer system via USB:
>>
>>   mass storage
>>   MTP device
>>   PTP device
>>
>> It is currently set to identify as a mass storage device.
>>
>> When I plug it into any of my NetBSD systems, NetBSD reports it as
>>
>>   umodeswitch
>>
>> that the device is a mass storage device and that it is disabling
>> umass support.
>>
>> If I reboot the system and drop into userconf to disable umodeswitch,
>> the umass driver attaches and reports a device but that it is offline.
>> It doesn't matter whether the phone is locked or unlocked at the time
>> of attachment, the system reports the drive as offline.
>>
>> Without divulging information that might make my (or others) phone open to
>> compromise, has anyone else dealt with a  situation like this?
>
>
>libmtp is in pkgsrc and I have use it and the associated utilities it
>contains to talk MTP to a smartphone...  a long time ago... but it did
>work..
>
>

Hello, last weekend I was trying to make libmtp work but I couldn't. Next week 
end when I will have free time I will try again.

Regards
Ramiro




Re: NetBSD vs. smartphones?

2024-03-19 Thread Brad Spencer
"John D. Baker"  writes:

> The smartphone I have can appear as any one of three types of devices
> when plugged into another computer system via USB:
>
>   mass storage
>   MTP device
>   PTP device
>
> It is currently set to identify as a mass storage device.
>
> When I plug it into any of my NetBSD systems, NetBSD reports it as
>
>   umodeswitch
>
> that the device is a mass storage device and that it is disabling
> umass support.
>
> If I reboot the system and drop into userconf to disable umodeswitch,
> the umass driver attaches and reports a device but that it is offline.
> It doesn't matter whether the phone is locked or unlocked at the time
> of attachment, the system reports the drive as offline.
>
> Without divulging information that might make my (or others) phone open to
> compromise, has anyone else dealt with a  situation like this?


libmtp is in pkgsrc and I have use it and the associated utilities it
contains to talk MTP to a smartphone...  a long time ago... but it did
work..


-- 
Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org


NetBSD vs. smartphones?

2024-03-19 Thread John D. Baker
The smartphone I have can appear as any one of three types of devices
when plugged into another computer system via USB:

  mass storage
  MTP device
  PTP device

It is currently set to identify as a mass storage device.

When I plug it into any of my NetBSD systems, NetBSD reports it as

  umodeswitch

that the device is a mass storage device and that it is disabling
umass support.

If I reboot the system and drop into userconf to disable umodeswitch,
the umass driver attaches and reports a device but that it is offline.
It doesn't matter whether the phone is locked or unlocked at the time
of attachment, the system reports the drive as offline.

Without divulging information that might make my (or others) phone open to
compromise, has anyone else dealt with a  situation like this?

-- 
|/"\ John D. Baker, KN5UKS   NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSDFreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645