Codice: Seleziona tutto
root@pi4:~# showmount -e 192.168.1.10
rpc mount export: RPC: Unable to receive; errno = Connection refused
Codice: Seleziona tutto
root@pi4:~# cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/mnt/wd1 192.168.1.1/24(rw,sync,no_subtree_check)
/mnt/wd2 192.168.1.1/24(rw,sync,no_subtree_check)
Codice: Seleziona tutto
root@pi4:~# ls -l /etc/rc.d/rc.nfsd /etc/rc.d/rc.rpc
-rwxr-xr-x 1 root root 2917 apr 12 20:48 /etc/rc.d/rc.nfsd*
-rwxr-xr-x 1 root root 2295 ago 7 20:19 /etc/rc.d/rc.rpc*
Codice: Seleziona tutto
root@pi4:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination