This is an old revision of the document!


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
mkdir -p /embedded
echo "$SERVERADDRESS:/embedded /embedded nfs rw,noatime,noauto 0 0" >> /etc/fstab
mount $SERVERADDRESS:/embedded
/etc/modprobe.d/modprobe.conf
blacklist rpcsec_gss_krb5
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies