I set up a Linux server in my home office, on a network with two Linux
boxes and a gateway router. I tried to set up the server as a DNS
server and could not get it to work. So I cheated and put all of the
host information in the hosts files. Then I tried to set up NFS and ssh
so I can log in and use the server as a test web server. But I can not
connect to the server.
Here is some more info:
* Both machines are connected to a USR gateway router that is running a
firewall (but I turned off the firewall function in the router and it
didn't make a difference).
* Both machines are set up with a unique static IP address and they use
the same netmask, network, and broadcast addresses.
* Both machines have full Internet access.
* Both machines can ping each other.
* Both machines have all of their NFS services running just fine. But
on the client machine rpcinfo -p shows mountd using ports 32769 and
32779, but people are saying it doesn't matter what port mountd is using.
* The server has sshd running and all of the NFS services look fine on
the server too. Telnet and some other services are running on the
server and it looks fine as far as I can tell.
* I can telnet and ssh to the server from the server, but not from the
client, which leads me to think that the services are running fine on
the server and the problem has to do with the connection or port
numbers. But I'm no expert...
So here is what I get when I try to connect to the server from the
client using various methods.
ssh: connect to address 192.168.123.1 port 22: Connection refused
rpcinfo -p testserver
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection
mount -t nfs testserver:/ /testserver
mount: RPC: Port mapper failure - RPC: Unable to receive
telnet: connect to address 192.168.123.1: Connection refused
It seems like I don't have mountd set up of running correctly but all of
the necessary services (portmapper, rquotad, mountd, nfs, nfslock) are
running on both machines. I have run out of tools to use to try to
figure out what is not set up correctly.
Oh yeah... I'm running Red Hat 7.3 on both machines.
Any suggestions on how I can get these two machines communicating with
more than just ping???