Skip to content

Instantly share code, notes, and snippets.

@jj1bdx
Last active February 24, 2024 19:41
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jj1bdx/3a249e79d0a0d640e223139d3e00b06a to your computer and use it in GitHub Desktop.
Save jj1bdx/3a249e79d0a0d640e223139d3e00b06a to your computer and use it in GitHub Desktop.
Direwolf 1.6G configuration and settings for Raspberry Pi 3B and SCU-17
ACHANNELS 1
# SCU-17 PCM CODEM device: check with `aplay -l`
ADEVICE plughw:1,0
# This serial device name is for SCU-17. Use `if01-port0` for the PTT control of the data port with RTS.
PTT /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_devicename-if01-port0 RTS
CHANNEL 0
MYCALL yourcall-SSID
# put your access code for APRS-IS
IGLOGIN yourcall-SSID authcode
IGSERVER region.aprs2.net
IGTXVIA 0
IGFILTER " b/yourcall* u/yourcall* r/yourlatitude/yourlongitude/30"
MODEM 1200
FX25TX 1
AGWPORT 8000
KISSPORT 8001
# RF digipeating filter (block all packets already digipeated)
# for fill-n digipeating
FILTER 0 0 ( ! d/* ) & ( ! b/annoying-station* )
# RF -> internet filter
FILTER 0 IG b/yourcall* | u/yourcall* | r/yourlatitude/yourlongitude/30 | i/30
# Internet -> RF filter
FILTER IG 0 b/yourcall* | u/yourcall* | i/30
# COMMENTED OUT: for testing purpose only
# CBEACON DELAY=0:30 EVERY=1:00 VIA=WIDE1-1,WIDE2-1 info="!yourlatitudeNIyourlongitudeE#PHGyourvalue144.yourfreqMHz iGate AFSK 1200bps testing/A=youraltitude"
# Radio beacon every 10 minutes
CBEACON DELAY=0:30 EVERY=10:00 info="!yourlatitudeNIyourlongitudeE#PHGyourvalue144.yourfreqMHz iGate AFSK 1200bps/A=youraltitude"
# APRS-IS beacon every 30 minutes
CBEACON SENDTO=IG DELAY=0:30 EVERY=30:00 info="!yourlatitudeNIyourlongitudeE#PHGyourvalue144.yourfreqMHz iGate AFSK 1200bps/A=youraltitude"
# COMMENTED OUT: for wide-area digipeating only
#DIGIPEAT 0 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
# fill-n digipeating
DIGIPEAT 0 0 ^WIDE1-1$|^TEST$ ^WIDE1-1$ TRACE
IGTXLIMIT 6 10
pi@radio-raspi:~$ direwolf -a 30 -t 0
Dire Wolf DEVELOPMENT version 1.6 G (Jun 19 2020)
Includes optional support for: hamlib cm108-ptt
Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:1,0 (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
#!/bin/sh
cd ~/src/direwolf
/bin/rm -rf ./build
mkdir build && cd build
cmake -DUNITTEST=1 ..
make -j4
make test
sudo make install
#!/bin/sh
# Having a gpsd may cause SIGSEGV when terminating direwolf, so remove them before building
sudo apt remove gpsd
sudo apt remove libgps-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment