User Tools

Site Tools


rtl_sdr_aprs_igate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rtl_sdr_aprs_igate [2023/02/20 23:27] – created 2e0siprtl_sdr_aprs_igate [2023/02/22 21:24] (current) 2e0sip
Line 1: Line 1:
 ====== Creating an APRS iGate with an RTL-SDR and Dire Wolf ====== ====== Creating an APRS iGate with an RTL-SDR and Dire Wolf ======
 +
 +**This is not finished yet, don't use!**
  
 It's possible to create an APRS iGate using a relatively cheap RTL-SDR "dongle". As is common with SDRs they don't perform quite as well as a real radio, but they're a versatile tool that's worth having in the shack. It's possible to create an APRS iGate using a relatively cheap RTL-SDR "dongle". As is common with SDRs they don't perform quite as well as a real radio, but they're a versatile tool that's worth having in the shack.
Line 9: Line 11:
 ===== Installation ===== ===== Installation =====
  
- +Install the required packages: 
-sudo apt-get install direwolf rtl-sdr+  sudo apt-get install direwolf rtl-sdr 
 +   
 +Create a directory for the logs: 
 +  sudo mkdir /var/log/direwolf 
  
 ===== Configuration ===== ===== Configuration =====
  
-Lorem Ipsum Something+When using Dire Wolf with an rtl-sdr it's necessary to edit the systemd service to ensure rtl_fm runs and redirect Direwolfs output into journald. 
 + 
 +Open /lib/systemd/system/direwolf.service in your favourite text editor and replace it with the following: 
 + 
 +<code> 
 +[Unit] 
 +Description=DireWolf is a software "soundcard" modem/TNC and APRS decoder 
 +Documentation=man:direwolf 
 +AssertPathExists=/etc/direwolf.conf 
 +Wants=network-online.target 
 +After=sound.target syslog.target network-online.target 
 + 
 +[Service] 
 +SupplementaryGroups=dialout audio 
 +ExecStart=/bin/sh -c '/usr/bin/rtl_fm -f 144.8M - | /usr/bin/direwolf -c direwolf.conf -t 0 -r 24000 -D 1 -' 
 +StandardOutput=journal 
 +StandardError=journal 
 +SyslogIdentifier=direwolf 
 + 
 +[Install] 
 +WantedBy=multi-user.target 
 +</code> 
 + 
 +Reload systemd, enable and start Dire Wolf 
 +<code> 
 +systemctl daemon-reload 
 +systemctl enable direwolf  
 +systemctl start direwolf  
 +</code>
  
 ===== Usage ===== ===== Usage =====
  
-rtl_fm -f 144.8M - | direwolf -c direwolf.conf -r 24000 -D 1 -+Starting manually: 
 +  rtl_fm -f 144.8M - | direwolf -c direwolf.conf -r 24000 -D 1 - 
 + 
 +View Dire Wolfs stdout: 
 +  journalctl -f -u direwolf 
 +   
 +{{tag>[rtl-sdr]}}
rtl_sdr_aprs_igate.txt · Last modified: 2023/02/22 21:24 by 2e0sip