LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-31-2007, 11:06 PM   #1
zerocle
LQ Newbie
 
Registered: Jan 2007
Posts: 17

Rep: Reputation: 0
Myth tv htpc & file server networking setup


I am trying to setup a home theater pc with mythtv on it, I want that htpc to read all of the video files from a central file server on the same network. I dont want any local storage of media on the htpc, just the os and mythtv, and ALL the file storage on the server. Ideally I would also like the server to be available remotely, but that is not a must. So far i have a pretty basic computer for the server, and a pretty powerful one for the htpc. I have ubuntu loaded onto both, one is ubuntu server LAMP installed following these directions: http://www.knightwise.com/content/view/300/9/ and the other is ubuntu alternate with mythtv installed and setup following the directions on ubuntu's website located here: https://help.ubuntu.com/community/My...ckend_Frontend if anyone could lend some insight onto what the best way to set this up would be that would be very helpful, thank you.
 
Old 06-02-2007, 07:55 AM   #2
wayno
Member
 
Registered: May 2007
Location: Brisbane, Australia
Distribution: Fedora 8/9, Xandros (eeepc)
Posts: 110
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by zerocle
I am trying to setup a home theater pc with mythtv on it, I want that htpc to read all of the video files from a central file server on the same network. I dont want any local storage of media on the htpc, just the os and mythtv, and ALL the file storage on the server. Ideally I would also like the server to be available remotely, but that is not a must. So far i have a pretty basic computer for the server, and a pretty powerful one for the htpc. I have ubuntu loaded onto both, one is ubuntu server LAMP installed following these directions: http://www.knightwise.com/content/view/300/9/ and the other is ubuntu alternate with mythtv installed and setup following the directions on ubuntu's website located here: https://help.ubuntu.com/community/My...ckend_Frontend if anyone could lend some insight onto what the best way to set this up would be that would be very helpful, thank you.
You just need to mount an NFS share from the server into a folder inside the MythTV installation. I have a heap of music on a server mounted into /mnt/music on my PC

Have a look at http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS. It's written for Gentoo but generic enough it should work for you in Ubuntu.
 
Old 06-03-2007, 05:05 PM   #3
zerocle
LQ Newbie
 
Registered: Jan 2007
Posts: 17

Original Poster
Rep: Reputation: 0
thanks

Awesome thanks for that link, I will check it out, is there any way to use smb instead of nfs so i can still access stuff from windows?
 
Old 06-04-2007, 12:33 AM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Sure - the principle is the same as with NFS. Your server article tells you have to set up Samba. If you set it up for guest access you do not need a username or password to access it remotely.

As with NFS you just need to mount the shared SMB directory somewhere on you HTPC filesystem. There is a graphical tool called LinNeighborhood if you want a windows-like experience. Otherwise you can use 'smbmount' from the command line (see the man page for more details) or set it up to mount automatically with an entry in the /etc/fstab file on the HTPC.

I suggest you poke around with this stuff and ask again if you get stuck.
 
Old 06-05-2007, 11:37 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
2 Q's:

Which tends to be faster, nfs or smb?

Do you know of a more Debian/MEPIS/Ubuntu oriented reference?
 
Old 06-06-2007, 11:03 AM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Quote:
Originally Posted by archtoad6
2 Q's:

Which tends to be faster, nfs or smb?
I've seen reports both ways. If you have a fast PC I think they are both capable of saturating a 100Mb connection. Apparently NFS speed can also depend heavily on the options selected but I don't see much point in using Samba unless you need its extra features.

Quote:
Do you know of a more Debian/MEPIS/Ubuntu oriented reHference?
Here is a NFS tutorian based on Debian using GUI tools. Don't know if Mepis/Ubuntu would be similar. Personally I find doing this stuff through a GUI more confusing than looking at examples and editing the config file by hand.
 
Old 06-07-2007, 03:03 AM   #7
zerocle
LQ Newbie
 
Registered: Jan 2007
Posts: 17

Original Poster
Rep: Reputation: 0
ya know, i ended up going with smb, it was a little more to setup, but the access from windows is a huge plus! If you setup your server with webmin(since both computers are command line only) it is so easy. I am able to stream divx between the two computers without any glitches at all, it is phenominal, thanks so much for your help guys. I really appriciate it!
 
Old 06-07-2007, 04:40 AM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Have a look at MythWeb, a web based frontend for MythTV. This will allow you to schedule and view your recordings from any PC. Of course, you wouldn't want to d/l your recordings over the internet, as they easily run to several Gb.

Also, make a separate partition on the server for recordings, and format it with XFS. This is really good for large files. Then use either Samba or NFS to use the partition over a network.

--Ian
 
  


Reply

Tags
myth, nfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Setup LVM for HTPC jroggow Slackware 0 05-21-2007 10:06 PM
How do I setup Windows networking on a Suse server fal_shooter Linux - Server 7 05-12-2007 09:08 PM
New user: Want to set up a linux media file server/myth box Disorder Linux - General 2 11-08-2005 11:58 AM
Redhat 9 Server & Windows XP Home Networking kingtas Linux - Networking 5 01-21-2005 04:01 PM
Networking as a File Server kirtimaan_bkn Linux - Networking 10 09-24-2004 09:17 PM


All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration