Re: Problème NFS
* hugo <hugolino@free.fr> [2005-02-23 14:10] :
> Bonjour à tous
>
> Et merci à ceux qui ont répondu à mon problème de remontage rw de la
> partition root pour changer son passwd.
>
> J'ai un autre problème.
> J'ai deux PC en testing/2.6.7, un desktop 192.168.0.42 qui partage
> quelques répertoires via NFS et un portable.
Quelle adresse IP a ton portable ?
> Mardi tout roulaize.
> Mercredi soir, je branche mon portable sur sa prise réseau et fait un
> '$ mount /mnt/Desktop/HomeHugo' et ça répond
> "mount: 192.168.0.42:/home/hugo failed, reason given by server:
> Permission non accordée"
[...]
> Mon /etc/exports:
> 8<-----------8<---------8<----------8<----------8<----------8<----------8<
> # /etc/exports: the access control list for filesystems which may be exported
> # to NFS clients. See exports(5).
>
> /usr/local/bin 192.168.42.43(rw,no_root_squash,sync)
> /home/hugo 192.168.42.43(rw,no_root_squash,sync)
> /home/Vidéos 192.168.42.43(rw,no_root_squash,sync)
> /etc 192.168.42.43(rw,no_root_squash,sync)
> 8<-----------8<---------8<----------8<----------8<----------8<----------8<
>
> Mon /etc/hosts.allow:
[...]
> ALL: 127.0.0.1
>
> portmap: 192.168.0.43
> lockd: 192.168.0.43
> rquotad: 192.168.0.43
> mountd: 192.168.0.43
> statd: 192.168.0.43
> 8<-----------8<---------8<----------8<----------8<----------8<----------8<
Les adresse 192.168.42.43 et 192.168.0.43 ne correspondent pas, cela ne
pourra donc pas marcher quelle que soit l'IP de ton portable : le
blocage se situera au niveau de l'accès à portmap (pour 192.168.42.43)
et au partage du fichier exports (pour 192.168.0.43).
Fred
--
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Comment signaler efficacement un bug ?
http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html
Reply to: