From 518bda6ad5d2307e8db8da7a9c04d48f7bdc6327 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 27 Jul 2020 16:53:39 -0400 Subject: [PATCH] updates for CubicSDR --- groundstation/fox.sh | 4 ++-- groundstation/rtl-tcp-d.sh | 2 +- groundstation/sdr-2m.sh | 19 ------------------- groundstation/sdr-70cm.sh | 19 ------------------- groundstation/sdr-fm.sh | 18 ------------------ groundstation/sdr-hf.sh | 34 ---------------------------------- groundstation/sdr.sh | 2 ++ 7 files changed, 5 insertions(+), 93 deletions(-) delete mode 100755 groundstation/sdr-2m.sh delete mode 100755 groundstation/sdr-70cm.sh delete mode 100755 groundstation/sdr-fm.sh delete mode 100755 groundstation/sdr-hf.sh diff --git a/groundstation/fox.sh b/groundstation/fox.sh index d787d8cd..610d7850 100755 --- a/groundstation/fox.sh +++ b/groundstation/fox.sh @@ -15,9 +15,9 @@ sudo killall -9 rtl_tcp &>/dev/null sudo killall -9 java &>/dev/null -sudo killall -9 gqrx &>/dev/null +sudo killall -9 CubicSDR &>/dev/null -/home/pi/Downloads/FoxTelem_1.09k6_linux/FoxTelem & +/home/pi/Downloads/FoxTelem/FoxTelem & #/usr/bin/chromium-browser --noerrdialogs --disable-infobars http://localhost:8073 &>/dev/null & diff --git a/groundstation/rtl-tcp-d.sh b/groundstation/rtl-tcp-d.sh index 8edba5f9..db49a177 100755 --- a/groundstation/rtl-tcp-d.sh +++ b/groundstation/rtl-tcp-d.sh @@ -19,7 +19,7 @@ echo sudo killall -9 java &>/dev/null -sudo killall -9 gqrx &>/dev/null +sudo killall -9 CubicSDR &>/dev/null sudo systemctl stop rtl_tcp diff --git a/groundstation/sdr-2m.sh b/groundstation/sdr-2m.sh deleted file mode 100755 index a2142704..00000000 --- a/groundstation/sdr-2m.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# script to run OpenWebRX SDR - -echo -e "\nScript to run SDR for ARISS Ground Station\n" - -echo -e "IP Address to use in web browsers is: " - -hostname -I|cut -f1 -d ' ' - - -#./kill_all.sh - -sudo systemctl stop rtl_tcp - -cd ~/openwebrx - -chromium-browser http://localhost:8073 & - -sudo python openwebrx.py config_webrx_145 diff --git a/groundstation/sdr-70cm.sh b/groundstation/sdr-70cm.sh deleted file mode 100755 index 17d19a1e..00000000 --- a/groundstation/sdr-70cm.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# script to run OpenWebRX SDR - -echo -e "\nScript to run SDR for ARISS Ground Station\n" - -echo -e "IP Address to use in web browsers is: " - -hostname -I|cut -f1 -d ' ' - - -./kill_all.sh - -./kill_all.sh - -cd ~/openwebrx - -chromium-browser http://localhost:8073 & - -sudo python openwebrx.py config_webrx_435 diff --git a/groundstation/sdr-fm.sh b/groundstation/sdr-fm.sh deleted file mode 100755 index 188db296..00000000 --- a/groundstation/sdr-fm.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# script to run OpenWebRX SDR - -echo -e "\nScript to run SDR for ARISS Ground Station\n" - -echo -e "IP Address to use in web browsers is: " - -hostname -I|cut -f1 -d ' ' - - -./kill_all.sh - -cd ~/openwebrx - -chromium-browser http://localhost:8073 & - -sudo python openwebrx.py config_webrx_107 - diff --git a/groundstation/sdr-hf.sh b/groundstation/sdr-hf.sh deleted file mode 100755 index fd367b46..00000000 --- a/groundstation/sdr-hf.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# script to run OpenWebRX SDR in HF - -echo "Script to run Web SDR in HF for ARISS Radio Pi" - -echo - -ip=$(hostname -I|cut -f1 -d ' ') - -echo "IP Address to use in web browsers is: $ip:8073" - -echo - -ssid=$(iwgetid -r) - -echo "Note: you need to be on the Wifi network: $ssid" - -echo - -sudo killall -9 java &>/dev/null - -sudo systemctl stop rtl_tcp - -sudo killall -9 rtl_tcp &>/dev/null - -sudo systemctl stop openwebrx - -sudo cp /etc/openwebrx/config_webrx_hf.py /etc/openwebrx/config_webrx.py - -sudo systemctl restart openwebrx - -/usr/bin/chromium-browser --noerrdialogs --disable-infobars http://localhost:8073 &>/dev/null & - -$SHELL diff --git a/groundstation/sdr.sh b/groundstation/sdr.sh index e91f64e4..e232f006 100755 --- a/groundstation/sdr.sh +++ b/groundstation/sdr.sh @@ -19,6 +19,8 @@ echo sudo killall -9 java &>/dev/null +sudo killall -9 CubicSDR &>/dev/null + sudo systemctl stop rtl_tcp sudo systemctl restart openwebrx