This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
To: psyche-list@listman.redhat.com From: John Lowell <johnlowell@ameritech.net> Subject: NFS, SchmeNFS Date: Wed, 26 Feb 2003 23:29:58 -0500 I have a three machine network behind a router which acts as a DHCP server and a gateway to the internet via an ADSL modem . Two of the machines have their IP addresses assigned by the router dynamically. The other, set aside to act as a webserver, has been given a static IP address outside of the range available to the router for dynamic addressing and has been configured for port forwarding. I'm using Red Hat 8.0 Workstation installations on the dynamically assigned computers and a Red Hat 8.0 Server installation, of course, on the webserver. Wanting to be able to share files on the two dynamically assigned computers, I've made an attempt to set up each machine as a NFS file server. Starting with the first machine, I wrote a simple /etc/exports file permitting unfetterred access to the whole of the file system by the other computer. The entries in /etc/exports were as follows: / 192.168.1.101(rw) Next, I ran chconfig nfs on chconfig nfslock on to start the nfs daemons. Rebooting, and running rpcinfo -p I was shown entries both for mountd and nfs, so I moved on to the client machine. At the client, where I've chosen to manually mount NFS, as root I ran mkdir /mnt/192.168.1.100 mount 192.168.1.100:/home/jlowell/moneydance /mnt/192.168.1.100 and get the following output: mount: RPC: Port mapper failure - RPC: unable to receive Would someone be kind enough to explain to me what's going off the rails here? As far as I know I've done what has to be done so as to enable mounting on the client computer. === To: psyche-list@listman.redhat.com From: Ralf Spenneberg <lists@spenneberg.org> Subject: Re: NFS, SchmeNFS Date: 27 Feb 2003 08:17:12 +0100 Am Don, 2003-02-27 um 05.29 schrieb John Lowell: > > rpcinfo -p > > I was shown entries both for mountd and nfs, so I moved on to the client > machine. > > At the client, where I've chosen to manually mount NFS, as root I ran > > mkdir /mnt/192.168.1.100 > mount 192.168.1.100:/home/jlowell/moneydance /mnt/192.168.1.100 > > and get the following output: > > mount: RPC: Port mapper failure - RPC: unable to receive If you can ping your machine your firewall may be turned on on either machine and disallow NFS. === To: psyche-list@listman.redhat.com From: Robert Boone <robert@rlb3.com> Subject: Re: NFS, SchmeNFS Date: 27 Feb 2003 02:36:41 -0600 All so make sure portmap it on... === To: psyche-list@listman.redhat.com From: John Lowell <johnlowell@ameritech.net> Subject: Re: NFS, SchmeNFS Date: Thu, 27 Feb 2003 10:52:06 -0500 Ralf Spenneberg wrote: >Am Don, 2003-02-27 um 05.29 schrieb John Lowell: > >If you can ping your machine your firewall may be turned on on either >machine and disallow NFS. > >Cheers, > >Ralf > > Hi Ralf, Thanks for the reply. I successfully can ping each machine on the network from any other. Where do I look to see what's going on with the firewall and what should I look for there? When I made installation on each machine, I accepted the default values for security. Is this what you have in mind? === To: psyche-list@listman.redhat.com From: Robert Boone <robert@rlb3.com> Subject: Re: NFS, SchmeNFS Date: 27 Feb 2003 10:10:33 -0600 You can do ps ax | grep portmap If it is not there, type 'service portmap start'. Then to make sure it starts on reboot type 'chkconfig --levels 35 portmap on' === To: psyche-list@listman.redhat.com From: Ralf Spenneberg <lists@spenneberg.org> Subject: Re: NFS, SchmeNFS Date: 27 Feb 2003 21:40:53 +0100 Am Don, 2003-02-27 um 16.52 schrieb John Lowell: Hi John, > > Where do I look to see what's going on with the firewall and what should > I look for there? When I made installation on each machine, I accepted > the default values for security. Is this what you have in mind? That's it! Red Hat suggests firewall settings. Turn them off on both machines for testing. Enter the following command on both machines service iptables off Now test nfs. If it works either keep the firewall off (chkconfig iptables off) or reconfigure it: lokkit (textmode) redhat-config-security (graphically) ===