Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Direwolf as a Raspberry Pi 3B+ tracker only
Trying to setup a Raspberry Pi 3B+ running Bookworm as a tracker only. I went through the Direwolf install process without setting up a radio, soundcard, and PTT. Added GPSD, was never able to see my device on /ttyAMCO, however I see it on /tty/USB0.? Recompiled after all the GPSD installs. I can run cgps -s and see all the sat info and Lat/Lon, altitude etc. Edited the direwolf.conf, set MYCALL to AK7AN-3, generated a password entered that and selected noam for my server, added GPSD line,and TBEACON EVERY=1 SYMBOL=truck alt=1. Here is a snip of my ssh screen
It looks to me like it is trying to send my info via a radio, which I am not using, and not sending to the APRS server.. What do I need to change to geet it to send my packets to the server instead of trying to send via a radio? Thanks? Ed AK7AN |
I was able to get this solved and it is working just fine from the CLI. I am now trying to get the autostart function running and am hitting a brick wall.
Here is my crontab -e I have verified dw-start.sh at that location in the directory. RUNMODE=CLI Does not autostart on reboot. I can run? direwolf from the CLI and it starts just fine. Any suggestions and help would be greatly appreciated. Thanks Ed AK7AN |
Your crontab entry is trying to run the program every minute. You want
toggle quoted message
Show quoted text
it like this: @reboot /home/ak7an/dw-start.sh >/dev/null 2>&1 Michael WA7SKG nicholstribe@... wrote on 3/17/24 4:12 AM: I was able to get this solved and it is working just fine from the CLI. |
I haven't had any luck with crontab -e, so I built s systemd file direwolf.service.? Here is what it looks like.
I run sudo systemctl start direwolf look at?journalctl -xeu direwolf.service and here is the out put... Looks like I am almost there.. What do I need to change or add to keep it from exiting Thanks for the help in advance... Ed AK7AN |
The fundamental problem here is that Direwolf is a audio-to-packet TNC first and foremost, so it expects to have some sort of audio interface to a radio to receive and send AX.25 packet tones. It is not meant to operate without such an interface. That's why Direwolf keeps exiting when it can't find the audio interface.
If you really want a "tracker" that must not use AX.25 packet over a radio, don't use Direwolf. :-) That is what programs like aprx are for. Andrew, KA2DDO ________________________________________ From: [email protected] <[email protected]> on behalf of nicholstribe@... <nicholstribe@...> Sent: Sunday, March 17, 2024 11:05 AM To: [email protected] Subject: Re: [direwolf] Direwolf as a Raspberry Pi 3B+ tracker only I haven't had any luck with crontab -e, so I built s systemd file direwolf.service. Here is what it looks like. [cid:[email protected]] I run sudo systemctl start direwolf look at journalctl -xeu direwolf.service and here is the out put... Looks like I am almost there.. What do I need to change or add to keep it from exiting [cid:[email protected]] Thanks for the help in advance... Ed AK7AN |
Thanks for the replies.
Lee, thats eactly where I started. Didn't work for me as configured, I changed the "pi" to my home dir and it would give me 340+ lines on the journal file. I kept making little changes until I got to where I am and it looks like it almost starts. Andrew, While I understand your point about what the software is first and foremost, I got the idea right from the direwolf gihub page. doc/Raspberry-Pi-APRS-Tracker.pdf I can run the direwolf command in CLI and it functions as I would like, just would like to be able to auto start it. Look up AK7AN-3 to see the output on APRS.fi Still working on it Thanks Ed AK7AN |
nicholstribe@... <nicholstribe@...> wrote:
On Sun, Mar 17, 2024 at 05:24 AM, Michael WA7SKG wrote:The `1` on the end of the @reboot line got lost. btw, to just print the actual users crontab you can use `crontab -l` Still nothing, no auto start as of yet.-dominic -- Far and away the best prize that life has to offer is the chance to work hard at work worth doing. - Theodore Roosevelt |
nicholstribe@... <nicholstribe@...> wrote:
Any way to add a short line of text to the TBEACON packet string?comment="text" have you seen the user guide? page 79 starts with beaconing and a few pages the TBEACON and smartbeaconing is explained. HTH -dominic -- Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment. - Buddha |
¿ªÔÆÌåÓýThis is my systemd script for direwolf .......[Unit] Description=Direwolf service After=sound.target After=network.target After=syslog.target StartLimitIntervalSec=0 [Service] Type=simple User=vk2tv ExecStart= /usr/local/bin/direwolf -T %H:%M:%S -t 0 -c /home/vk2tv/direwolf.conf Restart = always RestartSec=5 [Install] WantedBy=multi-user.target On 18/3/24 02:05,
nicholstribe@... wrote:
I haven't had any luck with crontab -e, so I built s systemd file direwolf.service.? Here is what it looks like. Ray vk2tv |
to navigate to use esc to dismiss