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
Last revisionBoth sides next revision
rtl_sdr_aprs_igate [2023/02/20 23:27] – created 2e0siprtl_sdr_aprs_igate [2023/02/22 21:16] 2e0sip
Line 9: Line 9:
 ===== 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