User Tools

Site Tools


docs:svx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:svx [2022/11/25 17:06] – [SVXLink (listener)] rootdocs:svx [2022/11/26 04:08] (current) – [Sample config] root
Line 138: Line 138:
 quilt push -a quilt push -a
 dpkg-buildpackage -us -uc dpkg-buildpackage -us -uc
-dpkg -i ../svxreflector_*.deb+cd .. 
 +dpkg -i svxreflector_*.deb
 apt-mark hold svxreflector apt-mark hold svxreflector
 </code> </code>
Line 191: Line 192:
  
 ===== SVXLink (listener) ===== ===== SVXLink (listener) =====
 +
 +==== Installing ====
 +
 +We'll use the other packages generated in the section above. Go back in ''/usr/local/src'', and run the following commands:
 +
 +<code bash>
 +dpkg -i svxlink-server_*.deb svxlink-gpio_*.deb libecholib1.3_*.deb
 +apt-mark hold svxlink-server svxlink-gpio libecholib1.3
 +</code>
 +
 +Alternatively, you can choose to use the packages from the repository, which should be the same, since we didn't patch their codebase.
 +
 +<code bash>
 +apt install -y svxlink-server
 +</code>
 +==== Sample config ====
  
 <code ini svxlink.conf> <code ini svxlink.conf>
Line 217: Line 234:
 TYPE=Reflector TYPE=Reflector
 HOST=127.0.0.1 HOST=127.0.0.1
-PORT=5310+PORT=5300
 CALLSIGN="RESEAU_xxx" CALLSIGN="RESEAU_xxx"
-AUTH_KEY="Default community password"+AUTH_KEY="Change this key now."
 AUDIO_CODEC=OPUS AUDIO_CODEC=OPUS
 #JITTER_BUFFER_DELAY=0 #JITTER_BUFFER_DELAY=0
Line 270: Line 287:
  
 ===== DarkIce ===== ===== DarkIce =====
 +
 +==== Sample config ====
 +
  
 <code ini darkice.conf> <code ini darkice.conf>
Line 312: Line 332:
 public          = yes       # advertise this stream? public          = yes       # advertise this stream?
 </code> </code>
 +
 +==== Systemd unit file ====
 +
 +<file ini darkice@.service>
 +[Unit]
 +Description=Darkice server for room %I
 +Documentation=man:darkice(1)
 +After=network.target time.target sound.target icecast2.service
 +
 +[Service]
 +Type=simple
 +User=svxlink
 +Group=svxlink
 +EnvironmentFile=-/etc/default/darkice-%i
 +Environment=CFGFILE=/etc/darkice/%i.cfg
 +#RuntimeDirectory=/etc/darkice
 +ExecStart=/usr/bin/darkice -c $CFGFILE
 +ExecStop=/bin/kill -s TERM $MAINPID
 +Restart=on-failure
 +TimeoutStartSec=60
 +
 +[Install]
 +WantedBy=multi-user.target
 +</file>
  
 ===== MQTT ===== ===== MQTT =====
docs/svx.1669392411.txt.gz · Last modified: 2022/11/25 17:06 by root

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki