On Sat, 12 Oct 2002 18:20, you wrote:
> Hi CLUG,
>
> Please could you help me.I have managed to get NIS to work and have moved
> on to try and export my /home directory using NFS. I am running mandrake
> 8.1 on the server and 8.2 on the client. NFS is installed on both
> computers.
>
> I have added the following line to /etc/exports (on the server)
>
> /home 192.168.0.0/255.255.255.255(rw)

You have a network address and a mask for a machine!
try 192.168.0.0/28 

Check that you have:-
Restarted the daemons after you changed the config file.

Set up /etc/hosts.allow and hosts.deny

Also ensure that the uid and gid of the real users is the same on both 
machines.

> and NFS starts without any errors. so far so good....
>
> The client machine is another story. I altered the "/home" line in
> /etc/fstab to
>
> 192.168.0.1:/home /home nfs defaults 0 0

Custom has it that the ...1 machine is the Internet gateway, but it's not 
important.

> Now when I reboot i cannot load the NFS /home. The client machine has
> nothing in /etc/exports. The NIS domina is mynis.org .The servers IP is
> 192.168.0.1 and the clients IP is 192.168.0.5 (and now you know enough to
> crack/hack my LAN...) . NFS was installed using RPMS provided on teh
> Mandrake CD's. I have tried (as root):
>
> # mount 192.168.0.1:/home /mnt/home
>
> And I got an error. I have read the NHF how-to (so please dont tell me the
> answers are in it)
RUTE book chapter 28
http://rute.2038bug.com/node31.html.gz

hth
-- 
Sincerely etc.,
Christopher Sawtell

Reply via email to