Hi All,
I installed darkice+icecast from dietpi-software, but darkice won’t attach to icecast2.
Steps to reproduce:
sudo dietpi-software reinstall 135
sudo darkice
leads to…
DarkIce: TcpSocket.cpp:226: gethostbyname error [0]
my darkice.cfg is:
[general]
duration = 0
bufferSecs = 3
reconnect = yes
[input]
device = hw:1,0
sampleRate = 44100
bitsPerSample = 16
channel = 1
[icecast2-0]
bitrateMode = vbr
format = vorbis
quality = 0.8
server = dietpi
port = 8000
password = dietpi
mountPoint = DietPi
name = DietPi
description = DarkIce on DietPi
url = http://localhost
genre = none
public = no
#localDumpFile = /mnt/dietpi_userdata/darkice_recording.ogg
Given the error about hostname, I looked at /etc/hosts but it seems okay…
cat hosts
127.0.0.1 localhost
127.0.1.1 pi
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
Icecast2 is working fine on port 8000… Device is a raspberry Pi B3+ running DietPi v6.34.3.
I’ve explored basically every google result trying to troubleshoot this and stumped. Any thoughts?