Sonos without Windows
I have a Linux server running Debian, a close relation of Ubuntu and a laptop running Ubuntu. I bought a Sonos ZP90 but not the controller. I found various bits and pieces on the internet on how to get this working but no complete howto so I thought it would be useful to others if I created a detailed guide for Google to find :-)
Physical set-up
The Sonos and server are connected to my ADSL modem with ethernet cables. The laptop connects via wireless.
Sharing the music
On the server create a new users sonos
Code:
sudo adduser sonos sudo passwd sonos
Check that user sonos can read your music files
Code:
su - sonos cdls cd ls exit
Code:
dpkg --get-selections | grep samba
Code:
samba-common install
Code:
sudo apt-get install samba
Code:
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.orig
Code:
[global] workgroup = server netbios name = server server string = Samba Server %v load printers = no log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = lo eth0 security = user password level = 12 username level = 12 encrypt passwords = yes username map = /etc/samba/smbusers [musicshare] path =valid users = sonos read only = yes printable = no only guest = no
to look like this
Code:
root = administrator admin nobody = guest pcguest smbguest sonos = sonos
Code:
sudo smbpasswd -a sonos
Restart samba to use the new config
Code:
sudo /etc/init.d/samba restart
Code:
sudo vi /var/log/samba/log.?mbd
No comments:
Post a Comment