Running SqueezeCenter on a Buffalo LinkStation Live, part 2

Running SqueezeCenter on a LinkStation Live

Running SqueezeCenter on a LinkStation Live

I’ve been running SlimServer/ SqueezeCenter/ Logitech Squeezebox Server for a number of years now on an old Pentium 4 box running Linux. Recently, I decided to simplify things and reduce my carbon footprint by putting SqueezeCenter on a Buffalo LinkStation Live V2. This is the second of a two-part tutorial that explains in some detail the steps taken to achieve this goal.

It should be noted that this isn’t for the faint-hearted because you can “brick” (that is, render your LinkStation useless) if you do the wrong thing. However, with the steps outlined below you should be able to revive your LinkStation since the original bootloader isn’t replaced with a non-standard firmware. Nonetheless, it is your decision to try this and your responsibility if things don’t go according to plan. Before you proceed, do your research thoroughly by reading everything here and visiting the reference sites listed.

In summary, the following needs to be done to get SqueezeCenter working on you LinkStation:

  1. Update the stock firmware to the most recent version;
  2. Unlock the stock firmware using a Java utility;
  3. Set-up ssh, optional files and fixes;
  4. Install Optware for the ARM9 processor, set-up ssh and add some start-up scripts;
  5. Install SqueezeCenter.

The first two steps are addressed in part 1. The remaining steps are done using a couple of simple scripts.

It’s worth noting that performance is not as good as that of a PC, which isn’t really surprising given the processor and memory of the LinkStation, but it is satisfactory with some 500 or so albums (around 6,000) songs. Control through a Squeezebox is responsive with only a brief delay before entering the Music Library, Artists etc. The Web interface is a little slow but quite acceptable (I suspect this has more to do with the SqueezeCenter software that the performance of the LinkStation.)

Set-up ssh and install SqueezeCenter

The following steps are based in part from a instructions on NAS-Central.

What’s required:

  1. A script that will make all the necessary changes to your LinkStation. Download this and save it to your LinkStation’s shared folder, e.g. \\192.168.1.150\share (wget should be available if you installed the addons package with acp_commander.)

Step 9. Using your open telnet session type:

$ cd /mnt/disk1/share
$ wget http://martinwebster.eu/projects/linkstation.sh
$ sh linkstation.sh

Check the output for any errors. You should see something along the lines of:

<abridged>
Successfully terminated.
Creating /opt/etc/ipkg/cross-feed.conf...
Setup complete.

If the script terminated correctly proceed to the next step. Note: next time you access BASH you’ll need to use ssh.

Step 10. Install SqueezeCenter:

$ wget http://martinwebster.eu/projects/squeezecenter.sh
$ sh squeezecenter.sh

Downloading and installing SqueezeCenter takes a while (around 10 minutes) so be patient. Check for errors and then proceed to the last step.

Step 11. Open your favourite Web browser and set-up SqueezeCenter:

http://192.168.1.150:9000/

Follow the start-up wizard and set-up SqueezeCenter, i.e. load your music library and playlists. That’s it!

