SVXLink: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
 
Line 1: Line 1:
https://github.com/sm0svx/svxlink
https://github.com/sm0svx/svxlink


SvxLink is a project that develops software targeting the ham radio community. It started out as an EchoLink application for Linux back in 2003 but has now evolved to be something much more advanced.
SvxLink is a project that develops software for the ham radio community. It started out as an EchoLink application for Linux back in 2003 but has now evolved to be something much more advanced.


See also RTLSDR https://www.rtl-sdr.com/svxlink-now-supports-the-rtl-sdr/
See also RTLSDR https://www.rtl-sdr.com/svxlink-now-supports-the-rtl-sdr/
Line 7: Line 7:
== Set up on Bookworm on a Pi 5 ==
== Set up on Bookworm on a Pi 5 ==


Install the software
=== Install the software ===


  sudo apt-get install svxlink-server remotetrx svxlink-calibration-tools svxlink-gpio
  sudo apt-get install svxlink-server remotetrx svxlink-calibration-tools svxlink-gpio
Line 21: Line 21:
and be on wireguard for this.
and be on wireguard for this.


=== Wireguard ===
=== Set up the Wireguard tunnel ===


  sudo apt install wireguard
  sudo apt install wireguard
Line 29: Line 29:
  sudo systemctl enable [email protected]
  sudo systemctl enable [email protected]
  sudo systemctl start [email protected]
  sudo systemctl start [email protected]
=== Sound ===
See http://np2wj.com/echolink-node-on-raspberry-pi-using-svxlink-part-1/
==== Sound card ====
Using the built-in sound would be too easy so we use a USB sound card. Also it's a Pi 5 so no mini stereo jack anyway.
I plugged in the card and rebooted and it was found as card 0 so I think I don't have to edit the alsa.conf file in /usr/share/alsa/.
<pre>
$ arecord -l # find the card, should be 0
**** List of CAPTURE Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
</pre>
==== Sounds ====
Not much point in having a sound card and no sounds, first let's install Heather's voice files.
<pre>
cd /usr/share/svxlink/sounds/
sudo wget https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases/download/19.09/svxlink-sounds-en_US-heather-16k-19.09.tar.bz2
sudo tar xvjf svxlink-sounds-en_US-heather-16k-19.09.tar.bz2
sudo ln -s en_US-heather-16k en_US
</pre>
=== Echolink ===
I have not completed this set up yet. I should be able to run it over the Wireguard connection so keeping the Pi on DHCP should be fine since all external traffic can go through the tunnel.


== SVXPortal ==
== SVXPortal ==

Latest revision as of 06:43, 31 December 2024

https://github.com/sm0svx/svxlink

SvxLink is a project that develops software for the ham radio community. It started out as an EchoLink application for Linux back in 2003 but has now evolved to be something much more advanced.

See also RTLSDR https://www.rtl-sdr.com/svxlink-now-supports-the-rtl-sdr/

Set up on Bookworm on a Pi 5

Install the software

sudo apt-get install svxlink-server remotetrx svxlink-calibration-tools svxlink-gpio

Just installing will start up remotetrx, whether I need it or not. :-)

Starting svxlink requires a configuration in /etc/svxlink/, you have to set a few things in svxlink.conf. Call sign. W6GKD/L Enable echolink. US sound files are installed by default.

I wonder if I can get it to connect with TARRA reflector, I guess it has to identify as wickiup and be on wireguard for this.

Set up the Wireguard tunnel

sudo apt install wireguard

Copy and paste from TARRA to /etc/wireguard/wg0.conf

sudo systemctl enable [email protected]
sudo systemctl start [email protected]

Sound

See http://np2wj.com/echolink-node-on-raspberry-pi-using-svxlink-part-1/

Sound card

Using the built-in sound would be too easy so we use a USB sound card. Also it's a Pi 5 so no mini stereo jack anyway. I plugged in the card and rebooted and it was found as card 0 so I think I don't have to edit the alsa.conf file in /usr/share/alsa/.

$ arecord -l # find the card, should be 0
**** List of CAPTURE Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Sounds

Not much point in having a sound card and no sounds, first let's install Heather's voice files.

cd /usr/share/svxlink/sounds/ 
sudo wget https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases/download/19.09/svxlink-sounds-en_US-heather-16k-19.09.tar.bz2 
sudo tar xvjf svxlink-sounds-en_US-heather-16k-19.09.tar.bz2 
sudo ln -s en_US-heather-16k en_US 

Echolink

I have not completed this set up yet. I should be able to run it over the Wireguard connection so keeping the Pi on DHCP should be fine since all external traffic can go through the tunnel.

SVXPortal

There's a web interface called "svxportal" that I am going to set up on Bellman following some instructions here: https://sk7rfl.se/doc/SvxPortal2.5.pdf