PDA

View Full Version : Squeezebox3 -> NAS


stevos
17-08-2006, 12:41 PM
Hi,

Does any one know how to get a squeezebox3 to work with a NAS drive, and which drives are supported?

Cheers
Steve.

AMc
17-08-2006, 12:46 PM
http://faq.slimdevices.com/index.php?action=artikel&cat=9&id=75&artlang=en&highlight=nas

andrew1810
17-08-2006, 1:35 PM
Also here:

http://www.audiofi.co.uk/reviews/sb3.html

stevos
17-08-2006, 3:11 PM
Will check them out, cheers for the help

stevos
22-08-2006, 7:54 PM
I have purchased a Buffalo LinkStation and i am now awaiting delivery.

Out of interest how much damage can i do if i mess up the installation of slimserver, can it be reset to default if i get it wrong?

stevos
22-08-2006, 8:02 PM
P.s. does anyone have a copy of firmware version 1.45 that they could email me?

stevos
23-08-2006, 8:49 PM
Right i am following through the instructions at http://www.audiofi.co.uk/reviews/sb3.html.

On page to it states type telnet followed by the ip address, so in my case i typed

telnet 192.168.1.10

it is then meant to access the linkstation, i however get the following error.

could not open connection to the host, on port 23: Connect failed

i have version 2.05 of the firmware.

Any idea?

andrew1810
23-08-2006, 8:54 PM
In a command prompt, try typing "ping 192.168.1.10"

That should come up saying "reply from...."

Let me know if that works and I'll take it from there

stevos
23-08-2006, 9:07 PM
it states 4 packets sent, 4 recieved, none lost.

andrew1810
23-08-2006, 9:08 PM
I've just had a look around the linkstation forums and it looks like you'll need to change to an openlink firmware:

http://linkstationwiki.net/index.php?title=OpenLink

stevos
23-08-2006, 9:13 PM
Cheers for your help, i think i will need to look at this with the light of day. One last thing, how do i know which processor the linkstation has to choose which version of the firmware i need?

andrew1810
23-08-2006, 9:20 PM
According to this:
http://linkstationwiki.net/index.php?title=LS_Hardware_and_Software_informati on

Your 2.05 firmware would indicate you have a "mipsel-hdhlan"

You should also have a blank space on the back where there is a switch on the others (see the pics at the bottom of that page)

stevos
23-08-2006, 9:29 PM
Cheers you have been loads of help. Hopefully i won't need any more help, but if i do i know where to find you.

Cheers
Steve.

andrew1810
23-08-2006, 9:37 PM
No problem, if you get stuck again just let me know.

avanzato
23-08-2006, 10:30 PM
I've flashed mine to the Openlink firmware with no problems. IIRC you can reset the 'system' by re-flashing if you mess up the Server install. I haven't installed a server yet as the Twonky installer didn't work automatically and then i decided the linkstation worked just fine as a shared network folder. From what I've read my LS has a slightly different file structure to some of the instructions for installing Twonky. I'm not sure if that will make a difference to the Slimserver install as well or not.

stevos
24-08-2006, 10:09 PM
okay flashed it with openlink firmware using the installer linked above.

I downloaded 2 files, it seemed to only use the zip file.

When i use telnet it comes up with

bash-2.05a# 06

and asks for an input

nothing about password and username.

I can still access the shared folder, so i haven't broken it yet.

and idea?

andrew1810
24-08-2006, 10:47 PM
See if the instructions here help:

http://forums.slimdevices.com/showthread.php?t=19006

avanzato
25-08-2006, 1:44 PM
The bash-2.05 prompt means you've flashed successfully and are inside the linkstation operating system. Now follow the guide for setting up a root password and SSH access, then the one linked to earlier for installing the Slimserver software. I'm probably going to start again as I think I messed up somewhere and lost Telnet access. The LS is still working fine though.
http://linkstationwiki.net/index.php?title=The_LinkStation_firmware_flasher

stevos
25-08-2006, 4:03 PM
okay cool, slowly getting there.

How do i actually log into root.

When i type telnet 192.168.1.10 it takes me in, am i missing something?

I am at the point of trying to copy the new version of perl and have typed

cp /mnt/name-of-network-share/perl-5.8.5-linkstation.tar.gz /