I’ve not tested this part as fully as I’d like (ideally I’d restore the LinkStation to its factory state and start over) but reckon it works just fine. If you have any problems let me know and I’ll help out. Tested on a LinkStation Live V2 HS-DH500GL.

    • flo
    • July 24th, 2009

    This is an awesome description. Just did it with nothing else than downloading and executing the scripts (Linkstation was SSH’ed before). No problem, but it took about half an hour (slow download speed) to install squeezebox. So be patient.
    Thanks Martin!

      • flo
      • July 25th, 2009

      One thing I stumbled across after installation succeeded:

      I couldn’t call /bin/ps anymore. When I called ps sth like “sh: /bin/ps: cannot execute binary file” was returned. I have had the busybox version of ps installed. As I searched a bit along I found that there’s also a full version of ps available. I installed it and everything is fine again.

      Here’s the link to the full version of ps:
      http://buffalo.nas-central.org/index.php/Open_Stock_Firmware#Full_version_of_ps

      • Same here. I’ve amended linkstation.tar to include the correct version of ps.

        Thanks.

    • Malo
    • August 10th, 2009

    Do you guys think this has a chance to work on a LinkStation Pro Duo or am I having wishful thinking?

    Thanks for the instructions!

    • Hi, been in Haute Vienne for a couple of weeks…

      The LinkStation Pro Duo is an ARM9 processor (see http://buffalo.nas-central.org/wiki/Category:LS-WTGL/R1) and you can get SSH access using acp_commander (see http://cpradio.org/personal/linkstation-pro-duo-enabling-ssh/) so it’s quite possible that you can install Optware and subsequently SqueezeCenter. However, you would have to work things out for yourself as my guide is for the LinkStation Live version 2 only. I’ll help if I can. Send me a PM via the contact page.

        • Malo
        • August 31st, 2009

        So I confirmed that it does not work. Acp_Commander can be install without any problem. But if you install the Optware, everything seems to be working until the LinkStation restarts. The array somehow gets damage and cannot be repair unless you forcefully reinstall the original firmware and recreate the partitions (even formatting the disk will not suffice) – Yes, that means good bye data… –

        I did many install scenari, use Raid0 instead of Raid1, installing one piece of software at the time and rebooting the machine and finally trying to restore the array with some professional software. For some reason, none of the super blocks survive the install of the optware. I think it might be due to the size of the application installed (although this is just a gut feeling, not a truly verify assertion) that may create some problem on the may partition…

        in conclusion… Don’t do that on the Buffalo Pro! Especially (like I did) without backing up the data thinking that the raid will protect them!

    • Patricia Prendergast
    • August 29th, 2009

    Thanks Martin for your work in helping me to get Squeeze set up. I got as far as the telnet command to download your first script “linkstation” but that was not “discovered”. I have managed to install wget and other addons, so the process worked smoothly til then. I have now set up the Buffalo with a IP address relevant to our router, your settings arent available to us, 192.168.0.

    Could this have affected the script?
    Regards
    Patricia

    • It sounds like you’re having problems connecting to the Internet via the LinkStation. Once you’ve opened the stock firmware and can use ssh the LinkStation should be rebooted to pick up your original network settings (as defined on the Network -> IP Address Properties page of the LinkStation Web interface.) Your default gateway is probably 192.168.0.1 and the LinkStation something like 192.168.0.2.

      Once rebooted use ssh (or PuttY) and issue ifconfig on the command line. You should now see output similar to the following:

      $ ifconfig
      eth0 Link encap:Ethernet HWaddr 00:16:01:C5:F5:C0
      inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
      UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:29001366 errors:0 dropped:0 overruns:0 frame:0
      TX packets:19708154 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:512
      RX bytes:1302370670 (1.2 GiB) TX bytes:2778392338 (2.5 GiB)
      Interrupt:21

      lo Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      UP LOOPBACK RUNNING MTU:16436 Metric:1
      RX packets:69380 errors:0 dropped:0 overruns:0 frame:0
      TX packets:69380 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:17200583 (16.4 MiB) TX bytes:17200583 (16.4 MiB)

      If the IP addresses match what you expect try wget once again. Please let me know how you get on by post here or sending me a PM.

      • …and for the default route:

        $ route -n
        Kernel IP routing table
        Destination Gateway Genmask Flags Metric Ref Use Iface
        192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
        0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth

    • Nathan Brown
    • September 6th, 2009

    Hi, this might be a stupid question, but I just want to check before I shell out for one…
    If I install SqueezeCenter on the Linkstation do all the other services still work at the same time – DLNA Server, BitTorrent, Print Server etc?
    I’d like to use it as a media server for my PS3 too you see…

    Thanks for any info you can give.
    N.

    • I don’t see any reason for them not to work as the stock firmware is intact. I can’t give absolute assurance here as I don’t use print, DNLA or BitTorrent.

      If you buy, make sure you get the LinkStation Live V2 (or visit NASCentral for advice on other versions.

    • Mark Coulson
    • October 15th, 2009

    Amazing outline and many thanks for putting this out there. I think I am almost there, but get an error during the optware installation part of the process which I think I have traced to the linkstation,sh line “wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-5_arm.xsh“. This returns a broken link when I run the script and when I manually try to link to the file. Any ideas on how I can correct this?

    • Matthew Smith
    • October 19th, 2009

    Hi,

    Thanks for the guide, managed to get this installed on my LinkStation.

    However I have just brought a Squeezebox Radio that requires version 7.4 of the squeezebox server.

    Any ideas how I would go about upgrading this?

    Thanks

    • Presently version 7.4 isn’t available for ARM9 (see http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/.)

        • Marc
        • April 25th, 2010

        I’m frustrated with neither 7.4 nor 7.5 still not being available for the Buffalo NAS. Any idea if this will happen? Otherwise, I’ll buy a Netgear NAS next weekend!

        Thanks

      • SqueezeCenter isn’t officially supported on the Buffalo LinkStation. SqueezeCenter 7.3.3 is available because of community contributions. The 7.3.3. terminal release is stable and (as far as I can see) differs from 7.4 and 7.5 in a few areas only. Most notably it doesn’t support Squeezebox Touch and Squeezebox Radio. Check the Release Notes and see if you really need 7.5 and a new NAS.

    • Sebastian
    • October 21st, 2009

    Hi,
    I installed Squeezecenter following your guide. It was working perfect last months up to yesterday. What ever went wrong the slimserver stopped and cannot be started again: return value 2. I did not change anything at the linkstation. What can I do? Re-installation did not work.
    Thanks, Seb.

    • How did you do the re-installation? If you used my script that won’t work. First you need to remove the SqueezeCenter package:
      $ /opt/bin/ipkg remove squeezecenter

    • Craig
    • November 6th, 2009

    Excellent detailed post however I have a query
    Is it possible to install Squeezecenter on a modified firmware like the StevieWonder modified firmware?
    Any clues where I need to start.

    • I don’t know anything about this firmware. If it’s based on the stock version then you may be able to install optware and then SqueezeCenter. However, you’ll have to do that from scratch; I wouldn’t recommend using my scripts.

  1. Thanks for that, worked pretty well on my linkstation pro duo, although it has an ‘array1′ rather than a ‘disk1′ which required a minor change at an early stage.

    best,

    antoin.

    • Please post the exact model number. It may help others install this on the LinkStation Pro Duo. Thanks.

    • Andy
    • December 5th, 2009

    Hi Martin,
    thanks for your instructions. I followed it with my LinkStation Live (300GB) running firmware 2.11
    Everything seemed to work fine, except for the fact that starting the slimserver failed with error “2″
    I could read in the slimserver.log that Slim/Music/Import.pm was missing and renamed an existing Import.pm.old into Import.pm. After that Slimserver started with a happy “SlimServer deamon started ok. PID is 14271″

    Unfortunately I am unable to set-up Squeezecenter since I cannot log on. I always get a “404 Not found” at port 9000

    Any guess what went wrong?

    Thanks

    • Daniel
    • December 22nd, 2009

    Hi Martin,
    first of all a great thanks for your very good installtion guide, which worked properly good.

    But now I have the same problem Andy told, some days ago. My squeezecenter log says the following to me:

    [09-12-23 00:10:47.1409] main::init (270) Starting SqueezeCenter (v7.3.3, r27044, Mon Jun 15 15:04:06 PDT 2009)
    [09-12-23 00:10:47.1377] main::init (270) Starting SqueezeCenter (v7.3.3, r27044, Mon Jun 15 15:04:06 PDT 2009)
    091223 0:10:48 [Warning] Can’t create test file /opt/share/squeezecenter/MySQL/music/cache/MySQL/FAM_DUCHOW.lower-test
    091223 0:10:48 [Warning] Can’t create test file /opt/share/squeezecenter/MySQL/music/cache/MySQL/FAM_DUCHOW.lower-test
    /opt/share/squeezecenter/Bin/mysqld: Can’t change dir to ‘/opt/share/squeezecenter/MySQL/music/cache/MySQL/’ (Errcode: 2)
    091223 0:10:48 [ERROR] Aborting

    091223 0:10:48 [Note] /opt/share/squeezecenter/Bin/mysqld: Shutdown complete

    [09-12-23 00:11:21.7648] Slim::Utils::MySQLHelper::createSystemTables (442) FATAL: Couldn’t connect to database: [Can't connect to local MySQL server through socket 'music/cache/squeezecenter-mysql.sock' (2)]

    The problem is, that I don’t know how to solve this problem. I had no errors while installing the squeezeserver and at the end it says “Starting SqueezeCenter…
    Starting SlimServerSlimserver daemon started OK. PID is 22589.
    That all folks”
    But i’m not able to connect to the webinterface browsing to http://192.168.2.104:9000 – I got the error-message “site is unavailable”

    Kind Regards
    Daniel

    • This is usually a permissions issue. The MySQL server cannot create the temporary file and therefore SqueezeCenter won’t start. Check that the folders are present (“Can’t change to dir…”) and permissions correct.

      root@SAIMIRI:~# cd /opt/share/squeezecenter/MySQL/
      root@SAIMIRI:/opt/share/squeezecenter/MySQL# ls -Flai
      393124511 drwxr-xr-x 2 root root 96 Jul 23 22:31 ./
      1124073600 drwxr-xr-x 14 root root 4096 Jul 23 22:36 ../
      393124512 -rw-r--r-- 1 root root 19423 Jun 15 2009 COPYING
      393124513 -rw-r--r-- 1 root root 582 Jun 15 2009 README
      393124514 -rw-r--r-- 1 root root 25829 Jun 15 2009 errmsg.sys
      393124527 -rw-r--r-- 1 root root 343517 Jun 15 2009 errmsg.txt
      393124528 -rw-r--r-- 1 root root 970 Jun 23 2009 my.tt
      393124529 -rw-r--r-- 1 root root 12388 Jun 15 2009 system.sql

        • Daniel
        • January 30th, 2010

        Hi Martin,

        i have tested the command you wrote, but the result of the list-command was equal to yours. Here is the output of the list-command:
        root@FAM_DUCHOW:/opt/share/squeezecenter/MySQL# ls -Flai
        587210402 drwxr-xr-x 2 root root 96 Dec 23 00:08 ./
        1325400208 drwxr-xr-x 14 root root 4096 Dec 23 00:10 ../
        587210403 -rw-r–r– 1 root root 19423 Jun 16 2009 COPYING
        587210404 -rw-r–r– 1 root root 582 Jun 16 2009 README
        587210405 -rw-r–r– 1 root root 25829 Jun 16 2009 errmsg.sys
        587210406 -rw-r–r– 1 root root 343517 Jun 16 2009 errmsg.txt
        587210407 -rw-r–r– 1 root root 970 Jun 23 2009 my.tt
        587210408 -rw-r–r– 1 root root 12388 Jun 16 2009 system.sql

        What else can I do, to get SqueezeboxCenter running on my NAS.

        Thanks in advance
        Daniel

    • Again, this looks like a permissions problem. SqueezeCenter aborts because it “Can’t create test file…”, “Can’t change dir…” etc.

      • SqueezeCenter aborts because /opt/share/squeezecenter/MySQL/music/cache/MySQL/ does not exist. So it looks like something went awry when installing. Or, have you previously installed/ tried to install SqueezeCenter?

        Also, make sure you followed step 10. To check, see if you have the following two files in /opt/share/squeezecenter:

        scanner.pl
        scanner.pl.old

        scanner.pl should include the following line (with comment.)

        # Slim::Schema->storage->dbh->{‘AutoCommit’} = 0;

    • Nick
    • January 17th, 2010

    Hi Martin,

    thankyou for putting together such an excellant description of how to install squeezecentre on a Buffalo Linkstation Live! I followed your instructions a few months ago and it worked without a hitch. I was so pleased to be able to access my music library directly from the NAS. Unfortunately, a few weeks later I had a problem where I had to re-flash the firmware in order to get out of the EM mode. After this, Squeezecentre did not work.

    Following the posts on this page, I followed your suggestion of first removing the squeezecenter package using the command
    $ /opt/bin/ipkg remove squeezecenter

    Followed by
    $ wget http://martinwebster.eu/projects/squeezecenter.sh
    $ sh squeezecenter.sh

    This seems to install ok but I also get the same error message as Sebastian…return value 2

    Do you have any idea or suggestions on how I can clean up a previous installation before running your scripts again. I would really like to get Squeezecenter running but I don’t know enough about linux to identify the problem

    p.s. I also had to edit the linkstation.sh script to replace

    wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-5_arm.xsh

    with

    wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-7_arm.xsh

    Subsequent references to spro-bootstrap_1.2-5_arm.xsh were also updated to spro-bootstrap_1.2-7_arm.xsh and this seemed to solve the error about a missing file

    • You most probably have a permissions problem. Try removing SqueezeCenter again and then manually remove the folders in /opt/share before trying to install again using /opt/bin/ipkg install squeezecenter (you don’t need to run the whole script.) Make sure you have a copy of squeezecenter.tar and then do the following:

      mv /opt/share/squeezecenter/Slim/Music/Import.pm /opt/share/squeezecenter/Slim/Music/Import.pm.old
      mv /opt/share/squeezecenter/scanner.pl /opt/share/squeezecenter/scanner.pl.old
      mv /opt/share/squeezecenter/CPAN/DBI.pm /opt/share/squeezecenter/CPAN/DBI.pm.old
      tar -xv -f squeezecenter.tar -C /

      Finally:

      /opt/etc/init.d/S99squeezecenter start

      HTH

        • Nick
        • January 17th, 2010

        Hi Martin,
        thank you for replying so soon. I understand your instructions but before I continue, can you tell me where I should get the squeezecenter.tar from. Is it already downloaded when I run
        $ /opt/bin/ipkg install squeezecenter

        or is it something I need to download manually? Sorry if this is a silly question.

        Best regards,

        Nick

    • Nick
    • January 17th, 2010

    Hi Martin,

    sorry, please ignore my previous question. I realised the location is:

    $wget http://martinwebster.eu/projects/squeezecenter.tar

    After working through your suggestion, I am pleased to report that the installation seemed to work o.k. When I ran the final command;

    $ /opt/etc/init.d/S99squeezecenter start

    I was rewarded with the following message
    Starting SlimServerSlimserver daemon started ok. PID is 13787

    I can also confirm that Squeezecenter starts in my browser.

    Thank you for your help and advice with this. I couldn’t have done it without your suggestions.

    Cheers,

    • Nigel
    • January 24th, 2010

    I have installed SqueezeCenter on my Buffalo NAS and it appeared to start OK but when I followed the instructions “Follow the start-up wizard and set-up SqueezeCenter” the musuc is in a share called “share” in two directories “flac” and “mp3″ But I didn’t see any sub-drectories to select, but I can see them through windows explores any ideas?

    • I’m not sure I understand your question. Could you see the some folders or none?

        • Nigel
        • January 26th, 2010

        I could see the top level folders, e.g. share, where the was also a + but clicking on the + you could not see the subdirectories. It is one of thes subdirectories that contains the music files. Also asking the squeeze center to search for music if finds nothing.
        Is there a way of setting the default share and directory path post installation?

    • Melvyn Burchell
    • January 27th, 2010

    Hi Martin,

    Many thanks for the work you have put into this… I have 5 Linkstations all running different software for different purposes :)
    One of which is running Slimserver – I really wish I hah your simple install a couple of years back! I had to plod through manually – It took me best part of 2 days solid to get it working satisfactorily!

    One question though – Do you not advise increasing the default Linux partition sizes?

    From experience I would certainly recommend increasing the swap partition size as when Slimserver is running it is very memory hungry – I used to have MySQL problems indexing a large music collection relating to a lack of memory…

    Anyway just thought I would drop a line to say thanks!

    All the best

    Melvyn

    • Under Basic Settings, clicking on Browse should launch a pop-up windows with the entire file system listed. If you can’t browse subdirectories check your browser (JavaScript required.) Alternatively, type the full path in the box and test using one or two albums to test.

    • Thanks for your feedback; it’s appreciated. :-)

      You raise a good point. I agree it’s probably a good idea. My original objective was to install SqueezeCenter without changing the stock firmware/ file system.

      However, I may try this when I get a second drive and/ or LinkStation. I recently installed Twonky Media and the HS-DHGL doesn’t perform well when building the database.

    • Nigel
    • January 30th, 2010

    Following up on my question, I have managed to install Squeezecenter on my Bufflao NAS, the problem is pointing at my library of music.
    When I select settings, bottom right of screen I see a number of tabs, one is called basic, where I see
    Misic Folder: /share
    Playlists Folder: /share
    Rescan Music library:

    The music is actually stored in two places, for diagnostic, on the Buffalo NAS; a share called Music case 1, and in a directory off of share called Misic, case 2.
    Case1: Setting the Music Folder to \\HS-DHGL583\Music or \\192.168.0.5\Music (both locations fine via any PC on network) I hit Apply and get =
    Invalid value ” \\192.168.0.5\Music” for audiodir
    and it defaults back to /share
    Case2: There is a browse option for setting the Music Folder but I only see folders bin, boot, dev, etc, home, lib, mnt ‘share’, and so on. No other shares, and clicking on the + share does not show any sub-directories
    So it the same again, setting the Music Folder to /share/Music I and hitting Apply I get:
    Invalid value “/share/Music” for audiodir
    and it defaults back to /share

    Performing a Rescan music library finds no music.

    I’m sure the solution in both cases is very simple becasue installing squeezecenter on a PC I can set the Music Folder to any of the following and the music is found: \\HS-DHGL583\Music or \\192.168.0.5\Music or \\HS-DHGL583\share\Music or \\192.168.0.5\share\Music and scan for music and its all found.

    Any ideas?

      • Melvyn Burchell
      • January 30th, 2010

      Hi Nigel,

      Firstly as the Squeezecentre software is now running on the Linkstation the same machine as the music library – the music directory will be local to that machine and should not be addressed with a hostnme or IP address…

      So you could try a complete pathname (depending upon your specific setup)… e.g

      /mnt/disk1/share/Music/ etc… Be careful the pathname will be case sensitive…

      Hope this helps!

      Melvyn

    • Melvyn Burchell
    • January 30th, 2010

    Sorry update Nigel:-

    /mnt/disk1/Share/Music – will probably do the trick – note the capital ‘S’ in Share! I suspect /share lowercase is probably looking for an undefined path…

    Melvyn

      • Nigel
      • January 31st, 2010

      Mervyn, Thanks for the adavice; problem solved…

    • Melvyn Burchell
    • February 6th, 2010

    I tried on a fresh Linkstation carrying out the install of Squeezecenter using your scripts – but I get this error in the log:-

    [10-02-06 14:19:30.8804] Slim::Control::Request::execute (1889) Error: While trying to run function coderef [Slim::Control::Commands::wipecacheCommand]: [Can't call method "scanningProcess" without a package or object reference at /opt/share/squeezecenter/Slim/Music/Import.pm line 153.
    ]

    This occurs after creating the PID and getting “thats all folks!”… ‘Top’ shows the PID is there until it quits with the error above… There is never a httpd on 9000…

    Is this one you have come across? I have tried ipkg remove and removing the directories under /opt/share – even removed all dependencies and re-installed – but always the same result…!

    Regs Melvyn

    • Melvyn Burchell
    • February 6th, 2010

    P.S The new files with ‘auto commit’ commented out are in place also…

    Any ideas Martin?

    Regs Melvyn

    • I reckon it’s related to AutoCommit. Not sure if sqeezecenter.tar includes changes to DBI.pm. Unfortunately, I’m not going to get a chance to look at this until tomorrow. Check for the following line and comment out:

      $dbh->STORE('AutoCommit', 0); # will croak if driver doesn't support it

      File in /opt/share/squeezecenter/CPAN and/ or /opt/lib/perl5/site_perl/5.8.8/arm-linux/.

        • Melvyn Burchell
        • February 8th, 2010

        Hi Martin,

        You are right the DBI.pm file is renamed as .old but no new file is in the TAR file.. So I commented out the line above in the .old file and renamed it to DBI.pm – I also checked the version within the Perl directory – this had a version that was uncommented on the autocommit line – so commented this out also… But alas the problem is still the same… There must be something I have done differently somewhere back down the line as many here seemed to have got it installed and running fine! Am a little reluctant to start from scratch now as I have just Rsync’d my music across to this one! Will just have to persevere!

        Melvyn

  2. Have you also managed to configure the linkstation to get m4a/aac files working?

    I’ve installed the ipkg packages for lean and faap2, changed the customconfig.config file but still no luck :(

    • Melvyn Burchell
    • February 20th, 2010

    Hi Martin,

    I have resolved the problem and it is currently scanning my music library.. For the benefit of the others all I did to make it work was:- I edited /prefs/server.prefs manually and changed the audiodir from ‘ ‘ – to point to my audio directory and changed language from ‘C’ to ‘EN’… I also found a server-prefs (note the -) in the same directory – I deleted this… Suddenly now it all starts up fine without the previous error! I am not altogethr convinced that the changes I made would have corrected the previous error – but it is now working and I can browse to it on port 9000!

    • Hello Melvyn,

      Pleased to read that you resolved your problem. Thanks for posting the solution.

      M

    • Dave Wigley
    • February 28th, 2010

    Hi Martin,

    Had my Link Station Live for a few years now and could never get media server to work. Thought I’d try your installation of squeezeserver and got most of the way before encountering broken / wrong ARM 5/7 link which I noted from the installation questions.

    Tried again using reference to 1.2-7 but still seemed to pick up a broken link :

    Try `wget –help’ for more options.
    –21:18:28– http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-7_arm.xsh.
    => `lspro-bootstrap_1.2-7_arm.xsh.’
    Resolving ipkg.nslu2-linux.org… 140.211.169.169
    Connecting to ipkg.nslu2-linux.org|140.211.169.169|:80… connected.
    HTTP request sent, awaiting response… 404 Not Found
    21:18:28 ERROR 404: Not Found.

    Could you advise, please.

    Kind regards

    • Martin
    • May 30th, 2010

    Hi there,

    I installed SqueezeCenter on my Link Station DUO but the Harddisk ist constantly in action. I guess the harddrives won’t live a long time whith that high utilization. Is this normal? Anything I can check?

    Apart from that, everything works fine!

    Regards
    Martin

    • This isn’t normal. Do you have any symbolic links in your music folder? If present these could cause SqueezeCenter to scan continuously. Also, from ssh type top. In an idle state slimserver.pl is using about 1.1-1.3% CPU resources, e.g.

      1806 slimserv S 52M 1 1.3 42.5 slimserver.pl

    • wenkman
    • June 20th, 2010

    Hi there! Thanks for your how-to, but by now the links don’t quite work, will you be uploading any updates?

    -> linkstation.sh tries to download linkstation.tar but doesn’t find it…

    Thanks.

    • wenkman
    • June 20th, 2010

    … found a way to download the files myself and redirect the script so that it finds them.

    But the server version is still 7.3, and my players have 7.5 and refuse to work with 7.3. Is there a way to upgrade the slimserver on the linkstation to 7.5?

    Maybe I could use this one:
    squeezeboxserver-7.5.2-30889-arm-linux

    from here:
    http://downloads.slimdevices.com/nightly/?ver=7.5

    Thanks!

    wenkman

    • This may work. However, it isn’t available through optware so you’ll have to do a manual install and resolve any dependencies. Please let me know how you get on.

      PS. You’ll probably need to turn of database auto-commit mode. See squeezecenter.tar and search for something along the lines of:

      # Take the db out of autocommit mode - this makes for a much faster scan.
      # Slim::Schema->storage->dbh->{'AutoCommit'} = 0;

    • Hiro
    • August 19th, 2009

    Good instruction.

    I couldn’t start “Rescan Music Library”.
    So, I needed some posttreatment.
    Brian Zhou’s comment

    Thank you.