So awesome that it already exists?: [MyL5] Received my Librem 5 (Evergreen)
Argh, beat me by 1 minute, @dos
So awesome that it already exists?: [MyL5] Received my Librem 5 (Evergreen)
Argh, beat me by 1 minute, @dos
It doesn’t work for tinysshd though
Edit: but yes it’s about sharing and tiny doesn’t give any other service but shell.
I’m planning on setting something up where whenever my home Wifi connects, mount my home server’s storage drive via NFS.
When Wifi disconnects, unmount.
I can browse the same drive via SMB on my Android but having this setup I think will be pretty slick.
Still need a good adaptive GUI file manager option though, but that is coming.
Edit: And only a few minutes later I happen across this: https://source.puri.sm/adrien.plazas/nautilus/-/commit/0732ac4a1dd3177c04384f1c55e05ed7fbf76e91
Yes! Thanks. I just checked and my USB-C to USB-A/micro-B drive now mounts automatically when inserted.
True story! A few years ago, Asus routers that had built-in USB/FTP/Samba were compromised because there was no password protection included. They’ve corrected that now. Still maybe not the best option, as you and others have pointed out.
don’t ruin the surprise
I like the scp
command.
Here’s a tutorial for those who don’t yet know how to use it:
https://linuxize(dot)com/post/how-to-use-scp-command-to-securely-transfer-files/
Edit: Reminder to set up ssh
first.
I had just assumed that connection to a network would work similar to say desktop Ubuntu, but In reality I don’t have any experience with Pure OS.
Can anybody tell me if samba share is supported in Pure OS (and by extension I assumed the L5)?
CIFS is supported by the kernel, and you can install cifs-utils to be able to mount it
I usually do sshfs to the phone:
sshfs purism@192.168.0.22 mnt/l5
And after you’re done:
fusermount -u mnt/l5
Keep in mind that this likes to hang up sometimes when the phone loses network or reset, and needs root to fix:
sudo umount -f mnt/l5
You probably need to clarify whether your intention is that the phone is the server and offers its files to the network, or your phone is the client and accesses files on your network.
If I had to take a guess, I would say that if Samba works at all then it will work either way, and that Samba will work, but better than guessing is testing.
Note that all those people talking about sshfs
(so far) are talking about “phone as server”, and “phone as server” may be good for ad hoc transfers via the network. (That said, I don’t see any reason why the phone can’t use sshfs
i.e. phone as client.)
One advantage of “phone as server”, if you don’t have an external monitor / dock available and set up, is that you can use the bigger screen GUI of the desktop/laptop to drive the transfer process. Even if using the command line, you may prefer to drive from the desktop/laptop.
At the same time, if you already have a file server then for sure I can see that you might want the “phone as client” to access content available on your network.
I have (just about) all the protocols that have been discussed in this topic in use and working with other devices on my network, so happy to test everything and report back, come the day early in the new year when I have my phone (talking it up ).
I’ve been a fan of rsync for a very long time. It really pays off for updates of large files and for syncing directories where some files are new or changed and others are unchanged.
I think that is one of the big advantages of just about all gadgets that run linux, not only phones.
My main interest is in having the phone as client so it can access files on my server and transfer files from phone to server. I’m sure this will be available.
there is work being done to make nautilus adaptive, since nautilus supports remote folders that might solve your use case.
That sounds great. Mine is a little way off yet so I’ll see how things develop.
Perhaps using a GUI for rsync incl. automated backups via Back In Time (https://github.com/bit-team/backintime) on the client side could provide a ease-of-use (without a command line)
Adding to convo with my first-hand experience / success:
Mac > System Preferences > Sharing > File Sharing
I used the string of text from my Mac listed under the Sys Prefs section:
Computers on your local network can access your computer at
in the Connect to Server field on the L5 5.
More about File Sharing setup on a Mac.
My Specs
Footnotes
1 I found it easiest to do this in List view - toggle the view via bottom right icon in the Files app.
2 Files > top right hamburger icon > cut, copy, and paste options. Icon actions, from left-to-right: Scissors “Cut” … Two boxes “Copy” … Clipboard “Paste”
3 I Bookmarked a location to quickly access later.
4 Currently the default L5 icon is a blue 3-drawer file cabinet with the text “Files” showing underneath.
5 Add network location
All the images in this post were taken on the L5 using Screen Shot (as suggested here), copied to Mac via file share process outlined above, and annotated in Mac’s Preview application (boxes and callouts).
Fun Fact: Article about the “hamburger” menu icon from HowToGeek.