Skip to main content
Collaborator II
August 1, 2024

Error 913, and a fix for some older NAS devices

  • August 1, 2024
  • 15 replies
  • 704 views

As many have discovered many legacy NAS devices do not support anything other than SMB1 out of the box, and are no longer supported by their manufacturers, meaning there are no firmware of software updates. With a little digging (and some Linux knowledge), I was able to upgrade my Netgear Stora (about 12 years old) from SMB1 to SMB2 and thus get it working with the new Sonos environment. I find it surprising that I had to do this, given the large number of legacy NAS devices out there used for years by many happy Sonos customers (until now), even my shiny new Macbook Air, can use SMB1 to connect to such devices. Anyway that’s another issue.

You need to have some technical Linux knowledge to do the following, it’s all done via a ssh session to the NAS.

Here’s what I did. (Big thanks to the guys at OpenStora for documenting most of this.)

  1. Get root access, and enable SSH, as most of these domestic NAS units do not provide a command line interface. Details here https://sigri44.github.io/OpenStora/wiki/index_Easy_Root_Access.html
  2. Install a package manager - ipkg  here https://sigri44.github.io/OpenStora/wiki/index_Installing_a_package_manager.html

  3. Using the newly installed package manager you can install a version of Samba that includes SMB2 support. That package is located at at the ipkg repository and you install with /opt/bin/ipkg install http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/samba36_3.6.23-1_arm.ipk
  4. You’ll get a message something like this upon successful install “

    The original samba version 2 config (/etc/samba/smb.conf) is no longer

    working with this version of samba.

    Please create a new samba version 3 config (/opt/etc/samba/smb.conf).

    After verify your smb.conf file, modify and execute /opt/etc/init.d/S08samba

    to activate the samba version 3.”

  5. Copy the original smb.conf to the new location above, and edit the file with vi or nano and add the line “max protocol = SMB2” in the Global section (without the quotes) to force use of SMB2. Your shares should carry over from the original conf file.

  6. Edit the /opt/etc/init.d/S08samba file and replace pidof with pgrep (as pidof command does not seem to exist in the Stora

  7. Next you need to make a Stora user an SMB user too, so do this with your default user (whoever logged in to the SMB1 share from Sonos), by adding them as users and then giving them a password. They SMB username/password should be the same as for logging in to Stora as normal (you are just letting them use SMB too). Do this with /opt/bin/smbpasswd -a <username>

  8. Next stop the existing SMB1 with killall smb, and start SMB2 with /opt/etc/init.d/S08samba

  9. Now try connecting from a PC/Mac to your NAS, on a Mac use the Finder and Connect to Server option. Make sure to prefix the NAS name with smb:// to force an SMB2 connection. And hopefully you will connect successfully.

  10. If you can’t connect as the specified user you may need to edit smb.conf further (beyond this article scope!)

  11. If you do connect then now try adding your library to Sonos. For me this connected and started to index, but stopped after about 20 minutes. I did it 10 or more times and eventually all of my music collection magically appeared in the Sonos app.

I know this is pretty techie, but I wanted to show that it can be done, without the need to jettison either your Sonos kit or you NAS.

Ian

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

15 replies

Corry P
Sonos Staff
October 3, 2024

Hi @Ianp 

You’ve tagged the wrong Keith. It’s @Keith N 

"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein
Trending Lyricist I
October 22, 2024

I’m hesitant to say this, but since the 80.09.09 update on 16th Oct, my Music Library re-index seems to work ok when I initiate it from the PC Controller App.

The release notes for the 80.10.06 (Android) software mention Music library indexing and reliability improvements, but no mention under IOS or PC. It seems though improvements have also been made for the PC platform, or perhaps changes to the speaker firmware itself has resolved the issue.

DGR1
Chromatic Producer I
October 22, 2024

I’m hesitant to say this, but since the 80.09.09 update on 16th Oct, my Music Library re-index seems to work ok when I initiate it from the PC Controller App.

The release notes for the 80.10.06 (Android) software mention Music library indexing and reliability improvements, but no mention under IOS or PC. It seems though improvements have also been made for the PC platform, or perhaps changes to the speaker firmware itself has resolved the issue.

Yes, same for me.

It would be great if someone from Sonos could advise whether the new firmware made changes to indexing of Samba shares and fixed any issues with limits or special characters or anything else.

Would be much appreciated 😀

Corry P
Sonos Staff
October 22, 2024

Hi @DGR1 

A few different issues were addressed. Among them were:

  • Paths to Music Library being removed if SMBv1 is detected
  • Buffalo Linkstation NAS indexing fixed
  • Music Library stops indexing suddenly (I’m not sure what changes were made for this - it may have addressed special characters)
  • Unable to add share on router-connected USB drives

More fixes for Music Library are still to come.

I hope this helps.

"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein
DGR1
Chromatic Producer I
October 22, 2024

Hi @DGR1 

A few different issues were addressed. Among them were:

  • Paths to Music Library being removed if SMBv1 is detected
  • Buffalo Linkstation NAS indexing fixed
  • Music Library stops indexing suddenly (I’m not sure what changes were made for this - it may have addressed special characters)
  • Unable to add share on router-connected USB drives

More fixes for Music Library are still to come.

I hope this helps.

Wow. That’s fantastic news @Corry P. I have reindexed a few times since the new firmware was released and seen no errors; part of my push to clean up my music library tagging, reduce the number of genres I use, standardise album art etc etc. My share is currently on a router-connected USB drive as it means I don’t have to run another device 24x7.

Thanks again for the feedback, and I will of course report any errors I do experience.