Direwolf

Raspberry Pi (All Versions)

 

Updating & Installing Prerequisites

Before Direwolf is downloaded and compiled, we should first update our package database.
From terminal, run the following command.

sudo apt-get update

Now we need to install a library file for the ALSA sound software.

sudo apt-get install libasound2-dev cmake libudev-dev

Downloading, Compiling, & Installing

On to downloading, compiling, and installing the Direwolf Dev branch.
Remembering that each line is a new command.
From terminal, run the following commands.

cd ~
git clone https://www.github.com/wb2osz/direwolf
cd direwolf
git checkout dev
make
sudo make install
make install-conf

#Alternative install method if above does not work

cd ~
git clone https://www.github.com/wb2osz/direwolf
cd direwolf
git checkout dev
mkdir build && cd build
cmake ..
make -j4
sudo make install
make install-conf

Finding Our Sound Card Path

Before we continue, we need to figure out the path to your sound card.
Run this command.

aplay -l

It should come back with something similar to the text below.

card 1: Device [Example USB Audio Device], device 0: USB Audio [USB Audio]

So your sound card path in the Direwolf config file would be.

ADEVICEĀ  plughw:1,0

Direwolf Configuration Settings

In the box below is a generic configuration for Direwolf.
This contains information on the most common settings.
The file can be found in the main directory of the users folder.
Normally this will be found in /home/pi/direwolf.conf
For ease, I would recommend copying and pasting this config to your direwolf.conf file.

#Device Audio Settings
ADEVICE  plughw:1,0
ACHANNELS 1
CHANNEL 0

#Your Station Call
MYCALL N0CALL

#Packet Speed 1200 Baud
MODEM 1200

#PTT Method, GPIO, USB RTS and or DTR
#(LED Can Be Used Simultaneously With GPIO)
#PTT /dev/ttyUSB0 RTS DTR
PTT GPIO 17

#Decoding LED
DCD GPIO 27

#TNC Client Connections
AGWPORT 8000
KISSPORT 8001

#Duplicate Station Filtering In Seconds
DEDUPE 60

#Position & Comment Beacon
PBEACON delay=5 every=30 symbol="digi" lat=46^10.24N long=123^34.25W comment="Fill-in Digi/IGate"

#Status Beacon
CBEACON delay=0 every=30 info=">Portable Digi/IGate"

#Digipeat Standard WIDEn-N & State WAn-N (WA = Washington)
#DIGIPEAT 0 0 ^WIDE[3-7]-[1-7]$ ^WIDE[12]-[12]$|^WA[12]-[12]$ TRACE

#Only Direct Stations Digipeated
#FILTER 0 0 ( ! d/* )

#Bidirectional IGate Settings
#Internet > RF only allows messaging within 50KM of your location
#Passcode Generator for IGLOGIN / http://apps.magicbug.co.uk/passcode
IGSERVER noam.aprs2.net
IGLOGIN N0CALL 0000
IGFILTER m/50
FILTER IG 0 t/m
IGTXLIMIT 5 15
IGTXVIA 0 WIDE1-1,WIDE2-1

#Preamble, Tail, & Wait Times
TXDELAY 25
#TXTAIL 10
#DWAIT 20