Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just installed Redhat 8.0 on a home LAN. Lan seems to work fine - I can ping other machines using either their symbolic name (from etc/hosts) or their IP address.
However NFS mounts fail with a RPC Portmap message. I also tried telnet, to get connection refused. Firewall is disabled and hosts.accept and hosts.deny are empty so I don't believe this is a security or permissions issue. etc/exports is also set up correctly.
I removed the entries from etc/hosts and found that NFS mount worked fine using the IP address of the box I wanted to link to. But put the entries back in and NFS mount fails even if I use the IP address rather than the host name.
If this wasn't so basic, I'd suspect a bug. Any thoughts on further options to try?
(Sadly, smbmount for the one remaining windows machine works well throughout.)
In the machine that you are mounting the directory the portmap is runing? The domain in this machine is localdomain? Can you try to remove from the machine that is exporting from the /etc/exports the *.localdomain to make a test?
after that check
if you have the export directory in /etc/exports
something like ( put the directory you want to export )
/opt/var/ftp/pub
without option you export for the everybody
otherwise run
exportfs -a ( for all the export directories)
now check to mount the nfs on your own machine (the nfs server) by using the IP of your own machine to avoid the connection problem.
for the telnet, you run it via the xinetd.
To run it simply, run the setup, choose the services, and check the telnet service (same thing for ftp ) save the configuration.
restart the xinetd with
Many thanks for all the suggestions, esp bela whose step by step guide was rather better than the manual!
I had already followed the steps outlined but with no success. I fixed temporarily by taking all local name entries out of etc/hosts and using the IP address directly.
Incidently there is a bug (76543) on buzilla that seems to have symptoms very close to the problem
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.