SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have connected two computers (both running slack 10) by ethernet cards with a crossover cable. Both machines are able to ping each other & I have checked each cards configuration with ifconfig.
I have tried to set up an nfs folder on one machine to be mounted by the other. When I type 'showmount -e localhost' the folder shows up fine on its machine but when I try to mount it on the other machine, either from the command line or via /etc/fstab I get the error message 'failed, reason given by server: Permission denied'
The firewall on each machine is turned off. I have used the * wildcard in /etc/exports so it is not a naming problem, as far as I can tell.
Nothing I have managed to read or google has sorted it. All suggestions & or further reading gratefully received.
Hi - thanks for the interest. Sorry if this is a long post but I am trying to provide all the information as requested. I may have missed something very basic, I have been using Linux for about one & a half years but this is the first time I have tried networking anything.
the two computers are (as in /etc/hosts):
127.0.0.2 sb.net sb (client)
127.0.0.3 lb.net lb (server)
hosts.allow is set to 'ALL:ALL' and there are no entries in hosts.deny
the /etc/exports entry on lb is:
and the /etc/fstab entry on sb is
lb.net:/test /in nfs noauto,user,ro 0 2
The permissions on both folders are liberal. My basic approach has been to try & allow everything & tighten up afterwards.
Why don't you try putting a specific entry in /etc/hosts.allow containing your actual IP address of the client.
And i think using an ip address instead of the * in /etc/exports will help too, as mentioned above.
Last edited by Vincent_Vega; 01-02-2005 at 03:24 PM.
the output of rpcinfo -p servername run on the client
the output of rpcinfo -p localhost run on the server
and have you edited /etc/hosts.allow and/or
Permission denied has nothing to do with rpc or portmap but most likely the shares have not been exported properly especially using a 127.x.x.x type local loop type IP address. Like mentioned before, you need to use networkable IP addresses in order for your nfs shares to work and export properly.
Hi - I've got it working - thanks for all suggestions.
Changing the addressed from 127* to 192.168* addresses made a difference. Strangely enough, after that I also had to create an /etc/exports entry for the client machine and reboot to get RPC working. After that both machines can mount each others 'shared' directory.