Dirus is a daemon for managing an SDR to Direwolf gateway, the purpose of which is to allow an SDR (e.g. RTL-SDR, HackRF, etc.) to present as a KISS device to other software (e.g. APRS Decoders).
This can be accomplished with Direwolf alone, but Dirus provides an easy way to configure, manage and daemonize this process.
Dirus' requirements are relatively minimal. You'll need at least one FM decoder tool, and Dire Wolf.
Either one of:
- @rxseger's rx_tools https://github.com/rxseger/rx_tools
Good for non-RTL-SDR devices, such as HackRF (tested with Dirus).
- @steve-m's librtlsdr http://sdr.osmocom.org/trac/wiki/rtl-sdr
Good for RTL-SDR devices.
Plus:
- @wb2osz's Dire Wolf https://github.com/wb2osz/direwolf
That's it! Install one FM Decoder, Dire Wolf, and Dirus and you're off to the races!
Your best bet is to use dirus with supervisor, or another daemon management tool:
# /etc/supervisor.d/dirus.conf [program:dirus] command=dirus -c /etc/dirus.json process_name=%(program_name)s numprocs=1 numprocs_start=0 priority=999 autostart=true autorestart=true startsecs=1 startretries=3 exitcodes=0,2 stopsignal=TERM stopwaitsecs=10 redirect_stderr=false stdout_logfile=AUTO stdout_logfile_maxbytes=50MB stdout_logfile_backups=10 stdout_capture_maxbytes=0 stdout_events_enabled=false stderr_logfile=AUTO stderr_logfile_maxbytes=50MB stderr_logfile_backups=10 stderr_capture_maxbytes=0 stderr_events_enabled=false serverurl=AUTO
Github: https://github.com/ampledata/dirus
Greg Albrecht W2GMD <[email protected]>
Copyright 2016 Orion Labs, Inc.
Apache License, Version 2.0