PDA

View Full Version : Remote streaming to the office step-by-step



mskvarenina
2008-06-04, 11:25
Help everyone. I'd like to write a wiki on how to remote stream from start to finish. There is a wiki them mentions it but it does not provide enough detail to be sueful at the moment.

I don't have remote streaming working yet but these are the steps I believe are necessary. Please feel free to reply here and correct or supplement what I've said so far.

1) Download, load and setup a squeezecenter on a PC in your home.

2) Put some music on it.

3) Assign the PC a static IP address. (By default in the Linksys world the DHCP server begins assigning IP address at 100, in other words 192.168.1.100) So in this case I assigned my "music server" 192.168.1.99.

4) Enter the router configuration (usually enter 192.168.1.1 in your browser) and locate the port forwarding section. Add an entry for forwarding port 9000 to the newly assigned IP address.

5) Since you need to know the public IP address for your router (in order to hit it from the outside world) signup with a dynamic DNS service. These services will allow you to create an account on their system, then load a small client program on your machine that will keep their system updated when your ISP changes your router's Ip address. I used www.dyndns.com.

6) Load softsqueeze on the remote computer and enter the host name you created with your dynamic DNS provider :9000 as the location of your music server. For example mymusic.selfip.com:9000

mskvarenina
2008-06-04, 19:58
The above post was not the complete ho-to. At this point I'm still have problems getting this to work.

I've got a static IP on my home squeezecenter PC. My router is port forwarding port 9000 to this PC. I'm able to ping my router from my office. When I start softsqueeze it says "Connection failed. Please check server settings."

In the SoftSqueeze preferences I've got the hostname set to my home router's IP :9000

What is the SlimProto Port? It's pre-filled in with 3483. Do I need to forward this port in my router also?

Sike
2008-06-04, 23:41
Yes you need to forward the 3483 port to your server as well. I have TCP/UDP forwarded, but I have never tested if it realy needs both.

maggior
2008-06-05, 07:20
Yes you need to forward the 3483 port to your server as well. I have TCP/UDP forwarded, but I have never tested if it realy needs both.


An alternative to softsqueeze is to use a media player on the remote system that is capable of playing a stream given a URL, such as WinAmp. In this usage scenario, port 3483 doesn't have to be forwarded.

On the remote end, you open up http://username:password@ip_of_server:9000/stream.mp3

Benefits:
- Don't have to install Java and Softsqueeze
- Lighter weight
- You can use with multiple servers behind a NAT. You can configure each server with a different port (9000), but you can't change the 3483 port.

On the web page for squeezecenter on your system, on the help screen you will find a link for "remote streaming". This has some good info and could be a starting point for your Wiki.

youngnold
2008-06-05, 12:21
Thanks for the more complete explanation,
two questions:

1. I like the idea of being able to use winamp to stream from a remote location...in the documentation it states that squeezecenter is designed to stream MP3 files...will the type of remote streaming you(maggior) describe also work with .WMA files? I ripped all my CDs using windows media player, since it was the easiest/fastest way I could find to do so on my PC.

I contacted tech support and they pointed me here http://wiki.slimdevices.com/index.php/RemoteStreaming where I realized I needed to download LAME to properly stream the .WMA files, it's mentioned down in the Notes section and there's a handy link there to another wiki entry explaining how and WHERE to install LAME on your server. I did it, and it worked like a charm!

2. do I need to include user name and password as you've outlined? That's the first I've seen mention of that. I'm running windows xp on the server.

I found out that I didn't need the username/password to connect remotely, I was thinking that you meant the Windows user and password for logging onto the computer, but I think you were referring to the user/pass that one can set up on Squeezecenter in the settings/advanced/security area.

maggior
2008-06-05, 19:31
2. do I need to include user name and password as you've outlined? That's the first I've seen mention of that. I'm running windows xp on the server.

I found out that I didn't need the username/password to connect remotely, I was thinking that you meant the Windows user and password for logging onto the computer, but I think you were referring to the user/pass that one can set up on Squeezecenter in the settings/advanced/security area.

Glad you were able to answer your own questions. That happens to me a lot too :-).

And yes, I was referring to the username/password you can set up in Squeezecenter.

If you are going to set up remote access, it is really a good idea to protect it with a user name and password. Port 9000 is a well known port value at this point, so it wouldn't be too hard for somebody to gain access to your network through SqueezeCenter. Some would argue that even using the SqueezeCenter username/password isn't enough, but you should use VPN. I haven't gone that far. Certainly you should at least protect yourself with the username and password functionality provided by SqueezeCenter.

youngnold
2008-06-06, 10:31
Thanks, maggior.
I set up password protection per your suggestion, and successfully connected remotely with winamp and softsqueeze, as well as connected to the squeezecenter web interface.
After just a day of playing with this, I have to say that whether I connect with softsqueeze or remote stream with winamp is inconsequential, as I have found that controlling the audio through the squeezecenter web interface is so much more intuitive than the squeezebox's own remote/display. In fact I am now controlling my in-house squeezebox via a web interface in the another room, because I think the interface is far superior to the squeezebox and its remote control. I know it has the same functionality, but the visual layout(including album art) is intuitive and the keyboard/mouse interface is much easier and faster for me to navigate.
And with remote streaming and the ability to connect to my squeezecenter web interface, it's pretty amazing that I can listen to my music library from any internet enabled computer. apologies if this sounds like a paid testimonial, but I am digging this.
The crazy thing is that someone could get all this remote streaming functionality without ever purchasing any squeezebox or transporter hardware!