Hi all,
I have music stored on an SSD attached to a Raspberry PI running dietpi. I use this mainly for music with an IQAUDIO Dac. The drive is 128GB in size has plenty of space left on it.
I also have a Sonos connect. I will like to be able to let Sonos share the same music on the SSD drive. I have a drive attached to my router for this but I am thinking that it is waste and will like to use one drive as I stream most of my music.
The SSD drive is mounted as /mnt/usb_1 (same as /mnt/dietpi_userdata). The music is in /mnt/usb_1/Music. Is there an easy way to allow Sonos access?
Any help welcomed
Thanks in advance
Accessing music on external drive attached to PI
Re: Accessing music on external drive attached to PI
deff wrote:Is there an easy way to allow Sonos access?
Code: Select all
https://sonos.custhelp.com/app/answers/detail/a_id/79/~/using-a-nas-drive-with-sonos
Requirements for using a NAS with Sonos
Sonos works with any NAS drive that supports the SMB / CIFS file sharing protocol. Sonos does not recommend any particular model of NAS drives.
dietpi-software > Fileserver choice > Samba > Go start install
http://dietpi.com/phpbb/viewtopic.php?f ... art=10#p56
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Accessing music on external drive attached to PI
Thanks,
After installing samba, do I share the whole drive as /mnt/usb_1
After installing samba, do I share the whole drive as /mnt/usb_1
Re: Accessing music on external drive attached to PI
If your DietPi user data is setup for USB drive, DietPi does that automatically, creating a share called dietpideff wrote:Thanks,
After installing samba, do I share the whole drive as /mnt/usb_1
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Accessing music on external drive attached to PI
@Fourdee,
Thanks for the quick reply. My DietPi user data is setup for USB drive I think. It is /mnt/dietpi_userdata. Drive mount is /mnt/usb_1. From the site i see following
Accessing Samba File Server
- Address = \\192.168.0.100\dietpi or \\dietpi\dietpi
- username = root
- password = dietpi
I installed samba and thought that i should be able to mount drive from my Windows PC to \\192.168.0.100\dietp ( 0r hostIP\dietpi). Both fails. If I point sonos to \\192.168.0.100\dietpi, I 'the get computer \192.168.0.100\dietpi' is not responding'
I am think that the share called dietpi has not been created in my case
Thanks for the quick reply. My DietPi user data is setup for USB drive I think. It is /mnt/dietpi_userdata. Drive mount is /mnt/usb_1. From the site i see following
Accessing Samba File Server
- Address = \\192.168.0.100\dietpi or \\dietpi\dietpi
- username = root
- password = dietpi
I installed samba and thought that i should be able to mount drive from my Windows PC to \\192.168.0.100\dietp ( 0r hostIP\dietpi). Both fails. If I point sonos to \\192.168.0.100\dietpi, I 'the get computer \192.168.0.100\dietpi' is not responding'
I am think that the share called dietpi has not been created in my case
Re: Accessing music on external drive attached to PI
You'll need to change the IP address to match your RPi system. You can find the IP address with:\\192.168.0.100\dietpi
Code: Select all
ifconfig
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Accessing music on external drive attached to PI
Thanks,
I tried that as per my last update (hostIP\dietpi). My ip using ifconfig is 192.168.1.139. after samba install using dietpi_config, do I need to do anything further. I probably missed something.
Also I can I check if the share (If your DietPi user data is setup for USB drive, DietPi does that automatically, creating a share called dietpi) was created. If wasn't what is the best way. Currently I have all my music in /mnt/usb_1/Music. I noticed that it is the same as /mnt/dietpi_userdata/Music
Thanks
I tried that as per my last update (hostIP\dietpi). My ip using ifconfig is 192.168.1.139. after samba install using dietpi_config, do I need to do anything further. I probably missed something.
Also I can I check if the share (If your DietPi user data is setup for USB drive, DietPi does that automatically, creating a share called dietpi) was created. If wasn't what is the best way. Currently I have all my music in /mnt/usb_1/Music. I noticed that it is the same as /mnt/dietpi_userdata/Music
Thanks
Re: Accessing music on external drive attached to PI
That installs the samba client.deff wrote:after samba install using dietpi_config
Install server (which will allow this system to share files on USB drive) with:
Code: Select all
dietpi-software install 96
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Accessing music on external drive attached to PI
@Fourdee.
Many thanks. I new I was doing something wrong when I could not find the samba service. I install the samba server and it works like a charm
Regards
Many thanks. I new I was doing something wrong when I could not find the samba service. I install the samba server and it works like a charm
Regards