LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2017, 03:43 PM   #1
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 740

Rep: Reputation: Disabled
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.
 
Old 01-28-2017, 04:58 PM   #2
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 607

Rep: Reputation: 219Reputation: 219Reputation: 219
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.
 
Old 01-28-2017, 05:09 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,082

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
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.

Last edited by bassmadrigal; 01-28-2017 at 05:10 PM.
 
2 members found this post helpful.
Old 01-28-2017, 05:24 PM   #4
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 607

Rep: Reputation: 219Reputation: 219Reputation: 219
Quote:
Originally Posted by bassmadrigal View Post
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).
 
1 members found this post helpful.
Old 01-28-2017, 05:56 PM   #5
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 724

Rep: Reputation: 143Reputation: 143
fish://192.168.1.100 too
 
Old 01-28-2017, 07:12 PM   #6
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 740

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-28-2017, 07:13 PM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,694

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
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.
 
Old 01-28-2017, 07:18 PM   #8
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 740

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-28-2017, 09:52 PM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,884

Rep: Reputation: Disabled
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.

Last edited by Didier Spaier; 01-28-2017 at 10:05 PM. Reason: PS added.
 
Old 01-29-2017, 06:36 AM   #10
BratPit
Member
 
Registered: Jan 2011
Posts: 237

Rep: Reputation: 85
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
:-)

Last edited by BratPit; 01-29-2017 at 06:42 AM.
 
Old 01-29-2017, 06:58 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,884

Rep: Reputation: Disabled
Quote:
Originally Posted by BratPit View Post
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

Last edited by Didier Spaier; 01-29-2017 at 07:57 AM.
 
Old 01-29-2017, 08:44 AM   #12
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,694

Rep: Reputation: Disabled
Personally I find spacefm to be world's better than pcmanfm or any other gui file manager.
 
Old 01-29-2017, 11:47 AM   #13
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 740

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-29-2017, 11:55 AM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,884

Rep: Reputation: Disabled
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???
 
Old 01-29-2017, 11:57 AM   #15
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 740

Original Poster
Rep: Reputation: Disabled
Actually it is installed. I just check with ls /var/log/packages

Last edited by PROBLEMCHYLD; 01-29-2017 at 12:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Folder & File Sharing barani_pd Red Hat 1 11-24-2010 07:41 AM
Samba File/Folder sharing question henk001 Linux - Networking 1 07-14-2009 09:43 PM
File/Folder Sharing in unix for different users sumanthls Linux - Newbie 1 09-10-2008 11:57 PM
howto folder/file sharing with specific groups kmhui Linux - Newbie 5 09-18-2004 07:05 PM
Win2k - Mandrake9.1 -file(folder) sharing? al3s Linux - Networking 3 04-19-2004 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration