[AppleTV2] NFS on Apple TV 2?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
haffi Offline
Member
Posts: 92
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: 92
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: 92
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: 10,397
Joined: Feb 2008
Reputation: 58
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: 92
Joined: Mar 2005
Reputation: 0
Post: #7
so Nfs is out of the question Sad
find quote
CASHMON3Y Offline
Donor
Posts: 396
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: 279
Joined: Apr 2011
Reputation: 0
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: 7,665
Joined: Feb 2011
Reputation: 91
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
Post Reply