On February 2, 2017 10:32:52 PM PST, Fraser_Bell
Skimming the recent threads, I notice that Carlos has discovered SSHFS. ;-)
I do not recall if this was already installed, or if I installed it with the Yast installer. It is in the repositories.
I use it regularly for connectivity between my system and my Android device (a Moto E).
The command I use is in this format:
sshfs gerry@xxx.xxx.xxx.xxx: /home/my_local_username/0_moto_e -o uid=1000,gid=100,follow_symlinks
to connect wirelessly inside my own LAN. Of course, I pre-created the 0_moto_e directory in my home directory.
On the device, I am using the SSHelper app.
The reason for the uid and gid options is because of the way Android handles security, and Unison transfers are done using the "fat" boolean
option (actually, could use just a subset) so that unchanged files do not constantly throw up a "properties changed" listing in Unison.
(uid and gid above are the default first user id and default Users group id)
To make certain which uid and gid a User should use in the above command, simply run: cat /etc/passwd | grep your_username
Of course, for SSHelper, you would generate a key: ssh-keygen -t dsa -f ~/.ssh/id_dsa -N ''
Then transfer it to the device: ssh-copy-id -i ~/.ssh/id_dsa.pub -p 2222 xxx.xxx.xxx.xxx
The LAN IP address of the Android device is used where the xxx+ exists.
If you use rsync, you would need to do similar there, or every time (probably) you connect the uid or gid can change, giving false change flags on the unchanged files.
This allows me to access the device and operate on it as if it is just another local drive.
On my main PC, I use Unison, run commands such as sha256sum *.mp4 > videos.mp4.sha256 on the device, can use anything available in my openSUSE system (CLI or
GUI) to deal with the device.
Of all the different experiments I have run with openSUSE to Android Connectivity, I have found this is, so far, the fastest, most usefull and most reliable method for connecting and moving things around.
I have been using the checksums on large videos, and so far have had no
failures using this method.
All other methods I have tried to date have ended up with some of the files changed (files more than a short few seconds long) with errors, sometimes even different sizes. They would then play -- sort of -- in openSUSE, but with artifacts and other glitches, sometimes slight, often severe.
Why do I know this? I am busy running all Connectivity experiments I can between an unrooted Android device and an openSUSE machine so that I can write up an extensive guide to the interoperability.
Gerry Makaro aka Fraser_Bell
Or you could have used KDE Connect. I wouldn't have top posted except the task of scrolling that wall of text would have been exhausting. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org