What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

NFS - Protocol Not Supported / Access Denied

whizzard

New Around Here
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.
 
Asuswrt-Merlin does not support NFSv4, only v2 and v3.
 
Asuswrt-Merlin does not support NFSv4, only v2 and v3.

Thanks for that information... so I need to somehow enable V3 or V2 on my client?

I have tried using the vers=2 and vers=3 in the mount command and still get "access denied" error.
 
And may I say... thank you for replying to my forum question so quick. I appreciate when a dev takes the time out like that. I donated to you last year as well.. I swear! :)

Any idea if I can get to connect to the router's NFS? Any tricks, options, or methods?

edit: I really don't want to use the OEM firmware just because it supports NFS V4.... is there any workaround I can use to get the NFS export to let my client in?

Is NFS a Merlin only feature? Any help greatly appreciated.
 
Last edited:
And may I say... thank you for replying to my forum question so quick. I appreciate when a dev takes the time out like that. I donated to you last year as well.. I swear! :)

Any idea if I can get to connect to the router's NFS? Any tricks, options, or methods?

edit: I really don't want to use the OEM firmware just because it supports NFS V4.... is there any workaround I can use to get the NFS export to let my client in?

Is NFS a Merlin only feature? Any help greatly appreciated.

NFS support is something that I added long ago. It wasn't very stable on the MIPS models probably due to the old kernel, so I haven't paid any further attention to it.

Not being an expert, I can't help you any further. I always have to use some online guide whenever I need to play with NFS (which occurs once every few years at best).
 
NFS support is something that I added long ago. It wasn't very stable on the MIPS models probably due to the old kernel, so I haven't paid any further attention to it.

Not being an expert, I can't help you any further. I always have to use some online guide whenever I need to play with NFS (which occurs once every few years at best).
NFS support is something that I added long ago. It wasn't very stable on the MIPS models probably due to the old kernel, so I haven't paid any further attention to it.

Not being an expert, I can't help you any further. I always have to use some online guide whenever I need to play with NFS (which occurs once every few years at best).

Thats OK Merlin, thanks again for answering my questions. I ended up figuring out how to mount the USB disks using samba instead of NFS. I was going to go for NFS because I figured it was better but I really don't know that it is. Thanks again for your help, and your awesome firmware!
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top