LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-23-2002, 09:17 AM   #1
mjgeiger
LQ Newbie
 
Registered: Mar 2002
Location: Stoughton, MA
Distribution: Gentoo 1.4rc?, it's all good.....
Posts: 19

Rep: Reputation: 0
Sharing drives - 2 Linux Machines


Hey,

I just wanted to see if someone could point me in the right directions (a HOWTO or website) on how to share a folder on one linux machine with another linux machine on a LAN (192.168.x.x).

I am just looking for a start, I should be able to get it going after a push in the right direction.

thanks!
 
Old 10-23-2002, 10:43 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The most common way to share files is nfs
 
Old 10-23-2002, 12:43 PM   #3
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Slackware includes a bunch of HOW-TOs in:

/usr/doc

You should be able to find what you are looking for in there.
 
Old 10-24-2002, 05:24 PM   #4
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
If it is just for occasional file copying I found scp and sftp to be very good. All you need to do is install and configure ssh on both machines (generally setup already in most distros). Sorry for the brief reply, I will probably go in to more detail if you want.
 
Old 10-25-2002, 11:37 PM   #5
txGeek
Member
 
Registered: Oct 2002
Location: Houston, TX
Distribution: Debian, Redhat
Posts: 39

Rep: Reputation: 15
Easiest method is as follows.

1. Use Webmin to share a directory on each system. Such as /usr/local/pub.
2. Create a corresponding directory on the local machine. On PC2 you would add /usr/local/pub/pc1.
3. At a terminal window enter the command mount -t nfs pc1:/usr/local/pub /usr/local/pub/pc1 to mount the NFS share of PC1 to the local directory /usr/local/pub/pc1.
4. Edit the /etc/fstab and add the NFS share information so the directory will be automounted on every restart. The man pages for NFS give the following example pc1:/usr/local/pub /usr/local/pub/pc1 nfs rsize=8192,wsize=8192,timeo=14,intr
 
  


Reply



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
sharing CUPS printer between Linux machines hairydan Linux - Software 0 09-10-2004 08:35 PM
File sharing between two linux machines sridharanvinod Linux - Distributions 2 02-01-2004 11:23 AM
Internet Sharing on Linux machines varunbihani Linux - Networking 10 07-20-2003 09:34 AM
sharing a Windows Printer with Linux machines tthai01 Linux - Networking 5 11-22-2002 02:32 PM
how to connect two linux machines for file sharing? concoran Linux - Networking 5 11-08-2001 08:50 PM

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

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

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