Turn Fedora into a PS3 Media Server [Tutorial]
This tutorial will walk you through a successful installation of a Fedora Media Server for streaming pictures, video, and audio to your PS3. I would suspect that you will be able to complete these steps and be up and running in less than an hour. These are the steps that worked for me using Fedora 10 Linux, the PS3 with the latest updates, uShare, and a Linksys WRT54G Router. This guide is adaptable to other flavors of Linux as well including Ubuntu, Debian, openSuse, etc. Let’s get to it!
First, setup your PS3 to have a static IP address by following this guide:
http://www.orpheusinternet.co.uk/support/ps3/wireless.html
Second, setup port forwarding and enable UPNP in your router so that your PS3 will be UPNP enabled. I’m not going to explicitly list all instructions in this tutorial, but I will lead you to a great guide for the popular routers:
Linksys WRT54G Router
Netgear WGR614NA Router
D-Link WBR-2310 Router
Belkin F5D7230-4 Routers
All Other Routers (with some modems)
These are the ports you need to forward:
TCP port 80, 443 and 5223
UDP port 3478, 3479 and 3658
You will be forwarding these ports to the PS3’s IP address. For example:
“Port 80 forward to 192.168.1.110″
Also, remember to enable UPnP on your router.
Hint: Now you should get NAT2 with the NAT test on your PS3
Third, we’re going to open the terminal, sign in as root, and then install the necessary packages:
su -c 'yum install ushare ushare-freeworld libdlna'
Then, we will need to open the configuration file by typing in the following command:
gedit /etc/ushare.conf
Next, we will need to specify which network card uShare should use. If you don’t know, use the following as a guideline: If you’re using a cable to connect to your router, then “eth0″ or “eth1″ should work. If you’re using the wireless card, then chances are it’s going to be “wlan0″. Place this value into the “USHARE_IFACE” field like so:
USHARE_IFACE=network_card
Example using a wireless connection:
USHARE_IFACE=wlan0
Next, you will need to edit a few more lines in the “/etc/ushare.conf” file, namely the port number, the shared directories (notice the lack of spaces), and enable DLNA support like so:
USHARE_PORT=49200
USHARE_DIR=/path/to/your/media,/path/to/your/media/2,/path/to/your/media/3
USHARE_ENABLE_DLNA=YES
Then, you’ll need to edit yet another configuration file. Open this one by typing the following into the terminal:
gedit /etc/init.d/ushare
Find the line that has the “OPTIONS=” field and make it look like this:
OPTIONS=”d”
Next, you will then need to type this command into the terminal to start the service:
/etc/init.d/ushare start
Finally, you’ll need to configure the firewall in Fedora. Firewall settings can be found in “System ->Administration -> Firewall”. You’ll want to add a user defined port (49200) by selecting “Other Ports” and add it there.
You should now be sitting pretty enjoying all of your digital media! Have a lot of fun! If you’re not seeing anything on your PS3, try restarting the service by typing this into the terminal and making sure the firewall is disabled:
/etc/init.d/ushare start
Feel free to
buy me a soda if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that I hope you'll be interested in:
Here are some similar posts that you may be interested in:
- Guide on TFTP Server Setup in Fedora
- Writing a .dd.bz2 Image Directly to Media
- Fedora 11 Beta on MacBook Aluminum 5,1
- Set Serial IRQ, Baud Rate, and More with ’stty’ and/or ’setserial’
- Fedora 12 Constantine on MacBook Aluminum 5,1 [Guide]
Wow! This is fantastic and quite easy 4 Linux newbies. Av been using Redhat and have been a big fan of Fedora since its conception.
All works fine. Just cautionary measure. Instead of turning your Firewall off, just specify the port 49200 on your Firewall settings. If I can take you back just a bit:
USHARE_PORT=49200
Then, on your Firewall Configuration ( System>Administration>Firewall OR on the terminal #system-config-firewall & ) select Other Ports and Add a user defined port = 49200
That should take care of your Firewall configuration.
Once done, you should then restart the ushare service i.e. /etc/init.d/ushare restart
That’s terrific! Thank you. I’ll be sure to revise the post to fit those recommendations!
Thank you very much for this great tutorial, got it all set up without a hitch and am now enjoying all my media on the PS3.
Thanks to the first poster for the tip on the firewall which I also set up without a hitch.
I’m really happy to hear that! Thanks for letting us all know!
It might also be worth your while to check out mediatomb. It has some really cool features; such as on-the-fly transcoding of all the media file types your ps3 can’t play. Of course, this takes a little bit of configuration…
Thanks for sharing that Daniel.
I did look at mediatomb and decided against it for some reason. I’m not sure what made me steer away from it, but it was a great tool as well. It’s always good to know that there are a variety of choices out there, isn’t it?
ONE HOURE!?
It took me less than 10 minutes to go through the instruction and install everything. That is a complete one.
However, it’s been more than 6 hours that I have a small problem and I can’t fix it.
I see all the shared folders that I add into the config file in my PS3, but they are all EMPTY!!
I believe it is a simple permission issue that I can’t figure it out.
Please help!
thank you
I would suggest opening the permissions all the way initially just to test it out:
chmod 777 -R /folder (or something like that)
I’m having the same problem as Bob. I see the folders, but my PS3 says there is nothing in them. I’ve set the permissions, and there are plenty of files in those folders, but the PS3 doesn’t see anything in them.
Any assistance would be greatly appreciated.
Thanks,
McDuck
Hello,
I followed your instructions for ushare and it worked except for opening firewall ports on the Linux box. I needed to open 1900 (UDP) and 2869 (TCP) to get ushare to work. I have not tested to see if both parts are needed but this is what I found early this morning.
Once doing this, I was up and running except for the PS3’s limitations. Most of my music is in FLAC. This is a problem as mp3’s are to lossy for my preference.
I tried Daniel’s suggestion of mediatomb and was up an running in 10 minutes on Fedora 11 (64bit). The web browser is a nice way to configure available media.
Also for both services, you can use the /administration/services to configure the daemon process.
And to keep some sense of security on your system, if your media files are controlled by groups, then you can add ushare (mediatomb) to the group list for those groups. I provides some control over the subdirectories. I have mine setup with the MPAA suggestions of G-PG, PG-13, R and X. Needless to say, I don’t share the R or X over the UPNP at this time.
Thank you for the tutorial, it was very educational.
Thanks for this great tutorial. Can I assume the same steps would work for Ubuntu?
There are similarities between the two systems, but I can’t verify that it will work for sure. The best advice I can give is to try it out for yourself!
I’m having a few problems, i got it to work, but i had to disable the firewall in Fedora, and i’m not really trying to do that, just for testing… Also, once i got connected I couldn’t see any files in the shared folder similar to what a few others were saying… Any ideas would be great. Also why is port forwarding required??? I have my PS3 open on my router, so i can browse the internet and such… Thanks
I’m not sure about the other problems you’re having, but you’re probably right about the port forwarding… it might not be required.
am unable to see the file that i have shared,my ps3 shows no titles found