First try at NFS
Ian Stephen
ianstepn
Sat Nov 13 02:02:27 PST 2004
Hi folks
I've been using sftp and scp between my laptop and desktop, but kept
thinking someday I should learn something about NFS.
Tried today using (mostly) Mandrake 10's GUI method with the desktop
machine as server and have met with frustration.
I put the line "portmap: <laptop ip>" in /etc/hosts.allow
/etc/exports is good I think, with the ip of the laptop specified and
"rw,all_squash,anonuid=<my_normal_uid>,anongid=<fileshare_gid>, sync"
>From the laptop 'rpcinfo -p <desktop_ip>' gives
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
391002 2 tcp 32768 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
100021 1 udp 32792 nlockmgr
100021 3 udp 32792 nlockmgr
100021 4 udp 32792 nlockmgr
100021 1 tcp 32863 nlockmgr
100021 3 tcp 32863 nlockmgr
100021 4 tcp 32863 nlockmgr
100005 1 udp 916 mountd
100005 1 tcp 919 mountd
100005 2 udp 916 mountd
100005 2 tcp 919 mountd
100005 3 udp 916 mountd
100005 3 tcp 919 mountd
and nmap -v <desktop_ip> finds port 111 and 2049 open
but attempting to mount the remote directory from cli on the laptop
gives "mount: RPC: Timed out" and attempts to connect from Mandrake
Control Center or from Konqueror seem to time out as well.
I've tried it with both my router firewall and desktop machine's
firewall disabled. Same result.
Any clues to offer?
Thanks,
IanS
More information about the Linux-users
mailing list