Software

Installing for Buster, find which version you want:

https://www.signalyst.eu/bins/hqplayerd/buster/

Now install HQP


Once booted up, you can use the web configuration interface from another computer or login as "root" (no password) from console. Default username for web interface is "hqplayer" and default password is "password". Please change the password as soon as possible, either through the web interface, or from command line using command "hqplayerd -s usernamepassword". The image will attempt to appear under name "hqplayer" on the network, but you can also see the obtained IP adress using command "ifconfig".

Additional documentation can be found in /usr/share/hqplayer/readme.txt

Upgrade to newer version

sudo systemctl stop hqplayerd.service
sudo wget https://www.signalyst.eu/bins/hqplayerd/buster/hqplayerd_4.12.1-38_amd64.deb      
sudo dpkg -i hqplayerd_4.12.1-38_amd64.deb  

When it first boots up, you see this message:

│ Special groups and device access │

│ │

│ For better performance, please make sure that your userid is member of "audio" group! │

│ │

│ Please also make sure that pulseaudio or other audio daemons are not keeping your audio device reserved!


To start hqplayer. Replace with stop if you need to stop it from running.

sudo systemctl start hqplayerd.service

Tell hqplayer to start on every power on. Disable will turn this off

sudo systemctl enable hqplayerd.service

Check status to see if its running.

sudo systemctl status hqplayerd.service

# set web configuration username and password

(replace username and password with what your choices)

sudo hqplayerd -s username password

Stop and then start hqplayerd.servicecd or reboot then you can login to web server, or reboot.

NAS Setup

Install Samba and other programs for Samba





Now go make a directory and mount share to it


sudo mkdir /mnt


cd /mnt


sudo mkdir /mnt/samba


sudo mkdir /mnt/samba/stuff
sudo mkdir /mnt/samba/music_1tb


sudo chmod 777 /mnt/samba/stuff
sudo chmod 777 /mnt/samba/music_1tb

192.168.xxx.xxx below is you NAS address

sudo mount -t cifs //192.168.xxx.xxx/USB_Storage/stuff /mnt/samba/stuff -o guest,vers="1.0"
sudo mount -t cifs //192.168.xxx.xxx/USB_Storage/music_1tb /mnt/samba/music_1tb -o guest,vers="1.0"

Now check and make sure drive was mounted

cd /mnt/samba/stuff
ls

Troubleshooting

On a mac, if you go to safari and enter

smb://192.168.xxx.xxx/USB_Storage/music_1tb

Then allow finder to find it, it should show up

All your files should show up

But this will be lost over a reset or power cycle.

To make it work permanently, you need to edit fstab

cd /etc
sudo nano fstab

add these lines to fstab, I added at the end.

//192.168.xxx.xxx/USB_Storage/stuff /mnt/samba/stuff      cifs     guest,x-systemd.automount,x-systemd.device-timeout=60,vers=1.0    0     0
//192.168.xxx.xxx/USB_Storage/music_1tb /mnt/samba/music_1tb      cifs     guest,x-systemd.automount,x-systemd.device-timeout=60,vers=1.0    0     0

NOTES:

so i tested a lot of different settings and while _netdev did not work for me i finally found a working setting as following:

//192.168.1.100/Storage /mnt/storage cifs x-systemd.automount,x-systemd.device-timeout=60,vers=1.0,iocharset=utf8,credentials=/home/alain/.smbcredentials,uid=1000,gid=users,file_mode=0775, dir_mode=0775 0 0

https://ubuntuforums.org/showthread.php?t=2383327


exit and save

to test,

sudo mount -a


NOTES:

THIS WORKED

sudo mount -t cifs //192.168.xxx.xxx/USB_Storage/stuff /mnt/samba/stuff -o guest,vers="1.0"

sudo mount -t cifs //192.168.xxx.xxx/USB_Storage/music_1tb /mnt/samba/music_1tb -o guest,vers="1.0"


if errors or problems, look at log file:

sudo tail -f /var/log/kern.log

to unmount:

sudo umount /mnt/samba/stuff

NOTES:

If you need to add SSH:

SSH

https://linuxhint.com/enable-ssh-server-debian/

sudo apt-get update

sudo apt-get install openssh-server

sudo systemctl status ssh

sudo systemctl enable ssh


sudo nano /etc/ssh/sshd_config