Install SonosWeb on your ReadyNas NV+
If you want a rich browser experience for you Sonos, SonosWeb is a good option. If you have all of your music on a ReadyNas, then the ReadyNas is a good place to install SonosWeb. I did this in about 15 minutes. I should admit that I have some Linux experience so I had a distinct advantage. Nearly all of the instructions are out on the web so very little of this post is original content, but at least it’s all in one place and it does have the necessary integration for the ReadyNas.
Here are the edited files for your reference.
So here are the instructions …. peace of cake
- install the ssh access add-on and the root access add-on (ReadyNas website)
- install APT add-on (ReadyNas website)
- connect to the ReadyNas using ssh
- apt-get update (this will refresh the available packages)
- apt-get install libsoap-lite-perl libhtml-template-perl
- mkdir /opt/share; cd /opt/share
- wget http://www.purple.org/sonos/sonosweb-0.72.tar.gz
- tar xfvz sonosweb-0.72.tar.gz
- cd sonos
- use VI to edit the first few lines of the sonos.pl file to look like the following: (and here is a VI cheat sheet)#!/usr/bin/perl
BEGIN { @INC = grep !/^\/usr\/lib\/perl5/, @INC }
use lib “./UPnP/lib”;
use lib “.”;
use lib qw(/usr/share/squeezecenter/CPAN /usr/share/squeezecenter/CPAN/arch/5.8);
use UPnP::ControlPoint;
use Socket;
…
I’ve included my copy of the file because there are a few other edits you will need – such as typos and syntax that the ReadyNas PERL is not pleased to encounter.
- configure the application with the command: ./sonos.pl –config
- replace the sonosweb file with the one I’ve included because the one from build 0.72 has lots of things that don’t work with the ReadyNas. You can either print out the file attached to this post and use VI to make the edits or you can copy the file to one of your shares on the NAS and then copy it from the share to /opt/share/sonos using the Linux ‘cp’ command.
- chown root sonosweb
- chmod 755 sonosweb
- start the application with the command: ./sonosweb start
- stop the application with the command: ./sonosweb stop
It really needs to start at boot time and stop at shutdown. To do this you need to use start-stop-daemon. Had SonosWeb worked with my Blackberry, I’d likely have debugged this last step but as the Blackberry Bold refused to finish displaying hte screen, I am currently leaving SonosWeb in stasis on the ReadyNas for the time being.


