#How to share a drive over local network to another linux machine via file manager

6 messages · Page 1 of 1 (latest)

winged pelican
#

Neither the source nor destination machine are windows. Both are LINUX. Source is Fedora Workstation gnome, destination is PopOS gnome.

I don't want to use ssh. I need to share media and play media, terminal-based ssh is completely useless. I want to use my file manager to browse the files.

This is the first time I've ever attempted sharing media over LAN. I have already done some googling and the amount of information that is completely irrelevant to my situation is staggering. It's almost impossible to find information that isn't related to Windows, and even Linux itself seems to push Windows discovery a little too hard (I saw a post talking about this). I do understand that SMB = Samba.

Both machines connected via an unmanaged (yes, definitely a dumb, unmanaged, no-vlan) switch over LAN. I disabled both firewalls completely (killed process), and as far as I'm aware no other firewall is running. I enabled media sharing for the destination disk over LAN. I enabled "make available to other users" on both machines. I entered the destination machine's IPv4 address in Nautilus on my source machine like this (obviously replacing x with the exact address):

ftp://192.168.x.x

I tried a few other combinations.

smb://192.168.x.x
sftp://192.168.x.x
ftps://192.168.x.x
ftp://user@192.168.x.x

I keep getting "connection refused" and similar errors. What am I doing wrong? The machines are able to ping each other, I know this because on my firewall I see logs where each machine has pinged the other. Meaning, they are on the same subnet.

#

little update: I have since reinstalled the destination machine and it's now using Fedora workstation gnome. Haven't tried this again since but any advice would still be very helpful.

cedar island
#

I would guess that what you've enabled is SMB. I have no experience with it and I'm not sure why it doesn't work if you've enabled it. Maybe ports are still blocked. Maybe listen to a port on one machine with netcat and send some data with the other machine to see if it makes it through?
Or maybe port scan the host machine with nmap or something.
You could also start an SSH server on the host and then SFTP should work.

winged pelican
#

same subnet

cedar island
#

pingable does not necessarily mean reachable on a given port