I’m running an nfs server on my asus router running entware. Unfortunately, only version 2 of the server is available on that platform. While trying to set up the client on my osmc installation to connect to the server, it refuses to do so. I’ve adjusted a few lines in the export file like adding an insecure flag, but no go.
Does anyone know how I can install version 2 of the nfs server on osmc?
If you are speaking about NFS version 2 (protocol), then this is quite old!
If you could get the log so we could look at the error message, we could get a better idea of what is going on. I’m not able to tell whether you’re trying to connect to the share via Kodi or /etc/fstab at the moment either.
Sorry, I tried connective via Kodi, but obviously that gave me an error with no details. Then I tried it via modifying fstab, but it yielded the same results. Here’s is the contents of my /etc/exports file on the server:
The router is actually only a year or so old, but I managed to get nfs protocol version 3 running on the router! Turns out, I installed the userspace package which was outdated but the one for the kernel is 3.
But now, I have another issue when i try to mount with sudo mount -av:
mount.nfs: trying text-based options ‘intr,addr=192.168.1.1’
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.1 prog 100003 vers 3 prot TCP port 25
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.1 prog 100005 vers 3 prot UDP port 40551
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.1.1:/opt/Media
Maybe some of this can help you out. Sounds like we’ve got similar setups.
Router:
ASUSWRT-Merlin RT-N16_3.0.0.4 Sat Feb 7 01:45:11 UTC 2015
admin@RT-N16:/tmp/home/root# cat /etc/exports
/mnt/Main 192.168.1.0/24(no_root_squash,rw,sync,no_root_squash,insecure)