Keyboard Shortcuts
Likes
- Direwolf
- Messages
Search
RPi cron not working for me
I'll preface this by saying that I am not a Linux expert but I can usually get by OK. I have DW installed and running fine on my Rpi 4/Bookworm (CLI only - I'm using SSH to access the Pi). "Running fine" meaning that I can start DW from the command line thusly: /home/abc/dw-start.sh >/dev/null 2>&1??? After 15 seconds or so, DW is up and running in Screen.? But I just cannot get it to run from cron.? Right now I'm using "sudo crontab" but I've tried it without sudo as well.
Contents of crontab -l: 1,15,30,45 * * * * /home/xxx/dw-start.sh >/dev/null 2>&1 Permissions: -rwxr-xr-x? 1 abc? abc ? 5894 Feb 29 15:51 dw-start.sh What could I be missing? |
Re: How does one change fonts in the XASTIR maps?
On Fri, Mar 1, 2024 at 9:50?AM David Ranch <direwolf-groupsio@...> wrote:
Agree that this is not the correct forum to discuss Xastir specifically. That said, there is an option labeled "text on black" or something of that nature that IMO is much easier to read. 73, Lee K5DAT |
Re: How does one change fonts in the XASTIR maps?
¿ªÔÆÌåÓýI agree with Rob here as this Direwolf forum is not the place to get help with Xastir.? That said, I'm also on the Xastir email list and this has been discussed there many times.? I recommend to search the archives and try some of the previous solutions other people implemented.? If none of those work for you, then it would be time to create a new post about your issue, what you've tried, and what you need specific help with.? Good luck! --David KI6ZHD On 03/01/2024 07:04 AM, Rob Giuliano
via groups.io wrote:
Although there are probably many Direwolf users that also use Xastir, ... |
Re: MFJ-1270 and AX2.0 repeats the data
David, Thanks for the input. I have been busy with a few other things and just got back to this issue. The results were the same when I tried AGW. I was watching BPQ in a window and saw that BPQ shutdown almost immediately when ¡°stats¡± or other large block of data was requested. The following is the port definition for the Direwolf and soundcard AGW port: ;----- AWG Radio Port Definition ----- ?PORTNUM=2 ?ID=AGWPE Port 1 Soundcard Left ?TYPE=EXTERNAL ?IOADDR=1F40 ??CHANNEL=A ?QUALITY=192 ?PACLEN=128 ?TXDELAY=400 ??FRACK=7000 ??RESPTIME=1500 ??MAXFRAME=4 ??RETRIES=6 ?SLOTTIME=100 ?TXTAIL=30 ?PERSIST=63 ENDPORT
To recap the issue: A client MFJ-1270B with early firmware and default settings crashes BPQ when large blocks of data are transmitted from the BBS. The offending command is "AX25L2V2 OFF" which sets the TNC to level 2 AX.25. I¡¯m not looking for a solution to run level 2, I¡¯m looking for a solution to preventing BPQ from crashing if someone else does this.
Dave WB9TEN |
Setting up for HF
Greetings.? Sorry if this question seems very basic to most, but I'm kind of lost here.
Running a Yaesu FT710, Windows 11.? All work fine thus far on my different software.? I do a lot with VARA (free version).? I tried to set up UZ7HO Soundmodem and I don't have something right on the settings I'm afraid as I only get a very short transmission.? So, since I have very good luck with Direwolf on UHF/VHF figured I'd give it a try on my HF side.? But, my issue is that it has been so long since I set it up on my other computer I really don't recall all the steps to make things work.? I am comparing settings on my UHF/VHF Direwolf file and working on the HF version, but I am now to the point of PTT and the Direwolf Radio Interface .pdf guide says use Hamlib.? Downloaded that (I think), and I now have come to the conclusion that I'm lost.? No idea where to go from here. Helpful hints anyone??? |
Re: How does one change fonts in the XASTIR maps?
¿ªÔÆÌåÓýI don't know if this is the right fix Dennis, but I was finding the Mapnik tiles in Xastir were quite jagged, along with the font. I read that the fix was to press the F4 key, something about realigning the Mapnik scales. Sorry I have no further detail as to the reason etc, but it certainly worked on a Debian Bookworm laptop. Cheers Bob VK2YQA On 1/3/24 17:14, Dennis Blanchard via
groups.io wrote:
I'm running a Raspberry Pi 3, with Direwolf and Xastir. The fonts in the Xastir are just about unreadable on a seven inch screen. Is there a reasonable way to change the fonts to some very plain? The defaults have a shadow on them that totally blur things. |
How does one change fonts in the XASTIR maps?
I'm running a Raspberry Pi 3, with Direwolf and Xastir. The fonts in the Xastir are just about unreadable on a seven inch screen. Is there a reasonable way to change the fonts to some very plain? The defaults have a shadow on them that totally blur things.
Dennis, K1YPP |
Re: Multiple Sound cards on Raspberry Pi 1200 / 9600.
Rather than speculating, let's do some proper troubleshooting.
Add this to the direwolf command line so we can observe the communication with the client applications and the PTT control. -d no 73, John WB2OSZ P.S.???? Doing this is not recommended: PTT CM108 3 /dev/hidraw0 The hidraw number can change especially if you add a keyboard or mouse. Use this simpler form: PTT CM108 gpio 3 is the default when not specified.? Direwolf will automatically determine the corresponding hidraw device for the soundcard reference. |
Re: Multiple Sound cards on Raspberry Pi 1200 / 9600.
I am curious if the main channel PTT is going active or "no" PTT is going active?
I had issues with my Fe-Pi sound card (using the Nexus DR-X board with separate PTT LEDs) and applications transmitting on both channels. ? ?I did both separate channels ((Nexus method with 2 ADEVICES and CHANNEL 0 and 2) and combined (1 ADEVICE and CHANNEL 0 and 1).? To troubleshoot this, I ran 2 separate applications connected to?Direwolf using 2 separate radios over 2 TCP/IP KISS (or 2 AGW). Each separate application properly caused the correct "channel" to TX. Then I tried a single application running 2 "streams" to indicate which radio did not work.? Some applications always TX'ed on CHANNEL 0, others didn't active either for the second audio channel.? BUT, I would argue it was the application, not Direwolf that was the problem - or at least the communication between them. Running separate applications was my solution. ------- Robert Giuliano KB8RCO |
Re: Multiple Sound cards on Raspberry Pi 1200 / 9600.
Hi Heber,
If you already haven't, try running a separate instance of Direwolf for each soundcard.? From what I've seen, the same CPU % is used either way, whether it's a single instance running two channels, or two instances running one channel.? For two separate instances of Direwolf, the BPQ radio ports would both be set to Channel A. |
Re: Multiple Sound cards on Raspberry Pi 1200 / 9600.
David?
Still PTT is not working for channel 2, I changed my config of the UHF to 1200 while debugging the PTT problem to rule out any 9600 settings. Changed the Sound card to DRA-30 same result,? channel 2 (hidraw1) can receive and decodes it, but it wouldn't transmit.? I also have tested using a GPIO pin 25 from the Pi without success. Regarding the call sign this is provided by BPQ32 that's why there are not in direwolf. Thanks Heber |
Re: Direwolf Loses SDR
I have found that the weight of the SDR on the Pi port can cause the dongle to "sag" and cause connection problems.?
If you connect the RTL dongle to a short USB cord (a couple of inches like the ones many older sound cards included), there is any where near the connection issues. ------- Robert Giuliano KB8RCO |
Re: Viewing Direwolf Output
Thanks everybody for your suggestions and comments. I rummaged through
toggle quoted message
Show quoted text
the junkbox and found a Signalink and managed to get that cobbled up and working, sort of. Didn't have quite the problems with RF(?) as the CM108 dongle, but it would still shut off the AGWPE port after a few transmissions. I did have some issues with the AGWPE port "shutting off due to lack of activity". Don't know what was up with that. If I went into the YAAC configuration to the edit port page, click SAVE and close, it came right back up. It did work for receive, but was only decoding about 50% of the received packets. Don't know what was up with that. Turns out that even with a 5/8 wave antenna in the window, I was unable to receive anything from any area digipeaters, only decoded a few stations that were in our immediate vicinity. Next time, I probably should try to configure my truck for a digipeater for these kinds of things. All in all, the presentation went well tonight. Lots of people were impressed with APRS and some are planning on setting up their own stations. This whole package is going into a bag and a box and back to the shelf until I get bored or ambitious enough and get some incentive to pull it out and fool with it again. Of course the problem is, by then I will have forgotten everything discussed here. I'll pull all of these messages together into a file and put them in my APRS folder and hopefully find them and continue another day. Thanks again everybody. 73, Michael WA7SKG David Ranch wrote on 2/27/24 9:14 PM:
|
Re: Direwolf Loses SDR
BTW, the base problem is the Nooelec SMArt-V5 SDR. The unit has a poor USB-A male connector. If you wiggle it when connected, it's intermittent. I have three of them and they all have the same problem. Other USB-A devices (with better male connectors) don't do this. I've ordered some replacement connectors that should arrive tomorrow. We'll see whether or not I destroyed one of the SDRs removing the bad connector! In any case, I want to implement some of David's suggestions as the intermittent behavior is unacceptable. Be careful with your Nooelec SDRs!
|
Re: Direwolf Loses SDR
Good tips, David. Thanks. ? ?...doug ? On Tue, Feb 27, 2024 at 9:22?PM David Ranch <direwolf-groupsio@...> wrote:
|
Re: Direwolf Loses SDR
¿ªÔÆÌåÓýHello Doug, Linux's USB stack generally doesn't work that way.? If an active device is removed from a running program, a Unix pipe, etc, bad things usually happens and the application will crash.? This definitely happens to Direwolf when the rtl_fm process dies because the USB device was removed.? If you want to make Direwolf more resilient to USB failures, consider starting Direwolf through some automation: ?? - Wrap the start of rtl_fm and direwolf pipe in a shell script that loops forever trying to start a new direwolf process if the last one exited ?? - Follow the Direwolf User Guide recommends to use a mixture of the start-dw.sh script and cron ?? - Start direwolf via systemd with the systemd unit file tracks the presence of the SDR USB device --David KI6ZHD On 02/27/2024 11:44 AM, Doug Kaye
(K6DRK) wrote:
I'm running direwolf 1.7 on a Pi Zero 2 W with a Nooelec SDR. Everything is fine until I disconnect the SDR and reconnect it. direwolf seems to give up and never tries to reconnect to the receiver. Is there a way to get direwolf to automatically reconnect to the audio source? Or a way to detect that it has stopped processing that input? It's interesting that I don't get "End of file" from stdin, which is what happens if there's no receiver at startup. |
Re: Viewing Direwolf Output
¿ªÔÆÌåÓýHello Michael, For now, just run direwolf from the command line and see if it will start up.? If it fails, copy/paste the startup and error output to this email thread. --David KI6ZHD On 02/27/2024 03:00 PM, Michael WA7SKG
wrote:
Well, now I'm even more confused than ever. Not a surprise with me these |