Skip to content

Commit 9d2fbdd

Browse files
committed
Minor tweaks to dw-start.sh and documentation.
1 parent 433b283 commit 9d2fbdd

File tree

4 files changed

+26
-7
lines changed

4 files changed

+26
-7
lines changed

Makefile.linux

+2-1
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ install : $(APPS) direwolf.conf tocalls.txt symbols-new.txt symbolsX.txt dw-icon
586586
# the home directory or other desired location.
587587
#
588588
$(INSTALL) -D --mode=644 direwolf.conf $(INSTALLDIR)/share/doc/direwolf/examples/direwolf.conf
589-
$(INSTALL) -D --mode=644 dw-start.sh $(INSTALLDIR)/share/doc/direwolf/examples/dw-start.sh
589+
$(INSTALL) -D --mode=755 dw-start.sh $(INSTALLDIR)/share/doc/direwolf/examples/dw-start.sh
590590
$(INSTALL) -D --mode=644 sdr.conf $(INSTALLDIR)/share/doc/direwolf/examples/sdr.conf
591591
$(INSTALL) -D --mode=644 telemetry-toolkit/telem-m0xer-3.txt $(INSTALLDIR)/share/doc/direwolf/examples/telem-m0xer-3.txt
592592
$(INSTALL) -D --mode=644 telemetry-toolkit/telem-balloon.conf $(INSTALLDIR)/share/doc/direwolf/examples/telem-balloon.conf
@@ -637,6 +637,7 @@ endif
637637

638638
.PHONY: install-rpi
639639
install-rpi : dw-start.sh
640+
chmod +x dw-start.sh
640641
cp dw-start.sh ~
641642
ln -f -s /usr/share/applications/direwolf.desktop ~/Desktop/direwolf.desktop
642643

doc/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ These dive into more detail for specialized topics or typical usage scenarios.
4141

4242
Don’t have your own QIKCOM-2 Satellite Transponder? No Problem. You can do the same thing with an ordinary computer and the APRStt gateway built into Dire Wolf. Here’s how.
4343

44+
- [**Raspberry Pi APRS Tracker**](Raspberry-Pi-APRS-Tracker.pdf) [ [*download*](../../../raw/dev/doc/Raspberry-Pi-APRS-Tracker.pdf) ]
45+
46+
Build a tracking device which transmits position from a GPS receiver.
47+
4448
- [**Raspberry Pi SDR IGate**](Raspberry-Pi-SDR-IGate.pdf) [ [*download*](../../../raw/dev/doc/Raspberry-Pi-SDR-IGate.pdf) ]
4549

4650
It's easy to build a receive-only APRS Internet Gateway (IGate) with only a Raspberry Pi and a software defined radio (RTL-SDR) dongle. Here’s how.

doc/User-Guide.pdf

31.7 KB
Binary file not shown.

dw-start.sh

+20-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
# Run this from crontab periodically to start up
44
# Dire Wolf automatically.
55

6-
# Versioning
6+
# See User Guide for more discussion.
7+
# For release 1.4 it is section 5.7 "Automatic Start Up After Reboot"
8+
# but it could change in the future as more information is added.
9+
10+
11+
# Versioning (this file, not direwolf version)
712
#-----------
13+
# v1.3 - KI6ZHD - added variable support for direwolf binary location
814
# v1.2 - KI6ZHD - support different versions of VNC
915
# v1.1 - KI6ZHD - expanded version to support running on text-only displays with
1016
# auto support; log placement change
@@ -25,18 +31,26 @@
2531

2632
RUNMODE=AUTO
2733

34+
# Location of the direwolf binary. Depends on $PATH as shown.
35+
# change this if you want to use some other specific location.
36+
# e.g. DIREWOLF="/usr/local/bin/direwolf"
37+
38+
DIREWOLF="direwolf"
2839

2940
#Direwolf start up command :: two examples where example one is enabled
3041
#
3142
# 1. For normal operation as TNC, digipeater, IGate, etc.
3243
# Print audio statistics each 100 seconds for troubleshooting.
3344
# Change this command to however you wish to start Direwolf
34-
DWCMD="direwolf -a 100"
45+
46+
DWCMD="$DIREWOLF -a 100"
47+
3548
#---------------------------------------------------------------
3649
#
3750
# 2. Alternative for running with SDR receiver.
3851
# Piping one application into another makes it a little more complicated.
39-
# We need to use bash for the | to be recognized.
52+
# We need to use bash for the | to be recognized.
53+
4054
#DWCMD="bash -c 'rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -'"
4155

4256

@@ -64,11 +78,11 @@ function CLI {
6478
# Screen commands
6579
# -d m :: starts the command in detached mode
6680
# -S :: name the session
67-
$SCREEN -d -m -S direwolf $DWCMD
81+
$SCREEN -d -m -S direwolf $DWCMD >> $LOGFILE
6882
SUCCESS=1
6983

70-
screen -list direwolf
71-
screen -list direwolf >> $LOGFILE
84+
$SCREEN -list direwolf
85+
$SCREEN -list direwolf >> $LOGFILE
7286

7387
echo "-----------------------"
7488
echo "-----------------------" >> $LOGFILE

0 commit comments

Comments
 (0)