nfsd unable to init

Issue #3 resolved
Peter J. Mello created an issue

Firmware: FreshTomato Firmware 2019.3 K26ARM USB AIO-64K

Router: Netgear Nighthawk R7000

NVRAM Total/Free: 64.00 KB / 15.10 KB

Despite having Enable NFS Server checked in the GUI with a valid set of exports below, I was unable to negotiate any connection to the router. In the course of troubleshooting the issue, I disabled the NFS server in the GUI and manually executed the constituent commands in /usr/sbin/nfs.rc via ssh, revealing the underlying fault to be the execution of nfsd itself, producing the error message

nfsd: unable to resolve ANYADDR:nfs: Servname not supported for ai_socktype

Suspecting that the issue was ultimately in /rom/etc/services I replaced line 217 with the following two lines

nfs 2049/tcp
nfs 2049/udp

and nfsd started without incident and I was instantly able to connect to the router from several clients on my network using NFSv3. I believe these changes need to ship with the firmware to restore the NFS functionality of the firmware for all users.

Comments (2)

  1. Log in to comment