diff --git a/groundstation/fox.sh b/groundstation/fox.sh new file mode 100755 index 00000000..aa8dc1f8 --- /dev/null +++ b/groundstation/fox.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# script to run FoxTelem + +echo "Script to run FoxTelem for ARISS Radio Pi" + +echo + +sudo systemctl stop openwebrx + +sudo systemctl stop rtl_tcp + +pkill -o chromium &>/dev/null + +sudo killall -9 java &>/dev/null + +/home/pi/FoxTelem_1.09g_linux/FoxTelem & + +#/usr/bin/chromium-browser --noerrdialogs --disable-infobars http://localhost:8073 &>/dev/null & + +$SHELL diff --git a/groundstation/rtl-tcp.sh b/groundstation/rtl-tcp.sh index fab3b16b..58032674 100755 --- a/groundstation/rtl-tcp.sh +++ b/groundstation/rtl-tcp.sh @@ -3,13 +3,32 @@ # # On SDR client, use 10.3.141.1:1234 to connect -echo -e "\nScript to run RTL-TCP Server for ARISS Ground Station\n" +echo "Script to run RTL-TCP Server for ARISS Radio Pi" -echo -e "IP Address to use in web browsers is: " +ip=$(hostname -I|cut -f1 -d ' ') -#hostname -I|cut -f1 -d ' ' +echo -/home/pi/kill_all.sh +echo "IP Address to use in SDR application is: $ip" + +echo + +echo "Port to use in SDR application is the default: 1234" + +echo + +ssid=$(iwgetid -r) + +echo "Note: you need to be on the Wifi network: $ssid" + +echo + +pkill -o chromium &>/dev/null + +sudo killall -9 java &>/dev/null + +sudo systemctl stop openwebrx -#/usr/local/bin/rtl_tcp -a $(hostname -I|cut -f1 -d " ") sudo systemctl start rtl_tcp + +$SHELL diff --git a/groundstation/sdr.sh b/groundstation/sdr.sh index 7ebf868d..e91f64e4 100755 --- a/groundstation/sdr.sh +++ b/groundstation/sdr.sh @@ -1,21 +1,28 @@ #!/bin/bash # script to run OpenWebRX SDR -echo -e "\nScript to run SDR for ARISS Ground Station\n" +echo "Script to run Web SDR for ARISS Radio Pi" -echo -e "IP Address to use in web browsers is: " +echo -hostname -I|cut -f1 -d ' ' +ip=$(hostname -I|cut -f1 -d ' ') +echo "IP Address to use in web browsers is: $ip:8073" -#./kill_all.sh +echo -sudo systemctl stop rtl_tcp +ssid=$(iwgetid -r) + +echo "Note: you need to be on the Wifi network: $ssid" + +echo -#cd ~/openwebrx +sudo killall -9 java &>/dev/null + +sudo systemctl stop rtl_tcp sudo systemctl restart openwebrx -chromium-browser http://localhost:8073 & +/usr/bin/chromium-browser --noerrdialogs --disable-infobars http://localhost:8073 &>/dev/null & -#sudo python openwebrx.py config_webrx_145 +$SHELL