can't get file transfer working. Help, please!
#4
Koikilensoi Wrote:Typically, I've tried the option from Zebulon here above (thx btw), but I get the following :
fuse: bad mount point `/local/mount/point': No such file or directory

On the sshfs command, "/local/mount/point" is not meant to be taken literally if that's what you're doing, it means use or create a suitable mount point that you have read/write access to. Below are the exact commands that I just used to mount my Pinephone's $HOME to be accessible on my Linux PC. Needless to say you need to substitute your own Pinephone's IP address. Smile

(Note that I have my ssh server set up so that it only accepts key-based logins, not passwords, and it is firewalled off from all but my home LAN's subnet. Those steps are not necessary for this to work but if you do not have those kind of security measures in place you don't want to leave ssh server running when not on your home network or connected to cellular internet.)

Code:
mkdir /tmp/mnt
sshfs mobian@192.168.1.200:/home/mobian /tmp/mnt

You will be prompted for your password unless using key-based ssh login. This will be the number used to unlock the phone's screen. Once the sshfs command completes, your home directory on the Pinephone will be in /tmp/mnt on your desktop or laptop computer, and can be accessed with your file manager or command prompt, whichever you prefer.

When done you can unmount the Pinephone from your PC.

Code:
fusermount -u /tmp/mnt

As I said, bear in mind that sshfs will not follow symbolic links. On my Pinephone the directories I'd most likely want to deal with for file transfer (Downloads, Pictures, Videos, etc.) are on an SD card with those directories symlinked from /home/mobian on the eMMC. So when I do file transfer I modify that sshfs command so it goes to the mount point of the SD card on the Pinephone. However if your entire system is on the eMMC or on an SD card, mounting your /home/mobian directory is probably what you would want.
  Reply


Messages In This Thread
RE: can't get file transfer working. Help, please! - by Zebulon Walton - 05-15-2021, 06:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Short Guide to Using OpenVPN client GUI and .ovpn config file on PP biketool 0 98 12-16-2024, 02:07 PM
Last Post: biketool
  Calls 4G not working oliwierzgorniak 2 2,275 08-06-2024, 02:20 PM
Last Post: baptx
  Mobile internet via cellular network mostly not working Anna 18 14,202 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 2,762 01-17-2024, 05:53 PM
Last Post: anonymous
  APN settings not working with new operator SIM card user641 1 1,450 03-01-2023, 04:43 PM
Last Post: anonymous
  Possible Solution for Microphone Not Working Ferriah 0 1,236 02-13-2023, 01:09 PM
Last Post: Ferriah
  Squeekboard stopped working Zebulon Walton 2 1,708 11-24-2022, 08:41 PM
Last Post: Zebulon Walton
  suspend inhibit no longer working jsch 3 2,752 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser
  low disk space on file system root revisited benedikt55 2 2,154 09-24-2022, 10:16 AM
Last Post: benedikt55
  Rescue Your Mobian post Update Aug22 faster fix to working guide biketool 9 6,922 09-05-2022, 12:10 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 3 Guest(s)