Linux WSJT-X and fldigi configuration with hamlib and local PC IP address problem

359 views
Skip to first unread message

khei...@sbcglobal.net

unread,
Jan 25, 2021, 11:43:22 AM1/25/21
to Hermes-Lite
Now that I have SparkSDR running both on Windows and Linux, I am having issues with CAT control under Linux.

Using Spark in Windows, in WSJT-X, I have set the rig to Hamlib NET rigctl and network server to the local IP address of my PC using port 51111. In Windows, this is 169.254.88.27 :51111. I have the same for fldigi.  Both apps interace with  SparkSDR well.

In Linux, I am using 169.254.114.43:51111.  This does not work and WSJT-X gives an error that can't communicate with the HL2. 

I have the latest version of hamlib in Linux Mint 20.  I am also using hamlib in Mint to communicate with Ten-Tec and Icom gear without issue.

The following is the network configuration for both Linux and Windows in this PC.

Linux Mint 20 IP Configuration:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether a0:b3:cc:fa:18:92 brd ff:ff:ff:ff:ff:ff
    inet 169.254.114.43/16 brd 169.254.255.255 scope link noprefixroute eno1
       valid_lft forever preferred_lft forever
    inet6 fe80::2292:4df2:8bdb:2178/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlx9cefd5fcfd31: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 9c:ef:d5:fc:fd:31 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.141/24 brd 192.168.0.255 scope global dynamic noprefixroute wlx9cefd5fcfd31
       valid_lft 4568sec preferred_lft 4568sec
    inet6 fe80::e0ad:9a8f:b4da:b3d7/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Windows IP Configuration:

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::e4dc:f9ca:693e:581b%12
   Autoconfiguration IPv4 Address. . : 169.254.88.27
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::e8d9:ac95:a85d:dc3b%23
   IPv4 Address. . . . . . . . . . . : 192.168.0.155
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.0.1

Ethernet adapter Bluetooth Network Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Any ideas on this?

Thank you,

Karl - W5QJ

Florian Thienel

unread,
Jan 25, 2021, 1:57:02 PM1/25/21
to Hermes-Lite
Hi Karl,

can you please start SparkSDR and then execute the command "netcat -lntp" in a terminal and post the output here?

73! Florian/DL3NEY

Florian Thienel

unread,
Jan 25, 2021, 5:11:14 PM1/25/21
to Hermes-Lite
Hi Karl,

my bad: it is "netstat -lntp", not netcat, sorry for that. The netstat command should show all listening TCP servers with a numerical representation of the IP address they are listening on, the port number and the process name. If SparkSDR is listening for incoming connections, it should be in this list.

What you can also try is to connect to 127.0.0.1:51111, if both WSJT-X and SparkSDR are running on the same machine this would most likely work.

73! Florian

khei...@sbcglobal.net

unread,
Jan 25, 2021, 5:46:45 PM1/25/21
to Hermes-Lite
Thank you Florian,

Here is the output:

arl@HP-Compaq-6200-Pro-1 ~ $ netstat -lntp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:17500           0.0.0.0:*               LISTEN      2442/dropbox        
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:4575          0.0.0.0:*               LISTEN      10222/python3       
tcp        0      0 127.0.0.1:17600         0.0.0.0:*               LISTEN      2442/dropbox        
tcp        0      0 127.0.0.1:17603         0.0.0.0:*               LISTEN      2442/dropbox        
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -                   
tcp        0      0 192.168.0.141:53        0.0.0.0:*               LISTEN      -                   
tcp        0      0 169.254.114.43:53       0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                   
tcp6       0      0 ::1:953                 :::*                    LISTEN      -                   
tcp6       0      0 :::17500                :::*                    LISTEN      2442/dropbox        
tcp6       0      0 :::445                  :::*                    LISTEN      -                   
tcp6       0      0 :::139                  :::*                    LISTEN      -                   
tcp6       0      0 ::1:53                  :::*                    LISTEN      -                   
tcp6       0      0 ::1:631                 :::*                    LISTEN      -                   
karl@HP-Compaq-6200-Pro-1 ~ $


And 127.0.0.1:51111 works fine Florian.


And now to finish configuration of WSJT-X and fldigi.

Thanks for taking the time to help me.

Karl - W5QJ
Reply all
Reply to author
Forward
0 new messages