N1 nfs guide
This is a copy of https://gitee.com/8ox86/phicomm-n1-issue/blob/master/nfsd-config.md. Please refer to the original page for the newest version.
N1 服务端配置:
建立导出目录:
mkdir -p /srv/nfs/qb绑定目录到导出目录:
mount --bind /media/wd3t/qbittorrent/download/ /srv/nfs/qb这一行bind 可以添加到开机脚本rc.local中.可在dashboard中设置.
编辑:
vim /etc/exports增加两行:
/srv/nfs 192.168.8.0/24(rw,sync,crossmnt,no_root_squash,no_subtree_check,insecure,fsid=0)
/srv/nfs/qb 192.168.8.0/24(rw,sync,no_root_squash,insecure,no_subtree_check)告诉nfsd 我加了新东西了:
[root@phicomm-n1:/etc/init.d]# exportfs -rav
exporting 192.168.8.0/24:/srv/nfs/qb
exporting 192.168.8.0/24:/srv/nfs查看状态:
[root@phicomm-n1:/etc/init.d]# exportfs -v
/srv/nfs 192.168.8.0/24(rw,wdelay,crossmnt,insecure,no_root_squash,no_subtree_check,fsid=0,sec=sys,rw,insecure,no_root_squash,no_all_squash)
/srv/nfs/qb 192.168.8.0/24(rw,wdelay,insecure,no_root_squash,no_subtree_check,sec=sys,rw,insecure,no_root_squash,no_all_squash)KO
Android 挂载:
先开启写:
N1 rush 固件配置: 编辑NFS脚本 /system/etc/nfs_mounts.sh 修改最后一行为:
T1 rush 固件配置:
编辑NFS脚本 /system/etc/nfs_mounts.sh
最终脚本类似:
Last updated