sanitized conf and sh files

pull/3/head
craigerl 2022-05-18 09:06:04 -07:00
rodzic ecc5344640
commit cb8b3e8372
10 zmienionych plików z 34 dodań i 35 usunięć

Wyświetl plik

@ -9,11 +9,11 @@ IGSERVER noam.aprs2.net
#IGSERVER sjc.aprs2.net #IGSERVER sjc.aprs2.net
# Our info # Our info
MYCALL KM6LYW-2 MYCALL KX6XXX-2
IGLOGIN KM6LYW-2 22452 IGLOGIN KX6XXX-2 12345
# Beacon to RF # Beacon to RF
PBEACON compress=1 delay=00:05 every=20:00 symbol="digi" overlay=1 lat=38.9119N long=120.9356W via=WIDE2-1 comment=" KM6LYW WIDE1 DigiPi http://craiger.org/digipi/ " PBEACON compress=1 delay=00:05 every=20:00 symbol="digi" overlay=1 lat=40.9999N long=140.9999W via=WIDE2-1 comment=" KX6XXX WIDE1 DigiPi http://craiger.org/digipi/ "
# Digipeat anything heard on RF with WIDE1-1 in the routing table # Digipeat anything heard on RF with WIDE1-1 in the routing table
DIGIPEAT 0 0 ^WIDE1-1$ ^WIDE1-1$ DIGIPEAT 0 0 ^WIDE1-1$ ^WIDE1-1$
@ -23,7 +23,7 @@ IGTXVIA 0 WIDE1-1,WIDE2-1
# RF->RF local filter # RF->RF local filter
# Don't digipeat ourself (two radio scenario) or abusive stations on RF # Don't digipeat ourself (two radio scenario) or abusive stations on RF
FILTER 0 0 ! d/KM6LYW-2 & ! b/KM6LYW-2 FILTER 0 0 ! d/KX6XXX-2 & ! b/KX6XXX-2
# Internet->RF local filter # Internet->RF local filter
# Just gate message-type packets that aren't group bulletins or weather-type packet from my wx station # Just gate message-type packets that aren't group bulletins or weather-type packet from my wx station
@ -32,7 +32,7 @@ FILTER IG 0 ( t/m & ! g/BLN* )
# Internet->RF server-side filter # Internet->RF server-side filter
# give us messages from stations 100miles away, or anything from VIP list # give us messages from stations 100miles away, or anything from VIP list
# aprsis doesn't give us message packets unless destination was heard here recently # aprsis doesn't give us message packets unless destination was heard here recently
IGFILTER t/m/KM6LYW-2/160 b/KM6LYW IGFILTER t/m/KX6XXX-2/160 b/KX6XXX
# One and five minute maximum from internet to RF # One and five minute maximum from internet to RF
IGTXLIMIT 20 60 IGTXLIMIT 20 60

Wyświetl plik

@ -1,8 +1,8 @@
# node 1200baud packet direwolf config # node 1200baud packet direwolf config
MYCALL KM6LYW MYCALL KX6XXX
CBEACON dest=BEACON delay=00:30 every=30:00 symbol="winlink" info="KM6LYW-4 Linux Node http://craiger.org/digipi/" CBEACON dest=BEACON delay=00:30 every=30:00 symbol="winlink" info="KX6XXX-4 Linux Node http://craiger.org/digipi/"
DCD GPIO 16 DCD GPIO 16

Wyświetl plik

@ -59,10 +59,10 @@ while true;
do do
#{ #{
#sleep 10 #sleep 10
#echo "user KM6LYW-4 pass 22452 vers digipi 1.6" #echo "user KX6XXX-4 pass 12345 vers digipi 1.6"
#sleep 2 #sleep 2
## Please change longitude/latitude below if you uncomment this: ## Please change longitude/latitude below if you uncomment this:
#printf "KM6LYW-4>WIDE1-1,TCPIP,WIDE1-1:!3853.80N/12056.15WB145.730Mhz: http://craiger.org/bbs Play Zork!\r\n" #printf "KX6XXX-4>WIDE1-1,TCPIP,WIDE1-1:!3853.80N/12056.15WB145.730Mhz: http://craiger.org/bbs Play Zork!\r\n"
#sleep 12 #sleep 12
#echo "^]" #echo "^]"
#echo "quit" #echo "quit"

