Hello... I am using the latest stable merlin firmware on my RTAC66-U.. but I am having all sorts of trouble mounting an NFS share of the router (of a plugged in USB disk) from a Debian client. I created a "/nfs" folder to mount the NFS to on my root filesystem in the Debian client.
I have tried using legacy mode as well as NFSV4 but I either get access denied or protocol not supported errors when I try to mount them.
I tried the "*" as well as "192.168.1.0/24" and even leaving it blank but I just can't access that NFS share. I have followed all instructions I can find on the web but nothing seems to work. I tried both protocol options such as
#mount -o mountproto=tcp (also tried =udp)
right now the closest I can get is a protocol not supported when I use the following:
#sudo mount -o vers=4 192.168.1.1:/tmp/mnt/drive/new /nfs
along with
##sudo mount -o vers=4 192.168.1.1:/mnt/drive/new /nfs
and the result is:
#mount.nfs: Protocol not supported
or
#mount.nfs: access denied by server while mounting 192.168.1.1:mnt/drive/new
Here is the current exports file from the router (I tried just mounting the whole filesystem, still no luck):
##export file##
/mnt 192.168.1.0/24(no_root_squash,rw)
and the fstab of the Debian client if it helps:
# /etc/fstab: static file system information.
#
# Auto generated by RootStock-NG: setup_sdcard.sh
#
/dev/mmcblk0p2 / ext4 noatime,errors=remount-ro 0 1
debugfs /sys/kernel/debug debugfs defaults 0 0
Any help would be so appreciated I have been hacking at this thing for about 3 hours now with no victory. The whole point of the Debian system was to utilize the USB disks connected to the router, so I need to find a way to get solid access to them.
I have tried using legacy mode as well as NFSV4 but I either get access denied or protocol not supported errors when I try to mount them.
I tried the "*" as well as "192.168.1.0/24" and even leaving it blank but I just can't access that NFS share. I have followed all instructions I can find on the web but nothing seems to work. I tried both protocol options such as
#mount -o mountproto=tcp (also tried =udp)
right now the closest I can get is a protocol not supported when I use the following:
#sudo mount -o vers=4 192.168.1.1:/tmp/mnt/drive/new /nfs
along with
##sudo mount -o vers=4 192.168.1.1:/mnt/drive/new /nfs
and the result is:
#mount.nfs: Protocol not supported
or
#mount.nfs: access denied by server while mounting 192.168.1.1:mnt/drive/new
Here is the current exports file from the router (I tried just mounting the whole filesystem, still no luck):
##export file##
/mnt 192.168.1.0/24(no_root_squash,rw)
and the fstab of the Debian client if it helps:
# /etc/fstab: static file system information.
#
# Auto generated by RootStock-NG: setup_sdcard.sh
#
/dev/mmcblk0p2 / ext4 noatime,errors=remount-ro 0 1
debugfs /sys/kernel/debug debugfs defaults 0 0
Any help would be so appreciated I have been hacking at this thing for about 3 hours now with no victory. The whole point of the Debian system was to utilize the USB disks connected to the router, so I need to find a way to get solid access to them.