Re: Difference in LAN paths
If you mount the file system using /etc/fstab it will appear as a local folder on your file system, then you won't need to worry about that. The data will appear to be local :)
Re: Difference in LAN paths
Quote:
Originally Posted by
ActionParsnip
If you mount the file system using /etc/fstab it will appear as a local folder on your file system, then you won't need to worry about that. The data will appear to be local :)
You mean I can use an IP address in /etc/fstab? How would the login to the host be managed if I haven't logged into the VM first?
Re: Difference in LAN paths
Sure if the server has a static IP. You can alternatively use names. Your home router (I'm assuming its a home setup) will do DNS for you but yes, you can use IP addresses in /etc/fstab without issue.
If you exchange SSH keys then you won't need passwords either.
https://www.jscape.com/blog/setting-...n-command-line
Passwords are so clunky :)
Re: Difference in LAN paths
Quote:
Originally Posted by
ActionParsnip
Sure if the server has a static IP. You can alternatively use names. Your home router (I'm assuming its a home setup) will do DNS for you but yes, you can use IP addresses in /etc/fstab without issue.
If you exchange SSH keys then you won't need passwords either.
https://www.jscape.com/blog/setting-...n-command-line
Passwords are so clunky :)
I don't know the syntax for such an fstab entry to connect to a remote computer - I didn't see any mention of how to connect from fstab in the linked article - it connects with terminal.
Assuming I could set up the key authentication, could you give an example of an fstab entry, perhaps using the IP and user name in my first post, to connect to root folder of host?
Not being into networking or servers at all, never tried the key exchange method. In the past, Files remembers the details of how to connect if you choose that option on initial connection.
I still would like to know the answer to my question in post #1.
Thanks for helping.
Re: Difference in LAN paths
NFS.
Probably want to use autofs to mount only when requested. Then the storage can be treated like local storage.
sshfs is another option, but much slower because ssh encryption.
Re: Difference in LAN paths
I edited the playlists with batch replace to correct the paths for a quick fix. Unless I find some guide (with actual examples) to network connection using fstab, I will stick with the bookmarks method I've been using up to now.