Wyświetl plik

@ -1,16 +1,16 @@
# digipi TNC direwolf configuration file # digipi TNC direwolf configuration file
# this file is used as a template by direwolf.tnc.sh # this file is used as a template by direwolf.tnc.sh
MYCALL KM6LYW-2 MYCALL KX6XXX-2
# disable internet if crosstalk is an issue # disable internet if crosstalk is an issue
# this is an issue with ISS/satellite stuff, we don't get credit for repeat # this is an issue with ISS/satellite stuff, we don't get credit for repeat
IGSERVER noam.aprs2.net IGSERVER noam.aprs2.net
IGLOGIN KM6LYW-2 22452 IGLOGIN KX6XXX-2 12345
# put us on aprs.fi map via internet # put us on aprs.fi map via internet
# change sendto=IG to sendto=RF to send beacons over RF # change sendto=IG to sendto=RF to send beacons over RF
PBEACON sendto=IG compress=1 delay=00:10 every=30:00 symbol="igate" overlay=R lat=38.9119N long=120.9356W comment=" DigiPi http://craiger.org/digipi/" PBEACON sendto=IG compress=1 delay=00:10 every=30:00 symbol="igate" overlay=R lat=40.9999N long=140.9999W comment=" DigiPi http://craiger.org/digipi/"
# APRS Tracker # APRS Tracker
# Comment out above PBEACON line, uncomment both lines below # Comment out above PBEACON line, uncomment both lines below

Wyświetl plik

@ -30,7 +30,7 @@ echo "ALSA_CARD $ALSA_CARD"
direwolf -d t -p -q d -t 0 -c /run/direwolf.tnc.conf | tee /home/pi/direwolf.log & direwolf -d t -p -q d -t 0 -c /run/direwolf.tnc.conf | tee /home/pi/direwolf.log &
/home/pi/direwatch.py -o --log "/run/direwolf.log" --title_text "DigiPi TNC" & /home/pi/direwatch.py --log "/run/direwolf.log" --title_text "DigiPi TNC" &
# wait for direwolf to open port 8001 # wait for direwolf to open port 8001
sleep 5 sleep 5

Wyświetl plik

@ -1,22 +1,22 @@
# DigiPi Direwolf configuration template file # DigiPi Direwolf configuration template file
# 300baud TNC, with tones on 1600 and 1800, for use on HF frequencies # 300baud TNC, with tones on 1600 and 1800, for use on HF frequencies
MYCALL KM6LYW-2 MYCALL KX6XXX-2
IGSERVER noam.aprs2.net IGSERVER noam.aprs2.net
IGLOGIN KM6LYW-2 22452 IGLOGIN KX6XXX-2 12345
## Radio->Radio Only traffic from me or any 3rd party header. ## Radio->Radio Only traffic from me or any 3rd party header.
## Can't filter on third party packet content :( ## Can't filter on third party packet content :(
#FILTER 0 0 b/KM6LYW* | t/h #FILTER 0 0 b/KX6XXX* | t/h
## IG->Radio Only traffic to me or wx packet from my weather station ## IG->Radio Only traffic to me or wx packet from my weather station
#FILTER IG 0 g/KM6LYW* | ( t/w & b/KM6LYW-3 ) #FILTER IG 0 g/KX6XXX* | ( t/w & b/KX6XXX-3 )
## Radio->IG Only traffic from me ## Radio->IG Only traffic from me
#FILTER 0 IG b/KM6LYW* #FILTER 0 IG b/KX6XXX*
## Tell server to only send me packets either to me or from me ## Tell server to only send me packets either to me or from me
#IGFILTER g/KM6LYW* b/KM6LYW* #IGFILTER g/KX6XXX* b/KX6XXX*
DCD GPIO 16 DCD GPIO 16
@ -25,7 +25,7 @@ MODEM 300 1600:1800
#startup script will uncomment one of these, and copy to /run/direwolf*conf, add PTT line below these to override #startup script will uncomment one of these, and copy to /run/direwolf*conf, add PTT line below these to override
#PTT GPIO 12 #PTT GPIO 12
#PTT RIG 3085 /dev/ttyUSB0 #PTT RIG 3085 /dev/ttyACM0
DWAIT 0 DWAIT 0
TXDELAY 30 TXDELAY 30

