Posts: 16
Joined: Nov 2012
Reputation:
0
jonhen
Junior Member
Posts: 16
2013-03-21, 16:35
(This post was last modified: 2013-03-21, 16:39 by jonhen.)
I'm trying to stream video from a dedicated Linux xbmc box in one room to another on a laptop in another room. Both are using v12 on Ubuntu 12.04.
I can stream LiveTV fine.
I've tried upnp but have found it flakey and unreliable not to mention buggy and insecure and I really don't want upnp turned on in my network.
I've tried and failed to get smb and nfs working. Neither method seems to be able to find the source. The only method that works is ftp but that really isn't designed for streaming.
Can anyone point me in the direction of a method that will work, I'm kind of all Googled out. I'm thinking NFS would be the easiest way but I haven't been able to get it to work. Thanks in anticipation.
Posts: 16
Joined: Nov 2012
Reputation:
0
jonhen
Junior Member
Posts: 16
Thanks I'll check them out.
Posts: 694
Joined: Jun 2010
Reputation:
23
2013-03-22, 04:14
(This post was last modified: 2013-03-22, 04:17 by thethirdnut.)
On server what does 'sudo exportfs -v' say?
Also, +1 to what winestock said...make sure fstab correct.
Posts: 31,445
Joined: Jan 2011
Don't confuse UPnP AV with UPnP settings on a router. UPnP settings on a router can be insecure, but UPnP AV is pretty dang safe (unless you are trying to hide your porn collection on your local network).
Posts: 16
Joined: Nov 2012
Reputation:
0
jonhen
Junior Member
Posts: 16
2013-03-22, 11:32
(This post was last modified: 2013-03-22, 11:34 by jonhen.)
Ah yes <share> that was a typo in my notes and wasn't in the script.
xbmc@xbmc:~$ sudo exportfs -v
/exports 192.168.1.0/24(rw,async,wdelay,insecure,root_squash,no_subtree_check,fsid=0)
/exports/share 192.168.1.0/24(rw,async,wdelay,nohide,insecure,root_squash,no_subtree_check)
df doesn't show /exports/share mounted but nano /etc/mtab shows this at the end:
/home/xbmc/share /exports/share none rw,bind 0 0
rpc_pipefs /run/rpc_pipefs rpc_pipefs rw 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
I could only get upnp to work with it enabled in the router and even then it was flakey. My "porn" collection only exists on laserdisc anyway and probably wouldn't be classed as porn today LOL.
Posts: 16
Joined: Nov 2012
Reputation:
0
jonhen
Junior Member
Posts: 16
2013-03-22, 12:47
(This post was last modified: 2013-03-22, 13:45 by jonhen.)
I think I've found the problem, sending nfs instead of nfs4 returns no errors:
sudo mount -t nfs4 192.168.1.75:/exports/share /mnt/shr
returns the error
sudo mount -t nfs 192.168.1.75:/exports/share /mnt/shr
doesn't.
Will check to see if this all works as expected.
EDIT: can now share files just have to sort out why it freezes my client xbmc when trying to exit the share directory,.
Thanks for the help guys.