¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

#ARDOP error Build a Pi #ardop

 

I have a Pi5 that I am using to for the Build a Pi.?
I receive the following when following the ARDOP install in the Pi 4 build notes:
wz4ctx@mobilepi:~ $ cd ~/ardop
wz4ctx@mobilepi:~/ardop $ ./piardopc 8515 plughw:2,0 plughw:2,0
bash: ./piardopc: cannot execute: required file not found

What file is it missing?
Up to this point,? I have everything in the notes working, I have a Digirig hooked to the Pi, but no radio hooked up at this point.

Thx,
Mike
WZ4CTX
73


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

I am assuming. line 8 of manage-pat-functions file in the patmenu2 folder as the environment variable is null?

opened a issue for tracking as well?

k


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

Kelly,

Thanks for the input. I rummaged around the pat files and couldn't see which file to make the change. Honestly, I know enough about this to just be dangerous, and I feel like I am very close.

So which file will I find the PATCONFIG= variable in to change.

Thanks in advance
?
-- Mike WB8ERJ

Geeze! What is he up to now?



On Wed, Feb 21, 2024 at 10:39?AM Kelly K7MHI via <kellykeeton=[email protected]> wrote:
patmenu2 will not work until its re-factored for bookworm.
specifically?PATCONFIG=$XDG_CONFIG_HOME/pat/config.json
is invalid giving you: Could not open file /pat/config.json: No such file or directory

you could edit the ?something like PATCONFIG=~/.config/pat/config.json

otherwise you will need to manually edit PAT or another method.?

k


Re: Conky + BPQ

 

Remember, if you are unsure of the case, ignore it with -i


ps ax | grep -i bpq

Michael WA7SKG



Steve Johnson wrote on 2/21/24 12:39 PM:

I¡¯m not sure whereis will help, but if you are sure BPQ (an app I¡¯m not
familiar with) is running you can run:

ps | grep BPQ

(check case, may need bpq)

and confirm the exact full process name. Use that exact name in the
conky if_running command. If the ps command doesn¡¯t find any such
process running then conky¡¯s if_running won¡¯t either.
--
---
Steve Johnson
K0OIL


Re: Conky + BPQ

 

I¡¯m not sure whereis will help, but if you are sure BPQ (an app I¡¯m not familiar with) is running you can run:

ps | grep BPQ?

(check case, may need bpq)

and confirm the exact full process name. Use that exact name in the conky if_running command. If the ps command doesn¡¯t find any such process running then conky¡¯s if_running won¡¯t either.?
--
---
Steve Johnson
K0OIL


Re: Kenwood TH-D74 bluetooth connection to Pi

 

I went back and disconnected the two bluetooth devices (the radio and a keyboard). ?I also removed the radio from bluetooth. ?(reminder running Raspberry Pi 4, 64 bit Bookworm)

To pair radio, I used the terminal and Bluetoothctl command. ?(scan on, saw the TH-D74, copied MAC address and paired to it, then used the TRUST command for the MAC address). ?Note, in Bluetoothctl, it said it was paired but then moment later said it was not connected, but this did not impact the Trust command and no error messages. ?Exit Bluetoothctl. ?Using "sudo rfcomm connect 0 'Mac Address' 1" ?I was able to make the com port. ?Under the Bluetooth icon in the menu bar, the TH-D74 now shows green and is connected.

I can know close the connection, but go back to it by just issuing the rfcomm connect command again. ?TH0-D74 is set to auto connect. ?But.....

I don't seem to be able to get any data transfer between the radio and the computer. ?Radio interface is set to Bluetooth for KISS TNC, radio is in the KISS 12 mode, and packet are being heard by the radio. ?But, when connected to YAAC vial rfcomm0, no data transfer either to or from the radio/computer. ?I did notice that the bluetooth icon on the radio is not blue but gray, indicating bluetooth is not active, perhaps. ?The radio is connected to the computer because if I turn the radio off, the computer "hangs up" the connection. ?I seem to be missing a step. ?Any ideas?


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

