This is an old revision of the document!
Table of Contents
NFS
Debian server
apt-get install rpcbind nfs-common nfs-kernel-server sed -i 's/NEED_IDMAPD=$/NEED_IDMAPD=YES/' /etc/default/nfs-common /etc/init.d/rpcbind restart /etc/init.d/nfs-common restart /etc/init.d/nfs-kernel-server restart
echo "/embedded $CLIENTADDRESS(rw,no_subtree_check,no_root_squash,async)" >> /etc/exports exportfs -a
OpenWRT client
modprobe nfsv3 modprobe nfs mkdir -p /embedded mount.nfs $SERVERADDRESS:/embedded /embedded -o nolock
Raspbian client
apt-get install rpcbind nfs-common sed -i 's/NEED_IDMAPD=$/NEED_IDMAPD=YES/' /etc/default/nfs-common mkdir -p /embedded echo "$SERVERADDRESS:/embedded /embedded nfs rw 0 0" >> /etc/fstab /etc/init.d/rpcbind restart /etc/init.d/nfs-common restart mount -a
Void Linux client
xbps-install nfs-utils echo "blacklist rpcsec_gss_krb5" >> /etc/modprobe.d/modprobe.conf mkdir -p /embedded echo "$SERVERADDRESS:/embedded /embedded nfs rw,noatime,noauto 0 0" >> /etc/fstab echo "rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0" >> /etc/fstab mkdir -p /var/service/rpcbind echo "#\!/bin/sh\nexec rpcbind -f" > /var/service/rpcbind/run chmod +x /var/service/rpcbind/run mkdir -p /var/service/rpc.idmapd echo "#\!/bin/sh\nexec rpc.idmapd -f" >> /var/service/rpc.idmapd/run chmod +x /var/service/rpc.idmapd/run mount rpc_pipefs mount $SERVERADDRESS:/embedded