Keyboard Shortcuts
Likes
Search
Linux73 install over BAP + manual VARA = AX.25 and Direwolf issues
#73linux
#direwolf
#IC-705
I was having trouble getting my new ICOM IC¨C705 working with my Raspberry Pi 4 - 8 GB running BAP, so Jason suggested that I install Linux73 on top of my existing BAP installation. I did that, and Kelly suggested that follow this with a manual install of the VARA Winlink components, which I did. Jason:?/g/KM4ACK-Pi/topic/104659521 Kelly:?/g/KM4ACK-Pi/topic/102983790 All of the programs seemed to install correctly without any obvious errors and I went through and configured each program per the two videos that Jason has on setting up the IC ¨C 705. ICOM 705 Build a Pi Setup Getting Started with KM4ACK Build a Pi However, I continue to get errors when using Pat Winlink. Even though rig control through flrig is working with other programs, within the pat mailbox window in Chromium I get errors saying:? ¡°QSY failed: unable to get rig frequency dial tcp 127.0.0.1:4532: connect: connection refused¡± And when I run?direwolf -p?from a terminal window I get more errors which seem to indicate a problem with rig control: ¡°rig_open?/home/rob/.config//home/rob/hamlibSettings does not exist¡± For reference, here are my serial and capture devices in terminal: And here is the contents of my /etc/ax25/axports file: Finally, for reference, the IC-705 does not show up as a Capture or Playback device in fldigi: I feel a bit like the old expression, ¡°close, but no cigar¡±. Can anyone suggest what I might be doing wrong here Thanks in advance, Rob KK6JNI ¡ª¡ª
Robert C Johnson
eye to eye
KK6JNI
rcj@...
+1 (510) 502-9483
|
Kelly wrote:
if you set the line in direwolf config to?PTT RIG 4 localhost:12345 ======================== No, same errors. ?I commented out: # PTT RIG 2 localhost:4235 ? ? ? ? ? ?(this was from Jason¡¯s IC-705 videos¡) ¡and added this line below it: PTT RIG 4 ?localhost:12345 Then when I open flrig, it connects to the radio and Conky reports ¡°FLRIG ACTIVE¡± Then when I open Direwolf from the Hamradio menu, it says: ? ? ? Audio device for both receive and transmit: plughw:3,0 (channel 0) ? ? ? Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, A+, 44100sample rate / 3 [ in green text ] ? ? ? Hamlib determined CAT control serial port rate of 0. ? ? ? Ready to accept AGW client application 0 on port 8000 ¡ ? ? ? Ready to accept KISS TCP client application on port 8001 ¡ Conky reports DIREWOLF ACTIVE But then, when I open the pat mailbox in Chromium, I get the same QSY failure message as before: ? ? ? Unable to get frequency from rig my-rig: dial tcp 127.0.0.1:4532 connect connection refused. So I opened Pat Menu to try to test VARA HF. When I clicked ¡°Stop Modems¡± and then ¡°Start VARA Modem (BETA)¡±, I got an error, ¡°It looks like direwolf is running. Stop all modems and try again¡± : So I want back to the direwolf terminal window and did CONTROL-C to stop direwolf. Then when I clicked ¡°Start VARA Modem (BETA)¡±, it started up pat mailbox in chromium, but with the same QSY error when I tried to connect with packet: ? ? ? Unable to get frequency from rig my-rig: dial tcp 127.0.0.1:4532 connect connection refused. Interestingly, the flrig window showed that it was still connected to the radio at the correct frequency, but pat mailbox was not able to set the new frequency in flrig. It seems the problem is between pat winlink and flrig ¡ª they aren¡¯t playing well with each other. Why did you have me change direwolf.conf ?to?PTT RIG 4 ?localhost:12345 from Jason¡¯s PTT RIG 2 localhost:4235 ? It didn¡¯t seem to change anything¡ Rob ? KK6JNI |
Kelly,
OK, I opened flrig and then ran this command: ? ?$?rigctld -m4 ¡ and terminal returned this error: ? ? ? rigctld: symbol lookup error: rigctld: undefined symbol: network_multicast_server So I went ahead anyway and opened pat and tried the packet modem, the VARA FM modem and the VARA modem, and they all failed with the same QSY / rig control errors as before: ? I¡¯m wondering if there is something fundamental wrong with my Linux73 installation that came about because I installed over the top of a BAP installation of the same apps? I keep getting these same AX25 / rig control errors¡ On a whim, I tried running the Linux73 Update-Tool and it said that VARIM, XASTIR and PACKETSEARCH all NEEDS_UPDATE, so I ran the updater, rebooted and tried pat packet modem again, but the same errors appear. I appreciate the time you¡¯re spending helping me troubleshoot this, what do you think is wrong ? Thanks, Rob ? KK6JNI |
I did a find *hamlib* to see what files are present, and the list is below. Does this tell you enough to tell me how to proceed to clean up the unnecessary / conflicting files ?
( ?alias rfindf="sudo find / -name "$1"" ) rob@pi41:~ $ rfindf *hamlib* [sudo] password for rob:? /home/rob/Downloads/fldigi-4.1.27/src/include/hamlib.h /home/rob/Downloads/fldigi-4.1.27/src/rigcontrol/hamlib.cxx /home/rob/Downloads/fldigi-4.1.27/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/fldigi-4.1.25/src/include/hamlib.h /home/rob/.bap-source-files/fldigi-4.1.25/src/rigcontrol/.deps/fldigi-hamlib.Po /home/rob/.bap-source-files/fldigi-4.1.25/src/rigcontrol/hamlib.cxx /home/rob/.bap-source-files/fldigi-4.1.25/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/hamlib-4.4 /home/rob/.bap-source-files/hamlib-4.4/hamlib.m4 /home/rob/.bap-source-files/hamlib-4.4/bindings/.deps/hamlibpy_wrap.Plo /home/rob/.bap-source-files/hamlib-4.4/bindings/.deps/Hamliblua_la-hamliblua_wrap.Plo /home/rob/.bap-source-files/hamlib-4.4/bindings/.deps/hamlibtcl_wrap.Plo /home/rob/.bap-source-files/hamlib-4.4/bindings/hamlib.swg /home/rob/.bap-source-files/hamlib-4.4/include/hamlib /home/rob/.bap-source-files/hamlib-4.4/hamlib.pc /home/rob/.bap-source-files/hamlib-4.4/src/hamlibdatetime.h /home/rob/.bap-source-files/hamlib-4.4/src/hamlibdatetime.h.in /home/rob/.bap-source-files/hamlib-4.4/hamlib.pc.in /home/rob/.bap-source-files/hamlib-4.4/doc/hamlib.png /home/rob/.bap-source-files/hamlib-4.4/doc/hamlib.css /home/rob/.bap-source-files/hamlib-4.4/doc/hamlib.cfg /home/rob/.bap-source-files/hamlib-4.4/doc/man7/hamlib-primer.7 /home/rob/.bap-source-files/hamlib-4.4/doc/man7/hamlib.7 /home/rob/.bap-source-files/hamlib-4.4/doc/man7/hamlib-utilities.7 /home/rob/.bap-source-files/hamlib-4.4/doc/hamlib.cfg.in /home/rob/.bap-source-files/hamlib-4.4/android/hamlib-compile /home/rob/.bap-source-files/fldigi-4.1.26/src/include/hamlib.h /home/rob/.bap-source-files/fldigi-4.1.26/src/rigcontrol/.deps/fldigi-hamlib.Po /home/rob/.bap-source-files/fldigi-4.1.26/src/rigcontrol/hamlib.cxx /home/rob/.bap-source-files/fldigi-4.1.26/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/fldigi-4.2.03/src/include/hamlib.h /home/rob/.bap-source-files/fldigi-4.2.03/src/rigcontrol/.deps/fldigi-hamlib.Po /home/rob/.bap-source-files/fldigi-4.2.03/src/rigcontrol/hamlib.cxx /home/rob/.bap-source-files/fldigi-4.2.03/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/fldigi-4.2.00/src/include/hamlib.h /home/rob/.bap-source-files/fldigi-4.2.00/src/rigcontrol/.deps/fldigi-hamlib.Po /home/rob/.bap-source-files/fldigi-4.2.00/src/rigcontrol/hamlib.cxx /home/rob/.bap-source-files/fldigi-4.2.00/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/direwolf/cmake/modules/Findhamlib.cmake /home/rob/.bap-source-files/fldigi-4.2.04/src/include/hamlib.h /home/rob/.bap-source-files/fldigi-4.2.04/src/rigcontrol/.deps/fldigi-hamlib.Po /home/rob/.bap-source-files/fldigi-4.2.04/src/rigcontrol/hamlib.cxx /home/rob/.bap-source-files/fldigi-4.2.04/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/fldigi-4.1.23/src/include/hamlib.h /home/rob/.bap-source-files/fldigi-4.1.23/src/rigcontrol/.deps/fldigi-hamlib.Po /home/rob/.bap-source-files/fldigi-4.1.23/src/rigcontrol/hamlib.cxx /home/rob/.bap-source-files/fldigi-4.1.23/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/fldigi-4.1.27/src/include/hamlib.h /home/rob/.bap-source-files/fldigi-4.1.27/src/rigcontrol/.deps/fldigi-hamlib.Po /home/rob/.bap-source-files/fldigi-4.1.27/src/rigcontrol/hamlib.cxx /home/rob/.bap-source-files/fldigi-4.1.27/scripts/mkhamlibstatic.sh /home/rob/.bap-source-files/js8call/CMake/Modules/Findhamlib.cmake /usr/local/lib/pkgconfig/hamlib.pc /usr/local/lib/libhamlib.so.4 /usr/local/lib/libhamlib++.so.4.0.4 /usr/local/lib/libhamlib++.so.4.0.5 /usr/local/lib/libhamlib.so.4.0.5 /usr/local/lib/libhamlib++.la /usr/local/lib/libhamlib.so /usr/local/lib/libhamlib++.a /usr/local/lib/libhamlib++.so.4 /usr/local/lib/libhamlib.la /usr/local/lib/libhamlib.a /usr/local/lib/libhamlib.so.4.0.4 /usr/local/lib/libhamlib++.so /usr/local/include/hamlib /usr/local/share/aclocal/hamlib.m4 /usr/local/share/man/man7/hamlib-primer.7 /usr/local/share/man/man7/hamlib.7 /usr/local/share/man/man7/hamlib-utilities.7 /usr/local/share/doc/hamlib /var/cache/apt/archives/libhamlib4_4.0-7_armhf.deb /var/cache/apt/archives/libhamlib-dev_4.0-7_armhf.deb /var/cache/apt/archives/python3-hamlib_4.0-7_armhf.deb rob@pi41:~ $? |
Maybe this is a more precise search. Can you suggest how I could resolve the conflict ?
rob@pi41:~ $ rfindf *libhamlib*
[sudo] password for rob:
/usr/local/lib/libhamlib.so.4
/usr/local/lib/libhamlib++.so.4.0.4
/usr/local/lib/libhamlib++.so.4.0.5
/usr/local/lib/libhamlib.so.4.0.5
/usr/local/lib/libhamlib++.la
/usr/local/lib/libhamlib.so
/usr/local/lib/libhamlib++.a
/usr/local/lib/libhamlib++.so.4
/usr/local/lib/libhamlib.la
/usr/local/lib/libhamlib.a
/usr/local/lib/libhamlib.so.4.0.4
/usr/local/lib/libhamlib++.so
/var/cache/apt/archives/libhamlib4_4.0-7_armhf.deb
/var/cache/apt/archives/libhamlib-dev_4.0-7_armhf.deb
rob@pi41:~ $ |
OK Kelly, I ran the three commands that you suggested.
(I ran $ sudo apt-get remove libhamlib* without the -y because I wanted to see the removal list.) This command suggested that I follow-up with running?sudo apt autoremove , which I did. The console results are shown below.?How do you recommend that I install a fresh hamlib ? And before I reinstall, do I need to run apt-mark unhold for the packages I previously held? Thanks again, Rob ? KK6JNI ====== rob@pi41:~ $ sudo apt-mark hold libhamlib* [sudo] password for rob:? libhamlib-utils set on hold. libhamlib4 set on hold. libhamlib++-dev set on hold. libhamlib++4 set on hold. libhamlib-dev set on hold. libhamlib-doc set on hold. libhamlib-perl set on hold. libhamlib2-perl set on hold. libhamlib2-tcl set on hold. ====== rob@pi41:~ $ ?sudo apt-mark hold python3-hamlib python3-hamlib set on hold. ====== rob@pi41:~ $ sudo apt-get remove libhamlib* Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libhamlib2-tcl' for glob 'libhamlib*' Note, selecting 'libhamlib-perl' for glob 'libhamlib*' Note, selecting 'libhamlib++-dev' for glob 'libhamlib*' Note, selecting 'libhamlib4' for glob 'libhamlib*' Note, selecting 'libhamlib++4' for glob 'libhamlib*' Note, selecting 'libhamlib-utils' for glob 'libhamlib*' Note, selecting 'libhamlib-dev' for glob 'libhamlib*' Note, selecting 'libhamlib-doc' for glob 'libhamlib*' Note, selecting 'libhamlib2-perl' for glob 'libhamlib*' Package 'libhamlib++-dev' is not installed, so not removed Package 'libhamlib++4' is not installed, so not removed Package 'libhamlib-dev' is not installed, so not removed Package 'libhamlib-doc' is not installed, so not removed Package 'libhamlib-perl' is not installed, so not removed Package 'libhamlib-utils' is not installed, so not removed Package 'libhamlib2-perl' is not installed, so not removed Package 'libhamlib2-tcl' is not installed, so not removed Package 'libhamlib4' is not installed, so not removed The following packages were automatically installed and are no longer required: ?libfltk1.1 librtaudio6 libvpx-dev raspinfo Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ====== rob@pi41:~ $ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: ?libfltk1.1 librtaudio6 libvpx-dev raspinfo 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. After this operation, 2,887 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 282982 files and directories currently installed.) Removing libfltk1.1:armhf (1.1.10-29) ... Removing librtaudio6:armhf (5.1.0~ds1-1) ... Removing libvpx-dev:armhf (1.9.0-1+deb11u2) ... Removing raspinfo (20230123-1) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u7) ... rob@pi41:~ $? ====== rob@pi41:~ $ sudo apt-mark showhold [sudo] password for rob:?
libhamlib++-dev
libhamlib++4
libhamlib-dev
libhamlib-doc
libhamlib-perl
libhamlib-utils
libhamlib2-perl
libhamlib2-tcl
libhamlib4
python3-hamlib |