patmenu2 will not work until its re-factored for bookworm.
specifically?PATCONFIG=$XDG_CONFIG_HOME/pat/config.json
is invalid giving you: Could not open file /pat/config.json: No such file or directory

you could edit the ?something like PATCONFIG=~/.config/pat/config.json

otherwise you will need to manually edit PAT or another method.?

k


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

First of all, I want to thank Kelly for sticking with me on this. Jason, thanks for jumping in here.

As you suggested Jason, I ran pat env and it returned the following:

$ pat env
PAT_MYCALL="WB8ERJ"
PAT_LOCATOR="EN80sq"
PAT_VERSION="0.15.1"
PAT_ARCH="arm64"
PAT_OS="linux"
PAT_MAILBOX_PATH="/home/pi/.local/share/pat/mailbox"
PAT_CONFIG_PATH="/home/pi/.config/pat/config.json"
PAT_LOG_PATH="/home/pi/.local/state/pat/pat.log"
PAT_EVENTLOG_PATH="/home/pi/.local/state/pat/eventlog.json"
PAT_FORMS_PATH="/home/pi/.local/share/pat/Standard_Forms"
PAT_DEBUG=""
PAT_WEB_DEV_ADDR=""
ARDOP_DEBUG=""
PACTOR_DEBUG=""
AGWPE_DEBUG=""
VARA_DEBUG=""
GZIP_EXPERIMENT="1"
ARDOP_FSKONLY_EXPERIMENT=""

================

Here are the contents of /home/pi/.config/pat/config.json

{
? "mycall": "WB8ERJ",
? "secure_login_password": "*",
? "auxiliary_addresses": [],
? "locator": "EN80sq",
? "service_codes": [
? ? "PUBLIC"
? ],
? "http_addr": "localhost:8080",
? "motd": [
? ? "Open source Winlink client - "
? ],
? "connect_aliases": {
? ? "telnet": "telnet://{"
? },
? "listen": [],
? "hamlib_rigs": {},
? "ax25": {
? ? "engine": "linux",
? ? "rig": "",
? ? "beacon": {
? ? ? "every": 3600,
? ? ? "message": "Winlink P2P",
? ? ? "destination": "IDENT"
? ? }
? },
? "ax25_linux": {
? ? "port": "wl2k"
? },
? "agwpe": {
? ? "addr": "localhost:8000",
? ? "radio_port": 0
? },
? "serial-tnc": {
? ? "path": "/dev/ttyUSB0",
? ? "serial_baud": 9600,
? ? "hbaud": 1200,
? ? "type": "Kenwood",
? ? "rig": ""
? },
? "ardop": {
? ? "addr": "localhost:8515",
? ? "arq_bandwidth": {
? ? ? "Forced": false,
? ? ? "Max": 500
? ? },
? ? "rig": "",
? ? "ptt_ctrl": false,
? ? "beacon_interval": 0,
? ? "cwid_enabled": true
? },
? "pactor": {
? ? "path": "/dev/ttyUSB0",
? ? "baudrate": 57600,
? ? "rig": "",
? ? "custom_init_script": ""
? },
? "telnet": {
? ? "listen_addr": ":8774",
? ? "password": ""
? },
? "varahf": {
? ? "addr": "localhost:8300",
? ? "bandwidth": 2300,
? ? "rig": "",
? ? "ptt_ctrl": false
? },
? "varafm": {
? ? "addr": "localhost:8300",
? ? "bandwidth": 0,
? ? "rig": "",
? ? "ptt_ctrl": false
? },
? "gpsd": {
? ? "enable_http": false,
? ? "allow_forms": false,
? ? "use_server_time": false,
? ? "addr": "localhost:2947"
? },
? "schedule": {},
? "version_reporting_disabled": false
}

===============

SO it APPEARS that all is well, but I am still getting the same result. That is, when I go into Manage Pat Winlink and try to either set grid by GPS or manually, it appears to have done so but it really hasn't. Evidenced by going into Find Winlink Gateways and do a search, no gateways show up.

