- Download the latest DietPI image
- Write the image to an SD card (eg. with BalenaEtcher on MacOS)
- Edit WiFi details to
/boot/dietpi-wifi.txt
, if you plan to use WiFi. I wasn't able to get WiFI to work later on anymore, so please fill the details already now. - Start the RPi3 with the SD card
- Find out the IP address of the device, and log in via SSH (username
root
, passworddietpi
) - Setup utility starts on login, and guides you through via the steps needed. This will take some time though.
From https://community.audirvana.com/t/which-dnla-renderer-is-100-reliable-with-a/8800/4
- Run dietpi-config and under Audio Options choose the Hifiberry as your sound card.
- Run dietpi-software and enable GMediaRender (checkbox)
As for some reason the gmrender
did not start automatically on my RPi3, I needed the do this. YMMV.
The following should resolve the autostart issue:
- Open dietpi-services and select gmrender
- Select Edit
- nano opens with commented service file content. Below the commented ExecStartPre= line, add the following (uncommented):
ExecStartPre=
ExecStartPre=/DietPi/dietpi/func/obtain_network_details
ExecStartPre=+/bin/dash -c 'systemctl set-environment ACTIVE_IP=$(mawk 'NR==4' /DietPi/dietpi/.network)'
After saving the file and closing the config utility, reboot the RPi3 with reboot -n
.
Changing the advertised "friendly name" of the UPnP endpoint
nano /etc/systemd/system/gmrender.service
Find the -f Dietpi
part of the start command, and change it to be whatever you want.