Wyświetl plik

@ -29,8 +29,7 @@ sudo mv /tmp/direwolf.tnc300b.conf /run/direwolf.tnc300b.conf
# set default alsa audio device # set default alsa audio device
echo "ALSA_CARD $ALSA_CARD" echo "ALSA_CARD $ALSA_CARD"
# enable FX.25 FEC (-X 1) on hf tnc direwolf -d t -p -q d -t 0 -c /run/direwolf.tnc300b.conf | tee /home/pi/direwolf.log &
direwolf -X 1 -d t -p -q d -t 0 -c /run/direwolf.tnc300b.conf | tee /home/pi/direwolf.log &
/home/pi/direwatch.py --log "/run/direwolf.log" --title_text "TNC 300b" & /home/pi/direwatch.py --log "/run/direwolf.log" --title_text "TNC 300b" &

Wyświetl plik

@ -1,11 +1,11 @@
# DigiPi Winlink direwolf configuration file template # DigiPi Winlink direwolf configuration file template
MYCALL KM6LYW-10 MYCALL KX6XXX-10
CBEACON dest=BEACON delay=00:30 every=30:00 symbol="winlink" info="KM6LYW-10 Winlink LinuxRMS Gateway, http://craiger.org/digipi" CBEACON dest=BEACON delay=00:30 every=30:00 symbol="winlink" info="KX6XXX-10 Winlink LinuxRMS Gateway, http://craiger.org/digipi"
# Tell server to only send me packets either to me or from me # Tell server to only send me packets either to me or from me
IGFILTER g/KM6LYW* b/KM6LYW* IGFILTER g/KX6XXX* b/KX6XXX*
DCD GPIO 16 DCD GPIO 16

Wyświetl plik

@ -2,13 +2,13 @@
# Fill out these accordingly, using the examples below # Fill out these accordingly, using the examples below
NEWCALL=KM6LYW NEWCALL=KX6XXX
NEWWLPASS=XXXXXX NEWWLPASS=XXXXXX
NEWAPRSPASS=22452 NEWAPRSPASS=12345
NEWGRID=CM98mv NEWGRID=CN99mv
NEWLAT=38.9119N NEWLAT=40.9999N
NEWLON=120.9356W NEWLON=140.9999W
NEWNODEPASS=test11 NEWNODEPASS=abc123
NEWRIGNUMBER=3085 NEWRIGNUMBER=3085
NEWDEVICEFILE=ttyACM0 NEWDEVICEFILE=ttyACM0
NEWBAUDRATE=115200 NEWBAUDRATE=115200

Wyświetl plik

@ -3,10 +3,10 @@
echo "Writing runtime app configs to SD card." echo "Writing runtime app configs to SD card."
sudo remount sudo remount
cd ~ cd ~
rsync -avH --delete /home/pi/.local/ /home/pi/local cp -a /home/pi/.local/* /home/pi/local
rsync -avH --delete /home/pi/.config/ /home/pi/config cp -a /home/pi/.config/* /home/pi/config
rsync -avH --delete /home/pi/.fldigi/ /home/pi/fldigi cp -a /home/pi/.fldigi/* /home/pi/fldigi
rsync -avH --delete /home/pi/.flrig/ /home/pi/flrig cp -a /home/pi/.flrig/* /home/pi/flrig
echo "Reboot to make filesystem read-only again." echo "Reboot to make filesystem read-only again."