LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Folder and File Sharing (https://www.linuxquestions.org/questions/slackware-14/folder-and-file-sharing-4175598445/)

PROBLEMCHYLD 01-28-2017 03:43 PM

Folder and File Sharing
 
I have 4 laptops with Slackware, they all are pretty much configure the same except for a few packages. I want them to see each other on the lan. How do I do this? None of the linux comps act as servers, they are all clients.

NoStressHQ 01-28-2017 04:58 PM

Hi,

You have several options, the "simplest" way might just be to setup samba shares on each. Or if you're lazy and don't care about security you could try NFS, but permissions might be tricky to setup safely :).

Those are just tracks you want to investigate.

bassmadrigal 01-28-2017 05:09 PM

If you want something where you don't have to do anything once it's configured, samba or nfs are probably the way to go, but they can take a bit to get set up properly. If you just need to simply transfer some files, sftp is by far the easiest way as long as you have ssh running. If you want to share a printer, I think that can only be done over samba. NFS seems to be best for streaming (at least it was a few years ago... I was getting constant buffering on my htpc when I had my media shared over samba).

Most file managers support the sftp protocol, so you could just type sftp://username@192.168.1.100 and be prompted for a password or sftp://username:password@192.168.1.100 if you don't want the prompt. Many file managers will allow you to set up bookmarks to save those sftp addresses. If your favorite file manager doesn't support it, gftp does, and that's included in a stock Slackware install.

NoStressHQ 01-28-2017 05:24 PM

Quote:

Originally Posted by bassmadrigal (Post 5661602)
If you just need to simply transfer some files, sftp is by far the easiest way as long as you have ssh running.

Oh yes I forgot this obvious one :). You can have easy sftp using FileZilla, but also there's a fuse sftp - sshfs, which allow to 'mount' remote directory almost seamlessly (other remote accounts permissions might have funny values, but that should not be a big deal).

glorsplitz 01-28-2017 05:56 PM

fish://192.168.1.100 too

PROBLEMCHYLD 01-28-2017 07:12 PM

I don't know anything about nfs/samba. I will probably stream home videos from the network, but they are only a 30mb or less. I have been using Slackware about a year, and within that time, I only have about a dedicated 5 months under my belt.

orbea 01-28-2017 07:13 PM

Quote:

Originally Posted by PROBLEMCHYLD (Post 5661574)
I have 4 laptops with Slackware, they all are pretty much configure the same except for a few packages. I want them to see each other on the lan. How do I do this? None of the linux comps act as servers, they are all clients.

sshfs. Its part of a slackware full install now in current or available at SBo.

https://slackbuilds.org/repository/1...rk/sshfs-fuse/

Here is an example.

Code:

sshfs orbea@foo:/home/orbea/ /mnt/foo
It will work with both other devices in your lan network as it will with remote servers you have access to.

PROBLEMCHYLD 01-28-2017 07:18 PM

Do any of the solutions have a gui? I used Windows and dos a lot in the pass, I prefer not to have to use terminal/command prompt. If I have to I will, but prefer it not.

Didier Spaier 01-28-2017 09:52 PM

See bassmadrigal's answer in second paragraph of post #3. Examples:
  • In dolphin (shipped in Slackware) go to Network then "Add a network folder"
  • In pcmanfm in the menu click Go then "Connect to Server..."
pcmanfm is not shipped in Slackware but you can build it from slackbuilds.org with its dependencies. Then build from top to bottom:
libfm-extra
lxmenu-data
menu-cache
libfm
pcmanfm

Maybe that's possible also with thunar, I didn't find how.

PS in Slint the default file manager is PCManFM, I like it.

A warning though: whilst it's very handy to access remote folders through the file manager, it can be very dangerous too, as you can very easily inadvertently remove a file or folder, or do paste or move the wrong way, for instance. Be very careful.

BratPit 01-29-2017 06:36 AM

Didier

Did you try repalace PCManFM with SpaceFM ?

I did it and no regret .More fun :-)

NoStressHQ

the "simplest" is:

Quote:

python -m SimpleHTTPServer 8000
:-)

Didier Spaier 01-29-2017 06:58 AM

Quote:

Originally Posted by BratPit (Post 5661750)
Didier

Did you try repalace PCManFM with SpaceFM ?

I did. Actually I tried many file managers for Slint, but found that PCManFM had more features and was easier to user than SpaceFM.

So, PCManFM is the default file manager in Slint 14.2 and that won't change.

I fail to see something that I could do with SpaceFM but not with PCManFM. Also, PCManFM integrates well with other components included in Slint, like Engrampa as file archiver.

And for the future it should be easy to provide LXDE with PCManFM (and Fvwm as window manager), either as an additional desktop or as a standalone "one desktop" edition.

However, it's easy to add SpaceFM to Slint, with its optional dependency udevil. I just did it this way:
Code:

spi -i udevil
spi -i spacefm


orbea 01-29-2017 08:44 AM

Personally I find spacefm to be world's better than pcmanfm or any other gui file manager.

PROBLEMCHYLD 01-29-2017 11:47 AM

So, what I need to do is, install nfs-utils-1.3.3, configure fstab, and all my network computers will show up when I click Browse Network? I'm using thunar btw. I'm not sure if I need thunar share plugin.

Didier Spaier 01-29-2017 11:55 AM

So nfs-utils-1.3.3 is not installed? Then why didn't you do a full Slackware installation, why, but why?

How many times should we repeat that folks requesting help in this forum are assumed to have made a full installation, or at the very least should state that they didn't in the first post of the new thread they create???

PROBLEMCHYLD 01-29-2017 11:57 AM

Actually it is installed. I just check with ls /var/log/packages


All times are GMT -5. The time now is 06:06 PM.