LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2016, 02:57 PM   #1
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
Networking Linux box to another Linux box's


So I'm trying to get a small home network going, which I have but thru Samba. But it hit me that Samba is supposedly for networking to Windows machines right? It works and all but clicking extra stuff to get into workgroups that I believe Linux doesn't even need seems stupid. What is the correct way to share files? I've got all Linux machines in my house.
 
Old 06-28-2016, 03:05 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Kind of depends on the distro you have and maybe how complex you want it to get. There are hundreds of ways to provide some remote resource. Things that come to mind off hand would be NFS, FTP, TFTP, HTTPS server (barracuda server) as well as SSH and more. Things like messengers and remote desktops can share files and desktop.

Some distro's offer some easy ways to manage and access remote files.
 
Old 06-28-2016, 03:12 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
NFS. The only concern is NFS goes by UID's, not user names. So if you have user snatale1 with UID 500 in one box and with UID 1000 in another you will not have correct permissions. There are several ways to get around this, IMHO for small networks it is best to synchronize the UID's.
 
1 members found this post helpful.
Old 06-28-2016, 04:05 PM   #4
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Original Poster
Rep: Reputation: 48
Thanks guys, I looked up some NFS configs and maybe a little above me for now, guess I'll stick with Samba for now and play around with NFS in a VM until I'm confident in switching over my setup. Thanks.
 
Old 06-28-2016, 06:58 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Might see this too. This company has been around for a long time and has supported linux. https://barracudadrive.com/

Last edited by jefro; 06-28-2016 at 07:00 PM.
 
Old 06-29-2016, 01:22 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
If you use KDE just start dophin and click on the network icon. You'll have to enter the IP-adress and password of the machine and account you want to contact, the rest is cared for...
 
1 members found this post helpful.
Old 06-29-2016, 06:38 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
This thread is marked as [SOLVED]. What is the solution?
 
Old 06-29-2016, 04:01 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
The solution is....
That the OP continues to use samba/cifs and will look at NFS maybe in future.
 
Old 06-30-2016, 01:04 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by snatale1 View Post
...clicking extra stuff to get into workgroups that I believe Linux doesn't even need seems stupid. What is the correct way...
Staying with this is no true solution (at least for me), that's why I asked, but if the OP is content...
 
Old 06-30-2016, 04:00 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
If you feel you need help with such a situation then maybe consider a new thread on your issue. It will receive more attention that way I think.
 
Old 06-30-2016, 04:15 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
In actuality NFS is real easy.
 
Old 07-04-2016, 06:41 PM   #12
savage72
LQ Newbie
 
Registered: Nov 2015
Posts: 11

Rep: Reputation: Disabled
Do some googling on setting up NFS
NFS is the way to go, very easy to mount remote destination as local destinations such as: mount -t nfs homeserver:/var2/ /mnt/nfs/- this will make the directory "/mnt/nfs" representative of the /var2/ directory on the remote server.
some of files of interest are: /etc/exports , /etc/mtab , /etc/fstab , /etc/hosts
 
Old 07-06-2016, 03:59 PM   #13
linxpatrick
Member
 
Registered: Oct 2010
Posts: 32

Rep: Reputation: 1
If you don't require Active Directory, you don't require all of SAMBA but just to use the CIFS file system (NTFS) you can still use SAMBA. I have used SAMBA for as long as I've been connecting Linux computers to my network. First it was without Active Directory but then I had to go through the extra steps of logging into each resource and selecting to remember the password. Weather on Windows or by using SAMBA Active Directory, Active Directory provides a common database for authentication so that once you get everything set up your desktop login also works for shared resources, such as folders and files and printers.

I switched over to SAMBA4 Active Directory when I switched my email from Exchange Server to SOGo. Since that time, SAMBA4 has become better and I've been quite satisfied with it.

One last possibility you may have is connecting a Linux computer to a Windows Active Directory. While there are several distro's out there that can join an Active Directory domain, most of them use products that require using the terminal and/or installing additional software, like PBIS. openSuSE is an exception. If you have enough knowledge to join a Windows AD from a Windows desktop computer you can do the same in openSuSE.
 
  


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
Networking one Linux and one XP box kaiwhoeatspie Linux - Networking 4 07-31-2007 07:22 AM
Accessing WevDav directory on linux box A from linux box B using Ant script. panayoti Linux - Newbie 0 10-07-2006 11:44 PM
I need help networking a linux box to a win98 box... philfighter Linux - Networking 0 11-13-2001 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:03 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
Open Source Consulting | Domain Registration