<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
As a guess I'd say that it's failing at the pipe into direwolf. Cron is not the best way to auto start programs. Now I vaguely recall some chatter on this a week or so ago and iirc there is a script included in direwolf source code for starting it as a systemd
 service (this way any permissions and users are better handled)<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
However my memory is not as reliable as it once was!<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="ms-outlook-android-cursor"></span></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> OZAPRS <ozaprs-bounces@aprs.net.au> on behalf of Norm McMillan <vk3xci@gmail.com><br>
<b>Sent:</b> Tuesday, July 14, 2020 1:27:21 PM<br>
<b>To:</b> Australian APRS Users <ozaprs@aprs.net.au><br>
<b>Subject:</b> [OZAPRS] Direwolf on RPi</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
Good afternoon and welcome to my nightmare </p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
Running the latest Raspberry Pi OS Lite 32 bit –previously <span> </span>known as Raspbian Buster - on a Pi 3B+. Trying to auto-start direwolf at reboot. Wrote a cron job in nano using
<span style="font-size:10pt; font-family:Consolas; background:silver none repeat scroll 0% 0%">
crontab –e</span><span style="font-size:10pt; font-family:Consolas"><span></span></span></p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
<span style="font-size:10pt; font-family:Consolas"><span> </span></span></p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
<span style="font-size:10pt; font-family:Consolas; background:silver none repeat scroll 0% 0%">@reboot /usr/bin/rtl_fm –f 145.175M - | direwolf –c sdr.conf –r 24000 –D –</span><span style="font-size:10pt; font-family:Consolas"><span></span></span></p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
<span style="font-size:10pt; font-family:Consolas"><span> </span></span></p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
The file saved without error and assured me that the new crontab had been installed. Now at reboot, quick as a flash, nothing happens. No error message. Nada. Almost as if the cron job isn’t being run... or read... or something. I know the command line works,
 that’s how I’m starting it at the moment.</p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
So what have I done wrong, or not done right? 🤔<br>
</p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
<br>
</p>
<p class="x_MsoNormal" style="margin:5pt 0cm 0.0001pt; font-size:12pt; font-family:"Times New Roman","serif"">
norm vk3xci<br>
</p>
</div>
</div>
</body>
</html>