[AppleTV2] NFS on Apple TV 2?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
haffi Offline
Member
Posts: 91
Joined: Mar 2005
Reputation: 0
Post: #1
anyone gotten this to work or know if its possible

All my shares are on nfs server Laugh
find quote
yozh Offline
Junior Member
Posts: 49
Joined: Oct 2008
Reputation: 0
Post: #2
haffi Wrote:anyone gotten this to work or know if its possible

All my shares are on nfs server Laugh

Yeah would love this too.
find quote
haffi Offline
Member
Posts: 91
Joined: Mar 2005
Reputation: 0
Post: #3
Im looking for apt-source for this, if not might trie to complie it Tongue
find quote
haffi Offline
Member
Posts: 91
Joined: Mar 2005
Reputation: 0
Post: #4
no luck as of yet , googling it Sad

Any advise from the developers ?
Any hints in which direction this might be possible ?
find quote
johntash Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #5
I've been searching for something similar too and so far haven't come up with any solutions. I'd rather use NFS instead of FTP or SMB, so I'm hoping somebody finds something =\
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #6
Not possible without loading a kext and you can't do that under 4.x.

In fact, there is no way to add any sort of mounting remote disks into the filesystem. Need kext loading for that.

That said, you can apt-get install afpfs-ng and have the atv2's disk mount on the host desktop.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
haffi Offline
Member
Posts: 91
Joined: Mar 2005
Reputation: 0
Post: #7
so Nfs is out of the question Sad
find quote
CASHMON3Y Offline
Donor
Posts: 395
Joined: Sep 2008
Reputation: 14
Location: Detroit, MI
Post: #8
For now atleast.

Server - Debain Squeeze Server + 6TB RAID5 + Sabnzbd + CP & SB
HTPC - Zotac MAG + 60GB Vertex 2 SSD + OpenELEC Frodo 12.1 + Aeon Nox
HTPC 2 - AppleTV 2
find quote
rogerthis Offline
Donor
Posts: 216
Joined: Apr 2011
Reputation: 1
Location: Connacht
Post: #9
So now that nfs is enabled for the semi nightly build. What the easiest way to setup an nfs share from windows 7?
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,149
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #10
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).

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Doombelly Offline
Member
Posts: 52
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: 216
Joined: Apr 2011
Reputation: 1
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
Post Reply