Posts: 18
Joined: May 2014
Reputation:
0
Hello,
I bought a OUYA hardware. I installed the XBMC v13 "Gotham (first version of XBMC to officially support the OUYA).
I was unable to mount NFS filesystem. I dont't know if the last android chupacabra release support it.
I have a Synology NAS hardware. This is my NFS server.
I read a lot of documentation about how to change the settings on Synology /etc/exports file. But it dont work on android ouya.
If i try to mount it on linux, it works well...
someone knows if there's a limitation about nfs on android kernel?
I know that this is not a problem in xbmc software.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
Try to directly use it from within xbmc maybe? (not mounting at the linux level i mean).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 30
Joined: Dec 2011
Reputation:
1
Just to add: if the NFS isn't working, the Synology NAS allows many other options. I have apple fileshare protocol (afp://) enabled which worked pretty well (except in the 64-bit XBMC where afp is broken), and I just tried enabling WebDAV and it worked too. Make sure you have your videos in the NAS /video/... filepath, as it is set up for sharing from there more easily (rather than in a user space area of the filesystem).
Posts: 18
Joined: May 2014
Reputation:
0
mr.bigglseworth,
I could not make the connection with nfs even with your tips.
I am using version 5.0 of the DSM.
at control panel / shared folder i go to "edit button" and create the nfs permissions like you said.
my /etc/exports is here:
/volume1/video 192.168.1.16(rw,async,no_wdelay,insecure,no_root_squash,sec=sys,anonuid=1025,anongid=100)
/volume1/teste 192.168.1.16(rw,async,no_wdelay,insecure,no_root_squash,sec=sys,anonuid=1025,anongid=100)
then, i type exportfs -ra to initialize
In Ouya I tried to make the connection manually using nfs://nas_ip/volume1/video or nfs://nas_ip/volume1/teste and even then it says can not access the directories that are within shared folders.
if i try to search the nfs server on ouya, it show me the 2 share folders but dont let me connect on it.
I would like to use nfs because other protocols may leave the heaviest connection to transfer the videos in real time.
Posts: 18
Joined: May 2014
Reputation:
0
I test using xbmc on linux and it works...
the problem is xbmc on ouya...
Posts: 16,946
Joined: Feb 2011
Reputation:
256
The problem might be that anonid 1025 is not the uid of the user which runs the XBMC process on the ouya ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 18
Joined: May 2014
Reputation:
0
I will try to connect to ouya using adb via usb and try to see what user run the xbmc process...
Posts: 18
Joined: May 2014
Reputation:
0
arman68,
i posted a question at xda-developers asking for this problem...
if it dont solve the nfs problems... i'll try to mount using SMB...
yesterday, i'm able to connect via adb
so i did some commands and the results
mounting 192.168.1.13:/volume1/teste on /sdcard/teste/ failed: Connection refused
my /etc/export file is like that at synology:
/volume1/teste 192.168.1.16(ro,no_root_squash,no_subtree_check)
the ip address of ouya is 192.168.1.16 and the nas server is 192.168.1.13
i create the teste folder at /sdcard to mount the volume there.
--------
oot@android:/ # find / -name *nfs*
the result is here:
/sys/module/nfs
/sys/module/nfs/parameters/nfs4_disable_idmapping
/proc/sys/fs/nfs
/proc/sys/fs/nfs/nfs_mountpoint_timeout
/proc/sys/fs/nfs/nfs_congestion_kb
/proc/sys/sunrpc/nfs_debug
/proc/sys/sunrpc/nfsd_debug
/proc/fs/nfsfs
/proc/fs/nfsd
so... i think the ouya has nfs support...
---------------
root@android:/proc # cat filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev debugfs
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev rpc_pipefs
nodev devpts
ext3
ext2
ext4
nodev ramfs
vfat
nodev nfs
ntfs
nodev fuse
fuseblk
nodev fusectl
nodev oprofilefs
Posts: 18
Joined: May 2014
Reputation:
0
arman68,
to work SMB you did some modifications? do you root your ouya? or do you only update the ouya to the newest firmware and install xbmc v13. gotham?
Posts: 18
Joined: May 2014
Reputation:
0
NFS works!
I root the ouya and install busybox.
I use adb connection to mount command that comes with busybox to mount nfs!
the default mount command that comes with ouya dont be able to mount nfs!
i'll make a howto.