[AppleTV2] NFS on Apple TV 2?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Doombelly Offline
Member
Posts: 54
Joined: Jan 2011
Reputation: 0
Post: #11
Memphiz Wrote:I can't answer your question about windows ... but here is a short introduction on how this can be tested:

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:

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).

Sounds great. Cant wait to test it... However i think i need to wait for the gui implementation as I simply cant understand this:

"Videos -> Add Videos -> klick on "<none>" -> enter nfs url "nfs://ip/exportpath"

The exported path should be configured in "/etc/exports" like this:"

Should the nfs://ip/exportpath be found somewhere on my NAS (fileserver)? Should /etc/exports?

Some pointers would be great.. ;-)
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #12
I'm trying to mount an export from my synology nas without success.

This is my /etc/export:

Code:
/volume1/Ocio    *(ro,all_squash,insecure,async,no_subtree_check,no_acl)

I've created the mobile user, if this help.

On the xbmc, I've put nfs://ip/volume1/Ocio and this is the log:

Code:
16:17:01 T:80744448 M: 91295744 WARNING: Create - Unsupported protocol(nfs) in nfs://10.0.1.9/volume1/Ocio/
16:17:01 T:80744448 M: 91295744    INFO: Loading skin file: DialogYesNo.xml
16:17:01 T:80744448 M: 91295744   DEBUG: ------ Window Init (DialogYesNo.xml) ------

Any help??
BR
find quote
rogerthis Offline
Donor
Posts: 279
Joined: Apr 2011
Reputation: 0
Location: Connacht
Post: #13
What the likelyhood that some similar will made for smb?
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #14
I think nfs support is deactivated: this is from make -C tools/osx/ios-depends/xbmc step:
Code:
libnfs support:    No
find quote
(~)Pepsi Offline
Junior Member
Posts: 1
Joined: Jun 2011
Reputation: 0
Post: #15
rogerthis Wrote:So now that nfs is enabled for the semi nightly build. What the easiest way to setup an nfs share from windows 7?

I've an Xtreamer where i already have setup NFS on windows 7.

I followed: http://www.youtube.com/watch?v=9ZwA5H1tLmw

and in text

http://forum.xtreamer.net/topic/935-nfs-...for-fw-20/
find quote
yabbiman Offline
Member
Posts: 74
Joined: Feb 2011
Reputation: 0
Location: lala land
Post: #16
Just out of curiosity: why would one want to use NFS instead of SMB? are there advantages for the ATV2 to make use of NFS?
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #17
yabbiman Wrote:Just out of curiosity: why would one want to use NFS instead of SMB? are there advantages for the ATV2 to make use of NFS?

There are people with smb buffering issues...
find quote
john.doe Offline
bugmenot login
Posts: 495
Joined: Aug 2010
Reputation: 0
Post: #18
i5Js Wrote:I think nfs support is deactivated: this is from make -C tools/osx/ios-depends/xbmc step:
Code:
libnfs support:    No

take these build: http://hadm.net/xbmc/latest_atv2.deb

i use it with my synology NAS and NFS! Works perfectly!
find quote
i5Js Offline
Senior Member
Posts: 227
Joined: Dec 2009
Reputation: 0
Post: #19
john.doe Wrote:take these build: http://hadm.net/xbmc/latest_atv2.deb

i use it with my synology NAS and NFS! Works perfectly!

I'll try it! But also I want to compile my own builds
find quote
john.doe Offline
bugmenot login
Posts: 495
Joined: Aug 2010
Reputation: 0
Post: #20
i5Js Wrote:
Code:
/volume1/Ocio    *(ro,all_squash,insecure,async,no_subtree_check,no_acl)

I've created the mobile user, if this help.

you use "all_squash". So you don't need to add a 'mobile' User. It works out of the box with your Synology NAS.
find quote
Post Reply