SVXLink: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) |
||
Line 14: | Line 14: | ||
sudo apt install git libgcrypt20 libpopt0 libgsm1 libsigc++-2.0-dev libasound2 libspeex1 libopus0 | sudo apt install git libgcrypt20 libpopt0 libgsm1 libsigc++-2.0-dev libasound2 libspeex1 libopus0 | ||
useradd -r -g daemon svxlink | useradd -r -g daemon svxlink | ||
cd svxlink | cd svxlink/src | ||
mkdir build | mkdir build | ||
cd build | cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc | cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var -S='..' | ||
-DLOCAL_STATE_DIR=/var .. | make -j 4 | ||
make | |||
make doc | make doc | ||
sudo make install | sudo make install | ||
sudo ldconfig | sudo ldconfig | ||
</pre> | </pre> | ||
Revision as of 02:21, 7 January 2025
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 from source
Install git and the pre-requisites which currently means libgcrypt popt gsm libsigc++2 libasound speex opus
git clone https://github.com/sm0svx/svxlink.git sudo apt install git libgcrypt20 libpopt0 libgsm1 libsigc++-2.0-dev libasound2 libspeex1 libopus0 useradd -r -g daemon svxlink cd svxlink/src mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var -S='..' make -j 4 make doc sudo make install sudo ldconfig
Install from packages
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