AllStarLink for TETRA Setup: Difference between revisions
Jump to navigation
Jump to search
m (Wodie moved page TETRA for AllStarLink Setup to AllStarLink for TETRA Setup without leaving a redirect) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
= Overview = | = Overview = | ||
TETRA | AllStarLink for TETRA is a Perl application that allows use Motorola MTM5400 radios with AllStarLink, as MTM5400 have no DTMF tones and COS/COR GPO (VOX is not a reliable solution and there is no way to connect/disconnect without DTMF). | ||
= Initial Setup = | = Initial Setup = | ||
Line 19: | Line 19: | ||
</pre> | </pre> | ||
== Install TETRA | == Install AllStarLink for TETRA == | ||
<pre> | <pre> | ||
sudo gitclone https://github.com/Wodie/ | sudo gitclone https://github.com/Wodie/AllStarLink-for-TETRA.git | ||
</pre> | </pre> | ||
Line 32: | Line 31: | ||
<pre> | <pre> | ||
cd home | cd home | ||
cd | cd AllStarLink-for-TETRA | ||
sudo nano config.conf | sudo nano config.conf | ||
</pre> | </pre> | ||
Line 55: | Line 54: | ||
<pre> | <pre> | ||
sudo perl | sudo perl AllStarLink-for-TETRA.pl | ||
</pre> | </pre> | ||
Line 64: | Line 63: | ||
<pre> | <pre> | ||
sudo cp /home/repeater/ | sudo cp /home/repeater/AllStarLink-for-TETRA/x_AllStarLink-for-TETRA.service /lib/systemd/system/AllStarLink-for-TETRA.service | ||
</pre> | </pre> | ||
Line 70: | Line 69: | ||
<pre> | <pre> | ||
sudo systemctl enable | sudo systemctl enable AllStarLink-for-TETRA | ||
sudo systemctl start | sudo systemctl start AllStarLink-for-TETRA | ||
<pre> | <pre> | ||
== Service status == | == Service status == | ||
If you | If you want to see service status type: | ||
<pre> | <pre> | ||
sudo systemctl status | sudo systemctl status AllStarLink-for-TETRA | ||
<pre> | <pre> | ||
Line 87: | Line 86: | ||
<pre> | <pre> | ||
sudo systemctl stop | sudo systemctl stop AllStarLink-for-TETRA | ||
sudo systemctl disable | sudo systemctl disable AllStarLink-for-TETRA | ||
</pre> | </pre> |
Latest revision as of 02:53, 18 August 2025
Overview
AllStarLink for TETRA is a Perl application that allows use Motorola MTM5400 radios with AllStarLink, as MTM5400 have no DTMF tones and COS/COR GPO (VOX is not a reliable solution and there is no way to connect/disconnect without DTMF).
Initial Setup
Install Perl libraries
sudo cpan install Switch Config::IniFiles Device::SerialPort IO::Socket::Timeout IO::Socket::Multicast JSON Ham::APRS::IS Term::ReadKey sudo apt-get install git-core sudo git clone https://github.com/WiringPi/WiringPi.git /opt/wiringpi cd /opt/wiringpi sudo ./build sudo cpan install RPi::Pin RPi::Const sudo apt install pigpio sudo systemctl start pigpiod sudo usermod -aG gpio asterisk
Install AllStarLink for TETRA
sudo gitclone https://github.com/Wodie/AllStarLink-for-TETRA.git
User configuration
Edit the config file with your callsign and node settings.
cd home cd AllStarLink-for-TETRA sudo nano config.conf
After making your changes type <CTRL> + <X> and then type <Y> followed by <Enter>.
Test GPIO
To test your GPIO pins use:
watch raspi-gpio get 2-26
or
gpio readall
Test
sudo perl AllStarLink-for-TETRA.pl
If succesfully working press "Q" to quit and continue.
Install service
sudo cp /home/repeater/AllStarLink-for-TETRA/x_AllStarLink-for-TETRA.service /lib/systemd/system/AllStarLink-for-TETRA.service
Start the service
sudo systemctl enable AllStarLink-for-TETRA sudo systemctl start AllStarLink-for-TETRA <pre> == Service status == If you want to see service status type: <pre> sudo systemctl status AllStarLink-for-TETRA <pre> == Stop Service == If for some reason you need to stop the service, type: <pre> sudo systemctl stop AllStarLink-for-TETRA sudo systemctl disable AllStarLink-for-TETRA