parent
79dfe5fc58
commit
1f19d1695a
@ -1,16 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# script to auto decode CubeSat Simulator telemetry
|
# script to run gqrx
|
||||||
|
|
||||||
# kill rtl if running
|
echo "Script to run Gqrx for ARISS Radio Pi"
|
||||||
ps -ef | grep rtl | grep -v grep | awk '{print $2}' | sudo xargs kill
|
|
||||||
|
|
||||||
# kill openwebrx process if running
|
echo
|
||||||
ps -ef | grep openwebrx | grep -v grep | awk '{print $2}' | sudo xargs kill
|
|
||||||
|
|
||||||
# kill csdr process if running
|
sudo killall -9 java &>/dev/null
|
||||||
ps -ef | grep csdr | grep -v grep | awk '{print $2}' | sudo xargs kill
|
|
||||||
|
|
||||||
echo -e "Script to run Gqrx\n"
|
sudo systemctl stop rtl_tcp
|
||||||
|
|
||||||
/home/pi/gqrx-sdr-2.11.5-linux-rpi3/gqrx
|
sudo killall -9 rtl_tcp &>/dev/null
|
||||||
|
|
||||||
|
sudo systemctl stop openwebrx
|
||||||
|
|
||||||
|
/usr/bin/gqrx
|
||||||
|
|||||||
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# script to run RTL-TCP in Direct Sampling Mode
|
||||||
|
|
||||||
|
echo "Script to run RTL-TCP Direct Sampling for ARISS Radio Pi"
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
ip=$(hostname -I|cut -f1 -d ' ')
|
||||||
|
|
||||||
|
echo "IP Address to use in SDR is: $ip:1234"
|
||||||
|
|
||||||
|
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 systemctl stop openwebrx
|
||||||
|
|
||||||
|
sudo /bin/sh -c '/usr/local/bin/rtl_tcp -a $(hostname -I|cut -f1 -d " ") -D 2'
|
||||||
Loading…
Reference in new issue