This tutorial simply explains the process to follow to configure DietPi with the USBdrige Allo, in order to access files stored on a local networked NAS or USB storage device.
The diagram below explains how to connect each of your devices to integrate them into a single network and simply enjoy all your audio files from the LMS interface.
The following steps are to be followed:
DietPi - SSH Protocol :
NAS (Synology) - LMS :
The first step in this tutorial is to configure DietPi. To do this, we will have to go through a few command lines. Install an SSH client to be able to run these commands remotely. Here we use PuTTY, a completely free software. Enter the IP address of your Allo USBridge. By default, the login is root and the password is dietpi.
Once connected, type the command dietpi-config. This will open a DietPi configuration interface.
In this interface, select the option 8 : Network Options : Misc. This choice will open the interface DietPi-Drive_Manager. Make sure your USB storage device is connected to the USB port of your USBridge. This USB device should appear in the list with the mention Not Mounted. Select it and click on OK. Select the option Mount and confirm by pressing OK.
In the next window, you are free to rename the folder. Then validate your choice. The name of the previous folder assigned is then displayed on the Mount target line, confirming that the previous steps have been successfully completed.
To add a network device, select the option Add network drive and validate. In the next window choose the Samba protocol and press OK. Then enter the IP address of your network device. Finally, enter the name to use for connecting to the network device. A new window appears to indicate that the network device has been added and to indicate the access method. The path is then displayed on the line Mount source.
You can then see that your two devices, USB and network, have been mounted correctly.
It is now necessary to ensure that SqueezeBox and SqueezeLite are properly installed. To do this, in the DietPi-Launcher interface, select the DietPi-Software option.
Once in the DietPi-Software interface, choose the SqueezeBox and SqueezeLite software and validate to install them. In the window asking you if you want to install these two programs, confirm by pressing OK.
The configuration part of DietPi is now complete. We can therefore switch to the LMS tracing parameter.
This last step consists of configuring LMS. Start with elect your board at the top right of the LMS interface. Then click on the button Music Source to be able to specify the location of your folders.
On the next screen, Music Source, select DietPi. The two directories shown in the previous step, your USB storage device and your network device, appear.
You can then browse through your folders to select those containing your audio files. Then do a scan of the libraries. LMS will then display that the scan is complete.
Now you can enjoy all your audio files and control playback directly from LMS!
We would like to thank Christophe Prigent for writing this guide.