Additionally, in the main PAT menu, where the grid is supposed to show up it is blank. - see attached.

One possible clue, during the run of 73.sh? an error was thrown when pat was installed. I was able to capture it:


Reading package lists...
jq: error: Could not open file /pat/config.json: No such file or directory




?
-- Mike WB8ERJ

Geeze! What is he up to now?



On Wed, Feb 21, 2024 at 7:51?AM km4ack <jason.oleham@...> wrote:
Mike,

You can manually set the grid in the Pat Configure file. Run:
pat configure
and you will find where to add it near the top of the file. Just be careful in this file as json is very picky about syntax. One comma out of place will corrupt the file. Backing up first is a good idea. To find where your config file lives, run:
pat env

--
73, de KM4ACK
|
|


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

Mike,

You can manually set the grid in the Pat Configure file. Run:
pat configure
and you will find where to add it near the top of the file. Just be careful in this file as json is very picky about syntax. One comma out of place will corrupt the file. Backing up first is a good idea. To find where your config file lives, run:
pat env

--
73, de KM4ACK
|
|


Re: Random issues I've been coming across this week - multiple boards

 

Man, I've got 5 Pi4s all running Buster like gangbusters! every time I tried new versions of Raspbian (and especially the 64 bit versions) I had problems like you're having. Of course Buster isn't supported anymore but it's working good for me.


On Mon, Feb 19, 2024, 21:55 krisguy via <krisguy=[email protected]> wrote:
I'm trying three different builds to see what type of board PC I want to use in a go box with a Xiegu G90 as my main POTA kit. All other hardware is a Digirig and the same screen.

First board: Le Potato == Installed their build of Raspbian, then 73 Linux. The first time I try to TX on any app, radio locks up with 0W TX
Second PC - Dell Inspiron I had lying around - Ubuntu 22.04 with 73 Linux - Can't install JS8Call and wsjt-x at the same time due to repo conflicts
Third board - RasPi 4B 4GB with 64bit Raspbian and 73 Linux - Fldigi is extremely slowing down the machine.

I don't want to use a laptop as my main POTA machine, so I'm going to work on figuring out what the issue is with the Pi 4 first. I'm not seeing much about Fldigi slowing down on Pi 4, but I'll throw a separate thread out for it.


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

There have been a lot of changes in bookworm including Python I assume you need to install gps and maidenhead for python (pip3 install maidenhead --break-system-packages)?

imo forget ruby all together?

I keep a script to update all the config files here, has some tips for install?



?


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

Well like I said, I am stuck. I can go no further.?

Anybody - anybody??
?
-- Mike WB8ERJ

Geeze! What is he up to now?



On Tue, Feb 20, 2024 at 7:55?PM Kelly K7MHI via <kellykeeton=[email protected]> wrote:

there is a lot of moving parts but ¡­ the gpsd2ham tool I just threw in untested json handler for PAT, I don¡¯t use PAT so didn¡¯t test in a real install feedback welcome.?


as for ruby, it pulls for conky only.

python is used elsewhere?

k


Re: Moving forward with a reinstall

 

If your running bookworm you will have more success with 73?


Moving forward with a reinstall

 

I've been away from BAP for a while and just plugged it back in to find the wireless interface is missing.? Not sure how that happened but I'd like to get it up and running again.? It's an RPi 3b.? I've followed along a bit and it seems BAP is no longer being developed but I get the feeling the 73linux install is for RPi4's and above.

Can anyone set me straight and give me some guidance on what I should be looking at for a Pi 3b running xastir and Pat and not much more.
Thanks


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

there is a lot of moving parts but ¡­ the gpsd2ham tool I just threw in untested json handler for PAT, I don¡¯t use PAT so didn¡¯t test in a real install feedback welcome.?


as for ruby, it pulls for conky only.

python is used elsewhere?

k


Re: Can¡¯t get Xastir to install

 

Try a?sudo apt-get install -y libmotif-dev


