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

Both sides previous revisionPrevious revision
Next revision
Previous revision
rtl_sdr_aprs_igate [2023/02/21 21:47] 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 =====
  
-vim /lib/systemd/system/direwolf.service+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> <code>
Line 25: Line 32:
  
 [Service] [Service]
-#User=direwolf 
 SupplementaryGroups=dialout audio 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 -' ExecStart=/bin/sh -c '/usr/bin/rtl_fm -f 144.8M - | /usr/bin/direwolf -c direwolf.conf -t 0 -r 24000 -D 1 -'
Line 34: Line 40:
 [Install] [Install]
 WantedBy=multi-user.target WantedBy=multi-user.target
 +</code>
 +
 +Reload systemd, enable and start Dire Wolf
 +<code>
 +systemctl daemon-reload
 +systemctl enable direwolf 
 +systemctl start direwolf 
 </code> </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 -
  
-journalctl -f -u direwolf+View Dire Wolfs stdout: 
 +  journalctl -f -u direwolf 
 +   
 +{{tag>[rtl-sdr]}}
rtl_sdr_aprs_igate.1677016054.txt.gz · Last modified: 2023/02/21 21:47 by 2e0sip