which states no such file or directory, any ideas?

stevos
25-08-2006, 4:08 PM
I think i know whats wrong, what is the unix equiv for the windows dir?

i.e. listing out the contents of a directory.

stevos
25-08-2006, 4:16 PM
never mind worked it out thanks to google, was missing the hda directory

stevos
25-08-2006, 4:31 PM
One step forward and i have now got stuck again, grrr

I need to uncompress the perl file, so typed

tar xzvf perl-5.8.5-linkstation.tar.gz

but get the following error.

tar (child): perl-5.8.5-linkstation.tar.gz: Cannot open: No such file or directo
ry
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
bash-2.05a#
bash-2.05a#

However the file is there, so i have no idea what to do now.

pete0
25-08-2006, 4:44 PM
can't remember what the 'z' option is but it may be you need to unzip the .gz file first ...

gunzip perl-5.8.5-linkstation.tar.gz

stevos
25-08-2006, 4:55 PM
afraid not

pete0
25-08-2006, 5:07 PM
ah, that's what the z option is for.

Apologies if you're gone through this but try...

pwd #show current dir
ls perl*

to check that your file is in the directory you currently in.

stevos
25-08-2006, 5:13 PM
I think the archive maybe corrupt, i tried redownloading without luck. Is there anyway to try uncompressing them using windows?

stevos
25-08-2006, 5:14 PM
yes it is in the directory

pete0
25-08-2006, 6:04 PM
in windows you might be able to extract with winrar. An eval copy should be easy to find.

stevos
25-08-2006, 6:20 PM
It turned out the internet explorer corrupted the file when it downloaded it. Firefox worked though. Now having problems running slimserver after installing it. Going to try download it again with firefox, but any other ideas incase it doesn't work?

stevos
25-08-2006, 6:32 PM
damn damn and damn i got to the last step and and i am now completely stuck.

i am meant to type

./slimserver.pl --daemon --prefsfile /mnt/slim-data/slimserver.pref --cachedir /mnt/slim-data

to start slimserver, but it comes up with the following error

