A short shell script to play (sound-)files via network.
Copy the following code with an editor into a textfile.
#!/bin/sh echo "Waiting for audiofiles on port 50000 ..." while true do nc -l -p 50000 > /dev/audio done
Change the file permissions to '755'.
chmod 755 <filename>
Start your script by typing the filepath.
./<filename>
You can send files with following command:
nc <ip> 50000 < <audiofile>
To start the scipt automatically on a hp t5000 series thin client move the script to <homedirectory>/Desktop/Autostart.
mv <filename> /mnt/root/Desktop/Autostart