[AppleTV2] NFS on Apple TV 2? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137) +---- Thread: [AppleTV2] NFS on Apple TV 2? (/showthread.php?tid=91776) |
- jlor - 2011-07-11 darkscout Wrote:8.0 is out, why are people still on 0.7.2? 0.7.2 also has ZFS. 8.0 is marketed more towards the commercial market. I.e. it doesn't (easily) allow for custom programs etc. Comparison shows the differences. Mainly people are interested in the custom programs / bittorrent integration. Synology and NFS on ATV2 - Anth0 - 2011-07-13 Hi guys, I tried and followed all the indications I've found on this topic but I still can't get it worked. I have a Synology NAS from which I want to stream via NFS to XBMC on my ATV2. Here is my config inside sources.xml : Quote:<video> Files in my video folder have the following rights: Quote:drwxrwsrwx 220 antho users 12288 Jun 22 00:33 movies Finally my exports file is as following : Quote:/volume1/video 192.168.1.27(rw,all_squash,insecure,async,anonuid=501,anongid=501) My log file can be found here : http://pastebin.com/das6caPL Where did I screw up ? EDIT : 192.168.1.16 is my NAS' IP and 192.168.1.27 is ATV's IP - darkscout - 2011-07-13 What is 'id antho'? Qnap nfs - Cranial - 2011-07-13 I've been trying to get NFS working with my QNAP TS-509 but failing miserably. It seems that the QNAP only allows NFS access on privileged ports, and I'm not sure how to change that. Here's the exports on my QNAP: PHP Code: "/share/NFS" *(no_subtree_check,no_root_squash,fsid=0) Here's my log output fail: PHP Code: 02:54:45 T:101302272 M:105943040 DEBUG: Loading: /var/stash/Applications/XBMC.frappliance/Frameworks/libnfs.1.0.0.dylib I've tried setting the source as: nfs://192.168.1.50/share/NFS/Qmultimedia nfs://192.168.1.50/share/MD0_DATA/Qmultimedia Anyone out there have a QNAP (hint hint keith) and get NFS shares working with the ATV2 ? - darkscout - 2011-07-13 Quote:It seems that the QNAP only allows NFS access on privileged ports, and I'm not sure how to change that. Add "insecure" to the options for each share. - Cranial - 2011-07-13 darkscout Wrote:Add "insecure" to the options for each share. Hmm. I thought I tried that. I'll give it another go. Thanks darkscout. *edit* No go on that one darkscout. Still getting the same log permission denied errors. I tried adding anonuid=501 as well. Added a user "mobile" with uid=501 on the QNAP as well. No good. If I switch the NFS service off and back on via the QNAP gui it resets exports back to the original one I posted. Where might I find the NFS configs on the NAS? Maybe I can allow non-privileged access there? - Anth0 - 2011-07-13 darkscout Wrote:What is 'id antho'? Do you mean what's its UID ? uid=1026(antho) gid=100(users) groups=100(users),101(administrators) - Memphiz - 2011-07-13 Anth0 Wrote:Hi guys, This all looks good to me. It states it has no rights to connect to the share - dunno why. Is synology nas linux based or bsd based or something? You could try to remove the ip restriction by exchanging the ip with an * in the exports file for beeing sure. - darkscout - 2011-07-13 Anth0 Wrote:Do you mean what's its UID ? Well if antho's UID is 1026, why are you mapping all access to 501? (Which is the 1st user if you're using OS X and iOS). I also don't think it likes the space between anonuid= and 501. - Anth0 - 2011-07-13 darkscout Wrote:Well if antho's UID is 1026, why are you mapping all access to 501? (Which is the 1st user if you're using OS X and iOS). "antho" is a user on my NAS and owns the folder but from what I've understood of the wiki ATV's user id is 501 that's why I used 501 to grant him the rights. I'll try to put anonuid=1026 anongid=100 then to see if it solves the problem. darkscout Wrote:I also don't think it likes the space between anonuid= and 501.There is not space actually in the config, just a copy/paste glitch here. - darkscout - 2011-07-13 Anth0 Wrote:"antho" is a user on my NAS and owns the folder but from what I've understood of the wiki ATV's user id is 501 that's why I used 501 to grant him the rights. You've got it backwards. The UID that the anonuid uses is what is on the server side. You've been assigning all incoming requests to UID 501 on the server which probably doesn't exist. - Memphiz - 2011-07-13 Yeah - what darkscout said. But first it hasn't enought rights to mount/connect the share. And i think this hasn't to do anything with user rights at this point. It only could be due to ip restrictions or missing insecure option (don't know what else could prevent the mount/connect to fail) - Anth0 - 2011-07-13 I've just tried with Quote:/volume1/video *(rw,all_squash,insecure,async,anonuid=1026,anongid=100) but it still does not work. Same error as before. Also tried with Quote:/volume1/video *(rw,all_squash,insecure)but same thing... EDIT: I restarted my NAS and it's working just fine now with "/volume1/video *(rw,all_squash,insecure)". I don't know why I had to restart it to get this to work though. EDIT 2 : Just in case some other Synology users have a NFS problem. To restart NFS server on Syno just do this : Quote:/usr/syno/etc/rc.d/S83nfsd.sh stop Thanks for your help. - darkscout - 2011-07-13 Can you get at the syslogs for the server? - And a stupid question, you are restarting the NFS server after you make changes to the exports? - Anth0 - 2011-07-13 darkscout Wrote:And a stupid question, you are restarting the NFS server after you make changes to the exports? Not so stupid actually. I did not know I had to restart something. I thought modifications were taken into account immediately. Problem solved Now XBMC is scanning my whole library! |