./slimserver.pl: require: command not found
./slimserver.pl: use: command not found
./slimserver.pl: use: command not found
./slimserver.pl: package: command not found
./slimserver.pl: line 25: syntax error near unexpected token `('
./slimserver.pl: line 25: `our %Config = ('

Please help, i have run out of ideas

andrew1810
25-08-2006, 7:48 PM
See if any of these suggestions help:

http://forums.slimdevices.com/showthread.php?t=21385

stevos
25-08-2006, 7:54 PM
As you have probably guessed that didn't help, it seems to be missing the final solution. naff

andrew1810
25-08-2006, 8:06 PM
Are you logged in as root, or a different user?

stevos
25-08-2006, 8:26 PM
i don't seem to need to log in, have i missed something?

avanzato
25-08-2006, 9:13 PM
Have you set up a password yet?

Type:

passwd root

at the bash-2.05a# prompt if you haven't.

stevos
26-08-2006, 1:48 PM
Yes, root password is setup.

I have tried reinstalling the firmware and starting again and yet it still doesn't work.

Is there anyway to find out if perl is working?

avanzato
26-08-2006, 2:56 PM
It's probably caused by something that has changed since the guide was written. Does Slimserver still install in the same place as the guide says? You had to add HDA to a path to get something working earlier.

Telnet will only ask for the password if you've edited the script to tell it to ask for the password.

I've just got Twonky 4 working on mine due to Twonky finally providing a fixed installer. I'm surprised no one has bothered to do an auto installer for Slimserver. These things really need it.

stevos
26-08-2006, 3:44 PM
What is twonky 4?

andrew1810
26-08-2006, 3:49 PM
Twonkyvision is a music server for the Roku, Netgear, Streamium etc.

Sadly the Squeezebox doesn't support UPnP so you need slimserver instead.

I'd try posting your problem in http://forums.slimdevices.com and see if they can help at all

avanzato
26-08-2006, 4:11 PM
I am at the point of trying to copy the new version of perl and have typed

cp /mnt/name-of-network-share/perl-5.8.5-linkstation.tar.gz /I've read through the Slimserver install instructions again and if you have the mipsel linkstation. Which you do. You don't need to install the perl tar.gz as the openlink OS already comes with a higher version. you should skip that part and go straight on to installing Slimserver.

stevos
26-08-2006, 4:22 PM
Yeah just tried that, maybe getting a little further.

Now get the following error message

The following modules failed to load: DBD::SQLite DBI XML::Parser::Expat HTML::P
arser Compress::Zlib Digest::SHA1

To download and compile them, please run: /usr/local/slimserver/Bin/build-perl-modules.pl

i have tried running the above command and get


Welcome to the Slim Devices perl module installer.

These packages are needed for SlimServer 6 to function.
You will need a C compiler (gcc), make, and perl installed.

*** Ignore any warnings about AppConfig. ***

Please enter a perl binary to use (defaults to /usr/bin/perl)


so i type /usr/bin/perl and get


Couldn't find a valid SlimServer path. Exiting.
Please enter the path to your SlimServer directory (ex: /usr/local/slimserver) -

and it kicks me back to the command line so entering the slimserver directory doesn't do anything

Any further ideas?

stevos
26-08-2006, 4:53 PM
Yeah problem solved it turned out i needed an earlier version of slimserver.

Slimserver is now running on the harddisk

One last problem but getting there.

stevos
26-08-2006, 4:57 PM
Hopefully last problem

When i turn on my squeezebox i states software update needed, press brightness to begin, i press brightness and it states connecting to slimserver and then i goes back to asking for brightness or restarts

stevos
26-08-2006, 4:59 PM
or update began, bad state

stevos
26-08-2006, 5:45 PM
Okay doesn't work using slimserver on my pc either, so i assume there is a problem with slimserver 5.4.0. We now know 6.3.1 doesn't work either, so which version are people using?

andrew1810
26-08-2006, 7:40 PM
Glad you're getting there slowly.

I'm using 6.2 on my Windows PC which works well, I should try upgrading, but I don't like messing with slimserver unless necessary, it can be temperamental as you have found.

I've got some old windows versions on my pc, but it looks like I haven't kept any linux ones sadly.

stevos
26-08-2006, 7:58 PM
Any chance of copying the version you have on your slimserver, zipping it and emailling it to me?

andrew1810
26-08-2006, 8:28 PM
Yep, no problem, I'll upload it to my webspace for you to download it.

I've just had a look around my PC (which is far too cluttered!!) and it seems I have version 6.11 for linux if you want that one

Andrew

Edit: I also have 6.11.noarch.rpm, no idea what that is though

stevos
26-08-2006, 8:39 PM
Both versions would be great, atleast that way i have 2 chances of sucess. I can't tell you how many hours i have wasted trying to get this to work. It has however given me lots of time to listen to music today, which has been rather fun.

stevos
26-08-2006, 8:39 PM
p.s. what is your website?

andrew1810
26-08-2006, 9:10 PM
All three are in here:

http://www.audiofi.co.uk/slim/

Let me know when you have them all and I'll remove them from the server

Andrew

avanzato
26-08-2006, 11:08 PM
Also the previous versions of Slimserver can be found here
http://www.slimdevices.com/downloads/

stevos
27-08-2006, 9:02 AM
Downloaded with thanks

Now for test time

Fingers crossed.

stevos
27-08-2006, 10:09 AM
Haff, i was sure that was going to work.

I am back to the following error.

./slimserver.pl --daemon --prefsfile /mnt/slim-data/slimserver.pref --cachedir /mnt/slim-data

The following modules failed to load: DBD::SQLite XML::Parser HTML::Parser Compress::Zlib

To download and compile them, please run: /mnt/slimserver/Bin/build-perl-modules.pl

stevos
27-08-2006, 8:14 PM
Got it working, thanks to someone elses written self install.

The only problem is it doesn't support aac (itunes ripped not purchased) or wma lossess. Is the squeezebox meant to support these?

andrew1810
27-08-2006, 8:17 PM
It should do, on the web interface have a look in the server settings for file types and check the settings there.

stevos
29-08-2006, 1:45 PM
I believe that aac is not internally supported by the squeezebox and therefore because the linkstation's processor isn't quick enough, it can't realtime decode/recode them and therefore the squeeze box comes up with that error.

FLAC and MP3 works fine though.