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
  Mobile internet via cellular network mostly not working Anna 18 10,335 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 1,044 01-17-2024, 05:53 PM
Last Post: anonymous
  APN settings not working with new operator SIM card user641 1 1,044 03-01-2023, 04:43 PM
Last Post: anonymous
  Possible Solution for Microphone Not Working Ferriah 0 958 02-13-2023, 01:09 PM
Last Post: Ferriah
  Squeekboard stopped working Zebulon Walton 2 1,193 11-24-2022, 08:41 PM
Last Post: Zebulon Walton
  suspend inhibit no longer working jsch 3 1,998 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser
  low disk space on file system root revisited benedikt55 2 1,514 09-24-2022, 10:16 AM
Last Post: benedikt55
  Rescue Your Mobian post Update Aug22 faster fix to working guide biketool 9 4,777 09-05-2022, 12:10 AM
Last Post: biketool
  How to get Pinetime working with Pinephone arkadione 12 7,340 08-28-2022, 12:30 PM
Last Post: Fish
  Receiving SMS stopped working treebeard 11 5,582 08-12-2022, 10:31 AM
Last Post: treebeard

Forum Jump:


Users browsing this thread: 4 Guest(s)