Hola Joan, M'ho has fet provar entre dos portàtils que manego (normalment jo comparteixo amb CIFS / SMB).
Et falta afegir al servidor permisos per a la/les màquines de la teva xarxa: Afegeix les línies de sota al /etc/hosts.allow # /etc/hosts.allow: list of hosts that are allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). # # Example: ALL: LOCAL @some_netgroup # ALL: .foobar.edu EXCEPT terminalserver.foobar.edu # # If you're going to protect the portmapper use the name "portmap" for the # daemon name. Remember that you can only use the keyword "ALL" and IP # addresses (NOT host or domain names) for the portmapper, as well as for # rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8) # for further information. # lockd: 192.168.1.0/255.255.255.0 rquotad: 192.168.1.0/255.255.255.0 mountd: 192.168.1.0/255.255.255.0 statd: 192.168.1.0/255.255.255.0 Després: #service nfs-kernel-server restart Alerta perquè NFS no usa contrasenyes. Ja ens diràs! On 22 June 2013 17:19, Joan <arboc...@calbasi.net> wrote: > Cada cop que provo de compartir fitxers entre el meu portàtil i el fixe > em torno ximple... Benauradament només passa cada 3-4 anys... > > Bueno, al provar-ho ara em dona un error el client: > > mount.nfs:access denied by server while mounting > > I al servidor puc veure: > > #tail /var/log/messages > [21145.725193] nfsd: last server has exited, flushing export cache > [21147.369536] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state > recovery directory > [21147.369966] NFSD: starting 90-second grace period > > I també... > > root@localhost:/home/joan# rpcinfo -p > program vers proto port service > 100000 4 tcp 111 portmapper > 100000 3 tcp 111 portmapper > 100000 2 tcp 111 portmapper > 100000 4 udp 111 portmapper > 100000 3 udp 111 portmapper > 100000 2 udp 111 portmapper > 100024 1 udp 41262 status > 100024 1 tcp 41419 status > 100003 2 tcp 2049 nfs > 100003 3 tcp 2049 nfs > 100003 4 tcp 2049 nfs > 100227 2 tcp 2049 > 100227 3 tcp 2049 > 100003 2 udp 2049 nfs > 100003 3 udp 2049 nfs > 100003 4 udp 2049 nfs > 100227 2 udp 2049 > 100227 3 udp 2049 > 100021 1 udp 45933 nlockmgr > 100021 3 udp 45933 nlockmgr > 100021 4 udp 45933 nlockmgr > 100021 1 tcp 56465 nlockmgr > 100021 3 tcp 56465 nlockmgr > 100021 4 tcp 56465 nlockmgr > 100005 1 udp 57074 mountd > 100005 1 tcp 40971 mountd > 100005 2 udp 42418 mountd > 100005 2 tcp 40386 mountd > 100005 3 udp 46555 mountd > 100005 3 tcp 36359 mountd > > root@localhost:/home/joan# grep NFSD /boot/config-`uname -r` > CONFIG_NFSD=m > CONFIG_NFSD_V2_ACL=y > CONFIG_NFSD_V3=y > CONFIG_NFSD_V3_ACL=y > CONFIG_NFSD_V4=y > > root@localhost:/home/joan# more /etc/hosts.allow > i al hosts.deny > No hi tinc res, tot està comentat, com el defecte... > > root@localhost:/home/joan# more /etc/hosts > 127.0.0.1 localhost > ::1 localhost ip6-localhost ip6-loopback > fe00::0 ip6-localnet > ff00::0 ip6-mcastprefix > ff02::1 ip6-allnodes > ff02::2 ip6-allrouters > > root@localhost:/home/joan# exportfs > /home/joan/ajoan/personal/economia/emma > 192.168.1.0/24 > > > Algú sap que pot passar? > > > -- > > Joan Cervan i Andreu > http://personal.calbasi.net > > "El meu paper no és transformar el món ni l'home sinó, potser, el de ser > útil, des del meu lloc, als pocs valors sense els quals un món no val la > pena viure'l" > A. Camus > > i pels que teniu fe: > "Déu no és la Veritat, la Veritat és Déu" > Gandhi > > > -- > To UNSUBSCRIBE, email to debian-user-catalan-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: http://lists.debian.org/51c5c06f.5060...@calbasi.net > > -- -- Salutacions...Josep --