FWIW, I plugged my ethernet USB dongle into my Librem 5 and it worked out-of-the-box. So if @sharon wants to keep it “wired only” then that too is an option.
The bottom line is that ssh is secure. ssh runs over IP. IP can run over whatever works.
WiFi is the easiest because you more or less have to get that working on the Librem 5 immediately after initial boot / flash / install anyway.
Via USB cable is one option. Obviously that is limited to a point-to-point link (i.e. only one host can access the Librem 5, which may be a good thing or a bad thing, depending on requirements). Also, it doesn’t work for me out of the box because the host end doesn’t by default get an IP address (easily fixable but …).
Via ethernet is another option. Obvious downside is that you have to buy the relevant dongle but they are not expensive. If you already have a dock and the dock has an ethernet port then you don’t even need extra hardware. I believe that @sharon has a dock, and that dock has an ethernet port.
There are a range of ways of getting a GUI for ssh to access files remotely (once you have set up ssh at all).
Some (many?) file managers will support sftp built-in.
gvfs (on the host) should have a backend for sftp but I admit that I haven’t tested that with the Librem 5
I use sshfs
You can use a dedicated GUI client program like FileZilla (which supports sftp along with ftp).
In all cases I am assuming of course that the host computer is also running Linux.
But WiFi and Mobile are on when I take it anywhere, which is not very often, I think only 3 times since opening the box. Else I would need a cable stretcher.
Back when that post was made the phone used to show up as a mass storage device of about ~1MB size, which was backed by a file. This got already removed long time ago as it wasn’t really meant to be there and was just an artifact of the old method used to handle USB back then.
OK, yes, but that would most definitely apply to transfering files “via USB cable” too. I assumed that the requirement to transfer files is only for when you are at home. If that’s not the case then neither USB cable nor ethernet is really going to fly.
Hah, yes, and I was probably one of the few to express interest in that functionality (and that approach to transfering files), which you did warn many moons ago would be being removed.
You can still set it up manually via configfs if you want it for some reason. Recently I’ve used it to expose a bootable ISO over USB and to boot my PC from it when I managed to break my OS installation
The tutorial you linked to doesn’t indicate anything about Windows clients (and by only indicating “apt install”, seems to almost preclude it) and it didn’t make it clear that a Windows client can both copy from and move to the device(s) that has(have) the ssh server installed. Again: sftp and ssh/scp are now installed by default on Windows 10 (or later), but if you want a GUI, you can’t use Windows Explorer and will need to install something (e.g. FileZilla or, for example, a browser plugin [Firefox used to support sftp, but dropped that feature]).
Yes, but no. A lot depends on the host, but the Librem 5 enabled Ethernet over USB by default. Nothing stops you from routing IP packets to other computers beyond the Ethernet point-to-point link. I haven’t checked that yet, but I believe that if you enable IPv6 forwarding on one device, you get a globally routable IP address on the other.
I am considering playing around with automatic IPv6 forwarding with the L5, but not sure what to expect before I get more familiar with the setup.
When I jumped into this necrod topic, I was mindful of
but for beginners it’s difficult to set up
So, yes (e.g. for IPv4), if the host does routing (or an alternative) out-of-the-box then great but if it doesn’t, I wouldn’t necessarily class that as easy for a beginner to set up.
(And I’m going to leave IPv6 well alone. Some ISPs here still don’t even offer IPv6 at all, so you most certainly won’t get a globally routable IPv6 address in that case - even if IPv6 is working correctly on the local LAN.)
I had no problems installing WARP on L-5 nor issues with the Windows version.
Both worked fine transfer a data back and forth.
The only problem have with it, is that it appears to go from source to outside to recipient. IMO, it’s not private if it’s routed outside the LAN. Major dissapointment
The files received by Windows is inaccessible via WARP GUI (Open File). It did not recognize *.jpg, *.png, and changed a plain text file (via gedit) and appended a .bin instead of .txt.
WARP works OK w/ < > OK if privacy is not a concern, and file names is something one can get around.
WARP is slow to load on Windows. But … that was expected.
Differences between LanShare and WARP are that LanShare is local. WARP passes everything through a “rendezvous” i.e.
*L5 ➜ rendezvous ➜ Windows or
Windows ➜ rendezvous ➜ L5*
Too, LanShare does not have a Linux version for aarch64. Yet.
Yes, if your privacy / security standards are high, the architecture would be epic fail.1
If you trust (or verify) the client code then … the file is encrypted before transfer by the client (so even though it may pass through an external server the content is not readable to that server). Even so, things like the file name may be visible to the external server and of course the fact of your transfer is visible.
If you don’t trust or verify the client code then in theory you could encrypt the file yourself before transfer, and rename the encrypted copy - but that starts to detract from the convenience!
1It seems silly that there isn’t some kind of fallback mode where if the client detects that there is no internet then it assumes that connection directly via the local LAN is possible (which will then either succeed or fail). But then you would have to remember to pull your network off the internet before performing transfers - or otherwise block access to the internet for that application.
Ay, it depends on the needs, level of security wanted. It’s reasonably protected (passphrase and encryption) and the only thing the rendezvous server does, it lets the two parties find each other - data is passed from device to device (as per the protocol). Data does not pass through it but does visit outside of LAN (there seems to have been some tries to keep it in, but i couldn’t make heads or tails if that got anywhere). Interestingly, you can even set up your own server for that (not sure what that entails, just noticed it in settings), but going that way probably goes to the area that LanShare covers better. Missing aarch64 is… aargh The Windows problems are interesting to hear - I didn’t find a ticket about them.
Thanks for being on topic. Can you give instructions on what to do to be able to transfer files via USB cable only between the L5 and Ubuntu 22.04 Desktop?
Instead of using over-the-air methods for transferring your files which may be insecure, I have installed Jumpdrive on my phone.
If you are using a Librem laptop:
All you need to do is boot your phone into jump drive and connect via USB to your laptop and you will have access to the files on your phone after answering the password prompt for your phone.
For me this is a more secure method and easier as far as I’m concerned.
Also I have been using a USB a to USB c connector which I bought off of Amazon called JSAUX which comes in various lengths and is more flexible and easy to use than the purism supplied cable.
Yes, quite likely - at least as far as theoretical attacks go i.e. your attack surface.
Hmm. Not really. For a start it means an outage on your phone every time you want to transfer files. And if it’s just one file then you are talking about a fair bit of overhead and hassle to transfer one file.
However at the end of the day everyone should do what he or she is comfortable and happy with.
I’m not sure what you mean by outtage? I would think that by booting down the phone and booting into jumpdrive either to transfer one or multiple files and then booting the phone up would be good also for the phone?
You are “off the air” for however long it takes to shut down, boot Jumpdrive, transfer files, boot up. If you want to use the phone as a regular mobile phone then that may not be convenient.