Re: Can¡¯t get Xastir to install

 

Larrie

First things first:

open a terminal then run this command? sudo apt-get purge xastir .
this will remove all installation instances and dependencies for xastir
reboot and try to reinstall with 73Linux

good luck

Bill N3VMT


Re: GPS / winlink issue with 73linux & bookworm 64 bit

 

OK I'm stuck. I can't figure out what I am missing.

To recap, cgps works fine, but Pat doesn't save my grid. When I select Manage Winlink and select Get Grid from GPS, it correctly sees the GPS and reports my grid - its grayed out, but its there.

This is what I have done so far:

When the 73linux?script told me that Ruby needed to be installed, I told it to install Ruby. In order for Conky to report my grid I had to install the following:

sudo apt-get install ruby-dev
sudo apt-get install rubygems
?sudo gem install
sudo gem install gpsd_client
sudo gem install maidenhead
sudo gem install json

I'm also wondering if I could just add my grid to some configuration?file so I could move forward with Winlink for now at least.


?
-- Mike WB8ERJ

Geeze! What is he up to now?



On Mon, Feb 12, 2024 at 9:16?PM Mike Thompson via <wb8erj=[email protected]> wrote:
Finally getting back to this GPS issue - progress!!

Kelly, thanks for your input. It's greatly appreciated. I was able to search the BAP forum and I think I found what you are referring to.

First, for some reason, Ruby wasn't installed when I ran the 73linux?script.? No big deal I though, so I just?did a sudo apt-get install ruby and moved on.

For reference, here is what I have found so far. I was able to get the grid square to display in conky by running the following:

sudo apt-get install rubygems
sudo gem install gpsd_client
sudo gem install maidenhead

I also read somewhere someone added this too. So I did as well. Not sure if it's needed though.
git clone

So all of the above gets my conky to display my grid. Now when I try to set my grid square in Pat Menu, it doesn't seem to save it.

When I click on GPS grid update, it shows my grid. When I click on Update Pat, it appears to save but it really doesn't. Same with Manual Grid Update. Also on Pat's main menu grid is normally displayed in the lower left corner but nothing is there.

Thanks in advance for your help!
?
-- Mike WB8ERJ

Geeze! What is he up to now?


Re: Can¡¯t get Xastir to install

 

I re-ran the xastir install and copied the output from the terminal, starting at Checking for Motif headers ?- ?This may be where an error occurs.

checking for Motif headers... configure: error: **** NO MOTIF HEADERS
FOUND **** install Motif ?development headers or use
--with-motif-includes to specify location of Xm/Xm.h make: *** No
targets specified and no makefile found. ?Stop. make: *** No rule to
make target 'install'. ?Stop. make: *** No rule to make target 'clean'.
Stop. Reading package lists... Done Building dependency tree... Done
Reading state information... Done
extra-xdg-menus is already the newest version (1.0-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Updating 73 Linux Shortcuts
Menu modified with rev 20221031
updating fldigi
updating flamp
updating flarq
updating flmsg
updating flnet
updating flwrap
updating flrig
updating VARA shortcuts
Build log - /home/larrie-1/73Linux/cache/logs/
#######################################
# Build complete. A reboot is needed. #
# If you close this window, you will ?#
# need to reboot manually. ???????????#
#######################################


Re: Conky + BPQ

 

¿ªÔÆÌåÓý

I would try 'whereis BPQ¡¯ , no space between where and is.

73
WA2NBL

On Feb 20, 2024, at 1:48?PM, Adam K4SPB <k4spblife@...> wrote:

?I'm trying to find out where conky looks for an apps current status. I want BPQ to show up in conky and display current status just like direwolf and all the other apps. I have already added a line to the conky-large file and it shows BPQ OFF in red just like it would if it weren't running but it is. This is the line:

${alignr}${if_running linbpq}${color green}BPQ ACTIVE${else}${color red}BPQ OFF$endif?

I've also tried if_running bpq and had the same effect

Thanks,
K4SPB