Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-05-2005, 06:35 PM   #1
LQ Newbie
Registered: Jan 2005
Location: va
Distribution: suse 9.2
Posts: 10

Rep: Reputation: 0
Post File sharing on a network NFS

At our school we have 4 machines and they're all together on a simple network...but not connected to the outside world of internet (yet.....)

all of the ips on the four machines are:

computer 1 name--->Hobbes
computer 2 name--->JJ&P

both computers can ping each other.....but we want JJ&P to 'cd' into a directory created in "Hobbes" on the JJ&P computer

i guess it would be like:

cd /Hobbes

(now JJ&P can see certainly files on a dir that Hobbes made, via the private network)

so the question is this linux folks:


in plain terms: how do you make an NFS on a network so all the computers on that network can see files on OTHER need to ssh, telnet, no passwords, plain ole file sharing....

the closest we got was:
mount -t nfs /Hobbes
^^not right at all


PS we all have Suse 9.1

Last edited by linux_blnk182; 01-05-2005 at 06:41 PM.
Old 01-05-2005, 07:26 PM   #2
LQ Newbie
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
This should work:
1: as root on the box that will be sharing the files
chkconfig --level 35 nfs on

2: if not already exists create a directory
mkdir /name/of/directory

3: create the export entry (you might want to replace * with the IP of the hosts on you network)
echo "/name/do/directory *(sync,ro)" > /etc/exportfs

4: start nfs
service nfs start

5: on the you are connecting from
showmount -e $IP_of_server_that's_sharing_the_file

6: mount files locally
mount -t nfs $IP_of_server_that's_sharing_the_file:/name/of/directory /where/you/want/to/mount

That should do the trick....

Old 01-05-2005, 07:29 PM   #3
LQ Newbie
Registered: Jan 2005
Location: va
Distribution: suse 9.2
Posts: 10

Original Poster
Rep: Reputation: 0

I was able to find a tutorial that also looks might like it


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
Ubuntu NFS file sharing not working snobird Ubuntu 1 06-26-2005 07:31 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 07:54 AM
Problem with sharing CD-ROM over network, NFS PR0T0N Linux - Networking 3 12-05-2003 11:18 AM
File Sharing: NFS or SMB? scorpatron Linux - Networking 6 11-10-2003 01:44 AM
File Sharing with NFS graystarr Linux - Networking 1 01-14-2002 03:28 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:18 AM.

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