2011-06-19, 00:52
For now nfs support is not exposed to GUI (will add it later today). To try NFS shares do:
Videos -> Add Videos -> klick on "<none>" -> enter nfs url "nfs://ip/exportpath"
The exported path should be configured in "/etc/exports" like this:
or
second is for allowing all ips in the network to connect. The "all_sqash" option is for doing any operations on the filesystem as user "nobody". So be sure the user "nobody" has read or read/write access to the exported folder and all needed subfolders and files.
The option "insecure" is needed so that a non root user can access nfs at all (since on ios everything is executed with the user "mobile" which is not root - you will need the insecure option).
This instructions are for a linux nfs server. Remember Access rights are these you give in the filesystem.
Without all_squash you have to add a user with the same userid as the user "mobile" on the ios (its id 501). Then everything is mapped to this user and the user with uid 501 has to have the needed access rights on the filesystem (you should name the user on the nfs server "mobile" aswell for not getting confused).
Videos -> Add Videos -> klick on "<none>" -> enter nfs url "nfs://ip/exportpath"
The exported path should be configured in "/etc/exports" like this:
Code:
/mydatadir <ip or iprange which is allowed to connect>(rw,all_squash,insecure,async,no_subtree_check,no_acl)
or
Code:
/mydatadir *(rw,all_squash,insecure,async,no_subtree_check,no_acl)
second is for allowing all ips in the network to connect. The "all_sqash" option is for doing any operations on the filesystem as user "nobody". So be sure the user "nobody" has read or read/write access to the exported folder and all needed subfolders and files.
The option "insecure" is needed so that a non root user can access nfs at all (since on ios everything is executed with the user "mobile" which is not root - you will need the insecure option).
This instructions are for a linux nfs server. Remember Access rights are these you give in the filesystem.
Without all_squash you have to add a user with the same userid as the user "mobile" on the ios (its id 501). Then everything is mapped to this user and the user with uid 501 has to have the needed access rights on the filesystem (you should name the user on the nfs server "mobile" aswell for not getting confused).