mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Misc RF Tools - Added initial support for the RTL-SDR CLI tools and development libraries, dump1090 for ADB-S aircraft tracking, and SPLAT! for VHF/UHF prediction. Also, fixed an issue where the Paracon test script was not being run
This commit is contained in:
Executable
+50
@@ -0,0 +1,50 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 4 June 2025
|
||||
# Purpose : Install dump1090 (ADB-S aircraft tracking)
|
||||
set -e
|
||||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||
|
||||
. ./env.sh
|
||||
|
||||
APP=dump1090
|
||||
VERSION=master
|
||||
DOWNLOAD_FILE=master.zip
|
||||
BIN_FILE=dump1090
|
||||
INSTALL_DIR="/opt/${APP}-${VERSION}"
|
||||
INSTALL_BIN_DIR="${INSTALL_DIR}/bin"
|
||||
LINK_PATH="/opt/${APP}"
|
||||
|
||||
if [[ ! -e ${ET_DIST_DIR}/${DOWNLOAD_FILE} ]]; then
|
||||
|
||||
URL="https://github.com/antirez/dump1090/archive/refs/heads/${DOWNLOAD_FILE}"
|
||||
|
||||
et-log "Downloading ${APP}: ${URL}"
|
||||
curl -s -L -o ${DOWNLOAD_FILE} --fail ${URL}
|
||||
|
||||
mv -v ${DOWNLOAD_FILE} ${ET_DIST_DIR}
|
||||
fi
|
||||
|
||||
CWD_DIR=`pwd`
|
||||
|
||||
# Only build once
|
||||
if [[ ! -e "${ET_SRC_DIR}/${APP}/${BIN_FILE}" ]]; then
|
||||
cd ${ET_SRC_DIR}
|
||||
unzip -o ${ET_DIST_DIR}/${DOWNLOAD_FILE}
|
||||
|
||||
cd dump1090-master
|
||||
|
||||
et-log "Building ${APP}.."
|
||||
make
|
||||
fi
|
||||
|
||||
[[ ! -e ${INSTALL_BIN_DIR} ]] && mkdir -v -p ${INSTALL_BIN_DIR}
|
||||
cp -v "${ET_SRC_DIR}/${APP}-master/${BIN_FILE}" ${INSTALL_BIN_DIR}
|
||||
|
||||
[[ -e ${LINK_PATH} ]] && rm ${LINK_PATH}
|
||||
ln -s ${INSTALL_DIR} ${LINK_PATH}
|
||||
|
||||
stow -v -d /opt ${APP} -t /usr/local
|
||||
|
||||
cd $CWD_DIR
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 22 May 2024
|
||||
# Updated : 4 June 2025
|
||||
# Purpose : Install RF prediction and analysis tools
|
||||
set -e
|
||||
|
||||
et-log "Installing RF prediction and analysis tools..."
|
||||
apt install \
|
||||
splat \
|
||||
-y
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 4 June 2025
|
||||
# Purpose : Install SDR tools
|
||||
set -e
|
||||
|
||||
et-log "Installing SDR tools..."
|
||||
apt install \
|
||||
rtl-sdr \
|
||||
librtlsdr-dev \
|
||||
-y
|
||||
+8
-1
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 16 March 2024
|
||||
# Updated : 26 April 2025
|
||||
# Updated : 4 June 2025
|
||||
# Purpose : Main installer for EmComm Tools Community (ETC)
|
||||
|
||||
. ./env.sh
|
||||
@@ -66,3 +66,10 @@ exitIfNotRoot
|
||||
./install-python.sh
|
||||
./install-mbutil.sh
|
||||
./install-gis-tools.sh
|
||||
|
||||
# Install RF analysis and prediction tools
|
||||
./install-rf-analysis-tools.sh
|
||||
|
||||
# Install SDR tools
|
||||
./install-sdr-tools.sh
|
||||
./install-dump1090.sh
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 5 May 2025
|
||||
# Purpose : Test dump1090 installation
|
||||
|
||||
OUT=$(which dump1090)
|
||||
exit $?
|
||||
Reference in New Issue
Block a user