LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-16-2005, 08:11 AM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
Networking 2 linux boxes with NFS??


Hi,
I have 2 pc's running Suse 9.3 and 10.0 respectivley.
I want to network them for file sharing.
Currently they are connected to an ADSL router/modem and both have internet connection.
However, at the moment, they can't share files.

I was told that one needs to use NFS.
I was pointed to this HOWTO http://nfs.sourceforge.net/nfs-howto/index.html
However, I don't really want to read through hundreds of web pages.
Can someone explain or outline in simple terms , what i need to do to get the pc's to share files?

thanks
Ludwig
 
Old 10-16-2005, 09:06 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just list your shares on the server machine in /etc/exports. Reload the nfs server then mount the shares on the client. If you need more information then it's all listed in the howto:
http://nfs.sourceforge.net/nfs-howto/
 
Old 10-16-2005, 09:49 AM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks. I'll give that a go....
 
Old 10-16-2005, 10:26 AM   #4
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
ok,I'm stuck.


I've gone into one machine, opened YAST and NETWORK SERVICES and the NFS server and made that machine an NFS server. It asked me what directories I wanted to share and I chose /home/username.

Then, I went to the other machine and did the same, expect I made that machine an NFS client............ or tried to. I think it is asking me to add details of the server.


Can anyone help me with this?
 
Old 10-16-2005, 03:09 PM   #5
imemyself
Member
 
Registered: Feb 2004
Location: Wichita, KS
Distribution: CentOS 4, SuSE 10, Tiger
Posts: 110

Rep: Reputation: 15
On the server, run ifconfig as root. There probably will be atleast 2 entries, lo like eth0 or something. Look at the IP address(like inet addr:192.168.2.218). Put whatever that number is in as the hostname for the server when you are configuring the client. The remote filesystem will be like /home/username. For the mount point, put in wherever you want to be able to access the files from the server on the client. If you just want to have the same home directory regardless of which Linux box you're on, put in /home/username in the mountpoint box as well.
 
  


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
NFS problem networking 2 RH9 boxes rblampain Linux - Networking 11 10-25-2004 12:05 AM
Networking 2 linux boxes together d4harvey Linux - Networking 6 05-29-2004 11:41 AM
Two boxes on university network: NFS Questions mac_phil Linux - Networking 1 09-30-2003 02:17 PM
networking two linux boxes dhcp?? mike@wales Linux - Newbie 2 06-02-2003 05:43 PM
Networking 2 Linux boxes Jester21 Linux - Networking 4 01-21-2003 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:44 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