- changed status to resolved
nfsd unable to init
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)
-
repo owner -
repo owner NFS: fix connection problems: nfsd: unable to resolve ANYADDR:nfs: Servname not supported for ai_socktype
- fixes issue
#3
→ <<cset 43a2ddade61b>>
- fixes issue
- Log in to comment
https://bitbucket.org/pedro311/freshtomato-arm/commits/43a2ddade61b5bfdc5f108b93fad1e057041d29f