newbie nfs question
We have 3 SuSE linux boxes with ethernet cards correctly configured. On 192.168.0.0 is installed the nfs server with 192.168.0.1 and 192.168.0.2 nfs clients. All installed with Yast2. How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no? Any help much appreciated. Steve.
192.168.0.0 can be interpretted by various units as the netwotk address for the 192.168.0.x network. To avoid problems you should perhaps use another address for the box. Arthur On Wednesday 24 October 2001 10:53 pm, you wrote:
We have 3 SuSE linux boxes with ethernet cards correctly configured. On 192.168.0.0 is installed the nfs server with 192.168.0.1 and 192.168.0.2 nfs clients. All installed with Yast2.
How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no?
Any help much appreciated.
Steve.
Look up info on export, /etc/export, and mount (mount -t nfs). Can't remember exactly how to do it off the top of my head. Adam Oliver http://www.meyedev.com/people/index.html aolive1@umbc.edu AOL IM: Zor_Prime09 Yahoo IM: GendoIkari69 MSN Messenger: GendoIkari69@yahoo.com
-----Original Message----- From: scc [mailto:fsanta@arrakis.es] Sent: Wednesday, October 24, 2001 5:54 PM To: SuSE Subject: [SLE] newbie nfs question
We have 3 SuSE linux boxes with ethernet cards correctly configured. On 192.168.0.0 is installed the nfs server with 192.168.0.1 and 192.168.0.2 nfs clients. All installed with Yast2.
How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no?
Any help much appreciated.
Steve.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Steve, 1: you cannot use 192.168.0.0 as IP-address. Depending on the netmask you can use anything but 0,254 and 255 2: you have to activate the nfs-server 3. define shares on the server 4. mount the shares on the clients 5. users must have correct rights on the nfs-server you're right: that isn't very hard to do, but may I suggest you read some manpages or the SuSE manuals on this subject ;-) Mazzel, Marcel On Wed, 2001-10-24 at 23:53, scc wrote:
We have 3 SuSE linux boxes with ethernet cards correctly configured. On 192.168.0.0 is installed the nfs server with 192.168.0.1 and 192.168.0.2 nfs clients. All installed with Yast2.
How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no?
Any help much appreciated.
Steve.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
--- scc
How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no?
It's actually *very* easy. Try `man exports' :) ===== -- -=|JP|=- Hit me! - http://www.xanga.com/cowboydren/ Jon Pennington | Debian 2.3 -o) cowboydren @ yahoo . com | Auto Enthusiast /\\ Kansas City, MO, USA | ICQ UIN 69 67 29 31 _\_V __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
* scc
We have 3 SuSE linux boxes with ethernet cards correctly configured. On 192.168.0.0 is installed the nfs server with 192.168.0.1 and 192.168.0.2 nfs clients. All installed with Yast2.
How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no?
In /etc/exports: <dir> <host>(options) Example: /home/fred *.foobar.com(ro) -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
On Wed, 24 Oct 2001 23:53:51 +0200
scc
How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no?
IMHO, the best way to share files by NFS through your network is to create
a directory in your server and you clients and share it.
Let's say that this directory is /usr/local/share/netwide, on you server add
this to your /etc/exports file:
/usr/local/share/netwide *(rw,no_root_squash)
and on each client's /etc/fstab file add:
<servername>:/usr/local/share/netwide /usr/local/share/netwide nfs defaults 0 0
do a 'rcnfsserver restart' on your server and a 'rcnfs restart' on each client and all should go fine.
HTH, regards...
--
Jean-François Bocquet
Hi everyone. Thanks for all the help in this thead. We now have working network. I had no idea that networking was so well catered for in Linux and so easy to set up. Steve On Friday 26 October 2001 18:43, you wrote:
On Wed, 24 Oct 2001 23:53:51 +0200
scc
wrote: How do we communicate with the other machines? How can I get a file from 192.168.0.0 in /home/fred into one of the clients. It can't be that hard no?
IMHO, the best way to share files by NFS through your network is to create a directory in your server and you clients and share it.
Let's say that this directory is /usr/local/share/netwide, on you server add this to your /etc/exports file:
/usr/local/share/netwide *(rw,no_root_squash)
and on each client's /etc/fstab file add:
<servername>:/usr/local/share/netwide /usr/local/share/netwide nfs defaults 0 0
do a 'rcnfsserver restart' on your server and a 'rcnfs restart' on each client and all should go fine.
HTH, regards...
participants (7)
-
Adam Oliver
-
arthur
-
Jean-Fran�ois Bocquet
-
Jon Pennington
-
Mads Martin Joergensen
-
Marcel Broekman
-
scc