TCP interface configuration error

43 views
Skip to first unread message

jpspoo...@gmail.com

unread,
Jun 15, 2024, 10:57:40 AMJun 15
to Aprx software
I am trying to add an additional interface to a well-working Igate/digipeater configuraion.
I am trying to transport packets received by an sdr on computer A to computer B using the aprx TCP KISS interface. Aprx runs on computer B. I get the following debug output when run from the command line (I have highlighted the errors).
aprx -d -f /etc/aprx.conf
interface_store() aif->callsign = 'APRSIS'
/etc/aprx.conf:1: MYCALL = 'NX2I-11' ''
/etc/aprx.conf:3: MYLOC LAT 28.87817 degrees  LON -82.01017 degrees
/etc/aprx.conf:6: INFO: PASSCODE = '4083' ''
/etc/aprx.conf:7: INFO: SERVER = 'noam.aprs2.net':'14580'
/etc/aprx.conf:11: INFO: PIDFILE = '/var/run/aprx.pid' ''
/etc/aprx.conf:12: INFO: RFLOG = '/var/log/aprx/aprx-rf.log' ''
/etc/aprx.conf:13: INFO: APRXLOG = '/var/log/aprx/aprx.log' ''
.. new style tcp!:  '192.168.1.153' '8001' 'KISS'..
 .. param='kiss'
openpty() rc=0 name='/dev/pts/5' master=4 slave=5
netax25_openpty() error exit.
 .. store tty subinterfaces
 .. store interface[0] callsign='NX2I-11'
interface_store() aif->callsign = 'NX2I-11'
/etc/aprx.conf:22 ERROR: Same callsign (NX2I-11) exists already on another interface.
Beacon cycle size: 30.00
BEACON parameters: via 'WIDE2-1' symbol 'I#' comment 'Igate/Fill-in Digi in The Villages, Fl'
/etc/aprx.conf:29 Note: Lacking 'interface' keyword for this beacon definition. Beaconing to all Tx capable interfaces + APRSIS (mode depending)
RF+NET BEACON FOR ***>APRX29,WIDE2-1'  '!2852.69NI08200.61W#Igate/Fill-in Digi in The Villages, Fl'
<beacon> set 1 defined with 1 entries
Beacon cycle size: 5.00
BEACON parameters: via 'WIDE2-1' srccall 'NX2I-11' timeout 20 exec file '/usr/local/bin/noaacap.py'
/etc/aprx.conf:38 Note: Lacking 'interface' keyword for this beacon definition. Beaconing to all Tx capable interfaces + APRSIS (mode depending)
RF+NET BEACON FOR NX2I-11>APRX29,WIDE2-1'  '(null)'
<beacon> set 2 defined with 1 entries
/etc/aprx.conf:47 <source> source = '$mycall'
 viscous-delay = 0
/etc/aprx.conf:52 <source> source = 'APRSIS'
via-path 'WIDE2-1'
msg-path 'WIDE2-1'
 viscous-delay = 5
Seen configuration errors. Aborting!

The configuration file is (with the additional interface highlighted):
cat /etc/aprx.conf
mycall  NX2I-11

myloc lat 2852.69N lon 08200.61W

<aprsis>
   passcode 4083
   server   noam.aprs2.net
</aprsis>

<logging>
   pidfile /var/run/aprx.pid
   rflog /var/log/aprx/aprx-rf.log
   aprxlog /var/log/aprx/aprx.log
</logging>

<interface>
   tcp-device 192.168.1.153 8001 KISS
   tx-ok true
</interface>  


<interface>
   ax25-device   $mycall
   tx-ok true
</interface>

<beacon>
beaconmode both
cycle-size  30m
beacon via WIDE2-1 \
symbol "I#" \
$myloc \
comment "Igate/Fill-in Digi in The Villages, Fl"  
</beacon>

<beacon>
beaconmode both
cycle-size 5m
beacon via WIDE2-1 \
srccall NX2I-11 \
timeout 20 \
exec /usr/local/bin/noaacap.py
</beacon>

<digipeater>
  transmitter      $mycall
  <source>
    source         $mycall
    relay-type     digipeated
    viscous-delay  0
  </source>
  <source>                # APRSIS source adds a TX-IGATE behaviour
    source        APRSIS
    relay-type    third-party  # Must define this for APRSIS source!
    via-path WIDE2-1
    msg-path WIDE2-1
    viscous-delay  5
  </source>
</digipeater>

What is wrong with the new config file?
73, NX2I, John

M M

unread,
Jun 29, 2024, 8:48:36 PMJun 29
to Aprx software
I think callsign should be unique per interface.
Try to assing:   callsign NX2I-12 on your new added interface
<interface>
   tcp-device 192.168.1.153 8001 KISS
Callsign   NX2I-12
   tx-ok true
</interface> 
 

if this do not work, modify the one written in the line 22 of your config file
Reply all
Reply to author
Forward
0 new messages