Search the Site


bottom corner

Turn your Mythbuntu box into a file server

The Mythbuntu box in my living room, not surprisingly, has a large hard drive, which allows it to be a digital video recorder (DVR) and hold the movies I'm starting to rip from my large DVD collection. It is also on for large chunks of time when I'm home. So I'm thinking -- wouldn't it make sense for it to also be my file server?

This page is filed under keyword(s): ubuntu, mythbuntu.

As it turns out, because Mythbuntu already has Samba built in, it is easy to make it a file server in your home network by using the same tool. First, identify a place where you want to open up a new folder for file sharing. In this example, we'll do "/fileserver/". Then, let us issue the following command to edit the Samba config file.

su pico /etc/samba/smb.conf

Note the "su" command; it will require you to put in your password before editing. Once the text editor pico loads up, add the following section at the end of the configuration file.

comment = Files
path = /fileserver/
public = yes
writable = yes
create mask = 0660
directory mask = 0770
force user = mythtv
force group = mythtv

Once this is done, restart the samba daemon from your command line.

/etc/init.d/smb restart

You should now be able to access the new "files" samba share from another computer on your network.

Did you find this page useful? Please consider browsing other articles or subscribing to the RSS feed to keep up with latest.

This page is filed under keyword(s): ubuntu, mythbuntu.
Author: C. Peter Chen
Last updated: 28 May 2008

bottom corner