The server is static ip at 192.168.1.100 and the client is
wireless dhcp at 192.168.1.105. I am not sure if port forwarding
is correct on the linksys WRT54G router (see config below). I
am only using the router firewall. There are no firewall on
either client or server.
Code:
mount -t nfs 192.168.1.100:/home/stephen/ /mnt/develop/home/stephen/
it just hangs. Cant't find any info in /var/log/messages.
Here is my configuration on the server:
/etc/exports
Code:
/home/stephen/snd 192.168.1.105(rw)
/home/stephen/Steve 192.168.1.105(rw)
/home/stephen/prog 192.168.1.105(rw)
/etc/hosts.allow
Code:
portmap: 192.168.1.105
lockd: 192.168.1.105
rquotad: 192.168.1.105
mountd: 192.168.1.105
statd: 192.168.1.105
/etc/hosts.deny
Code:
portmap: ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
Made a few modifications to:
/etc/default/nfs-kernel-server
Code:
RPCMOUNTDOPTS="-p 32767"
/etc/default/nfs-common
Code:
STATDOPTS="--port 32766 --outgoing-port 32765"
Code:
develop:/etc# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
391002 2 tcp 973 sgi_fam
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 32767 mountd
100005 1 tcp 32767 mountd
100005 2 udp 32767 mountd
100005 2 tcp 32767 mountd
100005 3 udp 32767 mountd
100005 3 tcp 32767 mountd
100024 1 udp 32766 status
100024 1 tcp 32766 status
My WRT54G router setup for port forwarding. I'm not sure about what to put for the application names so I just called them nfs. Could this be the problem?
Code:
nfs 111 --> 192.168.1.100
nfs 2049 --> 192.168.1.100
nfs 32765-32679 --> 192.168.1.100